Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component displayName="Test Suite Manager"
- hint="Controls high-level suite behaviors.
- Ideally would be used in BeforeTestSuite/AfterTestSuite methods"
- output="false" {
- public void function startClient(browserUrl,browserStartCommand){
- application.selenium = new CFSelenium.selenium(browserUrl=browserURL,browserStartCommand=browserStartCommand);
- application.selenium.start();
- application.selenium.windowMaximize();
- application.selenium.setTimeout(30000);
- writeLog(application=true,text="-------> Selenium client started()");
- }
- public void function stopClient(){
- application.selenium.stop();
- writeLog(application=true,text="-------> Selenium client stopped()");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement