I created a test case using selenium-RC with JAVA using Eclipse IDE and selenium jars.
The project is finished and running fine.
My question:
What is next? do i have to run the test case from Eclipse every time? or there are next steps?
I want to run this test on a scheduled manner every hour. I could do that if i could run it from a command prompt. Is there a way better that command prompt or it is enough?!
Use Jenkins with testng set after test to close the browser
@AfterSuite(alwaysRun = true)
public void closeBrowser(WebDriver driver) {
if (driver != null) {
driver.close();
driver.quit();
driver = null;
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.