public void CRMNewTenancyRequestTestAWScenario1() { this.driver = DriverFactory.getIEDriver(); //this.driver = new NavigateToURLWithAuth().navigateToURLWithAuth(this.driver,"http://srcrm51-te/MSCRMRTA08/main.aspx","florezj", "Dermnbr1"); ScriptRunner runner = new ScriptRunner(new ClassConstructor(createPage)); runner.OnException += onException; //runner.RunAllScripts("C:\\RTA Automation Solution\\RTA CRM Automation\\Scripts"); runner.RunAllScripts("\\\\bn-s17\\Users$\\mateosp\\My Documents\\New folder\\RTA Automation Solution\\RTA CRM Automation\\Scripts"); }
public void CRMNewTenancyRequestTestAW() { string startupPath = System.IO.Directory.GetParent(System.IO.Directory.GetCurrentDirectory()).Parent.FullName+"\\Scripts"; this.driver = DriverFactory.getIEDriver(); //this.driver = new NavigateToURLWithAuth().navigateToURLWithAuth(this.driver,"http://srcrm51-te/MSCRMRTA08/main.aspx","florezj", "Dermnbr1"); ScriptRunner runner = new ScriptRunner(new ClassConstructor(createPage)); runner.OnException += onException; runner.RunAllScripts(startupPath);//"C:\\RTA Automation Solution\\RTA CRM Automation\\Scripts"); }