예제 #1
0
파일: New4.java 프로젝트: TKosmacki/CS1632
 @After
 public void tearDown() throws Exception {
   driver.quit();
   String verificationErrorString = verificationErrors.toString();
   if (!"".equals(verificationErrorString)) {
     fail(verificationErrorString);
   }
 }
예제 #2
0
 @Before
 public void setUp() throws Exception {
   FirefoxBinary binary = new FirefoxBinary(new File(FIREFOX_LOCATION));
   FirefoxProfile profile = new FirefoxProfile();
   driver = new FirefoxDriver(binary, profile);
   RegisterCustomerPage registerCustomerPage = new RegisterCustomerPage(driver);
   this.customerId =
       registerCustomerPage
           .registerCustomer(FIRSTNAME, LASTNAME, ADDRESS, ZIP, CITY, EMAIL, PASSWORD)
           .getCustomerId();
   driver.quit();
   driver = new FirefoxDriver(binary, profile);
 }
 @After
 public void tearDown() throws Exception {
   driver.quit();
 }
예제 #4
0
 @After
 public void end() {
   driver.quit();
 }
예제 #5
0
 @After
 public void tearDown() throws Exception {
   driver.quit();
   BlaHelper.deleteCustomer(customerId);
 }