@Override @BeforeClass(alwaysRun = true) public void setup() throws Exception { super.setup(); readProperties(); logger.info("Running Advance Search CRM tests for Staging."); }
/** * Class includes: Tests from TestLink in Area: Advanced Search Tests * * <ul> * <li>Test searches using various Properties, content, Folder * </ul> */ @Override @BeforeClass(alwaysRun = true) public void setup() throws Exception { super.setup(); testName = this.getClass().getSimpleName(); testUser = testName + "@" + DOMAIN_FREE; logger.info("Starting Tests: " + testName); }
@Override @BeforeClass(groups = "setup", timeOut = 60000) public void setup() throws Exception { super.setup(); removeMappedDrive = Runtime.getRuntime().exec("cmd /c start /WAIT net use * /d /y"); removeMappedDrive.waitFor(); Process process = Runtime.getRuntime().exec("net stop webclient"); process.waitFor(); process = Runtime.getRuntime().exec("net start webclient"); process.waitFor(); }