Ejemplo n.º 1
0
 public void GivenIHaveEnterTheDetails(Table table)
 {
     newComputer = table.CreateInstance <NewComputer>();
     addNewComputer.setComputerName(newComputer.Name);
     addNewComputer.setIntroducredDate(newComputer.IntroducredDate);
     addNewComputer.setDiscontinuedDate(newComputer.DiscontinuedDate);
     addNewComputer.setCompany(newComputer.Company);
 }
Ejemplo n.º 2
0
 public void GivenIAddDetailsOfComputer(Table table)
 {
     newComputer = new NewComputer();
     newComputer = table.CreateInstance <NewComputer>();
     addNewComputer.setComputerName(newComputer.Name);
     addNewComputer.setIntroducredDate(newComputer.IntroducredDate);
     addNewComputer.setDiscontinuedDate(newComputer.DiscontinuedDate);
     addNewComputer.setCompany(newComputer.Company);
 }
Ejemplo n.º 3
0
 public static void AddComputer(HomePage homepage, AddNewComputer addNewComputer, string name)
 {
     homepage.ClickAddComputer();
     addNewComputer.setComputerName(name);
     addNewComputer.setIntroducredDate("1902-12-12");
     addNewComputer.setDiscontinuedDate("1902-12-12");
     addNewComputer.setCompany("Amazon");
     addNewComputer.CreateComputer();
 }