//[TestMethod] public void ShortSalesAgentThai() { Console.WriteLine(string.Format("Interessent {0}", SalesAgentThai.Name)); PropertiesCollection.OpenBrowser(SalesAgentThai.Url); SalesAgentThai page = new SalesAgentThai(); if (page.InteressentMandatoryFill()) { //foreach (TestResultInPage result in page.TestResultInPages) Console.WriteLine(result.Report()); } PropertiesCollection.driver.Quit(); }
public void ApplicantMandatoryFillSalesAgentThai() { Console.WriteLine(string.Format("{0} New Applicant Process Test", SalesAgentThai.Name)); PropertiesCollection.OpenBrowser(ApplicationForm.Url(SalesAgentThai.JobAlias)); SalesAgentThai page = new SalesAgentThai(); if (page.ApplicantMandatoryFill()) { } ; //foreach (TestResultInPage result in page.TestResultInPages) Console.WriteLine(result.Report()); PropertiesCollection.driver.Quit(); }