public static void qaBuyer(string username, string password) { // Navigate to web page SeleniumSetMethods.Navigate("https://qa-buyer.res.net/login"); // Login Pages SeleniumSetMethods.Wait(ElementType.Id, "UsernameOrEmail"); SeleniumSetMethods.Clear(ElementType.Id, "UsernameOrEmail"); SeleniumSetMethods.EnterText(ElementType.Id, "UsernameOrEmail", username); SeleniumSetMethods.Clear(ElementType.Name, "PasswordLogin"); SeleniumSetMethods.EnterText(ElementType.Name, "PasswordLogin", password); SeleniumSetMethods.Click(ElementType.Id, "submitForm"); }
public static void uatValPortal(string username, string password) { // Navigate to URL SeleniumSetMethods.Navigate("http://uat-valuation.res.net/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "usernameEmail"); SeleniumSetMethods.Clear(ElementType.Id, "usernameEmail"); SeleniumSetMethods.EnterText(ElementType.Id, "usernameEmail", username); SeleniumSetMethods.Clear(ElementType.Id, "password"); SeleniumSetMethods.EnterText(ElementType.Id, "password", password); SeleniumSetMethods.Click(ElementType.Id, "btnSubmitLogin"); }
public static void uatREO(string username, string password) { // Navigate to URL SeleniumSetMethods.Navigate("https://uat-reo2.res.net/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "amLoginId"); SeleniumSetMethods.Clear(ElementType.Id, "amLoginId"); SeleniumSetMethods.EnterText(ElementType.Id, "amLoginId", username); SeleniumSetMethods.Clear(ElementType.Name, "amIdentity"); SeleniumSetMethods.EnterText(ElementType.Name, "amIdentity", password); SeleniumSetMethods.Click(ElementType.Name, "btnLogin"); }
public static void qaCed(string username, string password) { // Navigate to web page SeleniumSetMethods.Navigate("http://192.168.1.112:8080/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "User"); SeleniumSetMethods.Clear(ElementType.Id, "User"); SeleniumSetMethods.EnterText(ElementType.Id, "User", username); SeleniumSetMethods.Clear(ElementType.Name, "Pass"); SeleniumSetMethods.EnterText(ElementType.Name, "Pass", password); SeleniumSetMethods.Click(ElementType.XPath, "//input[@value='Log in']"); }
public static void qaLossMitt(string username, string password) { // Navigate to web page SeleniumSetMethods.Navigate("https://qa-shortsale.res.net/Authentication/LogOn?ReturnUrl=%2fConnections"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "Username"); SeleniumSetMethods.Clear(ElementType.Id, "Username"); SeleniumSetMethods.EnterText(ElementType.Id, "Username", username); SeleniumSetMethods.Clear(ElementType.Name, "UserPassword"); SeleniumSetMethods.EnterText(ElementType.Name, "UserPassword", password); SeleniumSetMethods.Click(ElementType.Name, "btnLogin"); }
public static void qaAgent(string username, string password) { // Navigate to URL SeleniumSetMethods.Navigate("https://qa-agent.res.net/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "username"); SeleniumSetMethods.Clear(ElementType.Id, "username"); SeleniumSetMethods.EnterText(ElementType.Id, "username", username); SeleniumSetMethods.Clear(ElementType.Id, "password"); SeleniumSetMethods.EnterText(ElementType.Id, "password", password); SeleniumSetMethods.Click(ElementType.Name, "btnLogin"); }
public static void uatPropertyCure(string username, string password) { // Navigate to web page SeleniumSetMethods.Navigate("https://uat-propertycure.res.net/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "User"); SeleniumSetMethods.Clear(ElementType.Id, "User"); SeleniumSetMethods.EnterText(ElementType.Id, "User", username); SeleniumSetMethods.Clear(ElementType.Name, "Pass"); SeleniumSetMethods.EnterText(ElementType.Name, "Pass", password); SeleniumSetMethods.Click(ElementType.XPath, "//input[@value='Log in']"); }
public static void uatVendor(string username, string password) { // Navigate to web page SeleniumSetMethods.Navigate("https://uat-vendor.res.net/"); // Login Page SeleniumSetMethods.Wait(ElementType.Id, "Username"); SeleniumSetMethods.Clear(ElementType.Id, "Username"); SeleniumSetMethods.EnterText(ElementType.Id, "Username", username); SeleniumSetMethods.Clear(ElementType.Name, "UserPassword"); SeleniumSetMethods.EnterText(ElementType.Name, "UserPassword", password); SeleniumSetMethods.Click(ElementType.Id, "btnLogin"); }
public static void Search() { // Navigate to web page SeleniumSetMethods.Navigate("https://qa-buyer.res.net"); SeleniumSetMethods.Wait(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Click(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Wait(ElementType.Id, "location"); SeleniumSetMethods.EnterText(ElementType.Id, "location", "34747"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumWindowMethods.ScreenShot("SoPurdy"); SeleniumSetMethods.Wait(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Click(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Wait(ElementType.Id, "logoBP"); SeleniumSetMethods.Click(ElementType.Id, "logoBP"); SeleniumSetMethods.Wait(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Click(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Wait(ElementType.Id, "location"); SeleniumSetMethods.EnterText(ElementType.Id, "location", "Springfield"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Wait(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Click(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Wait(ElementType.Id, "logoBP"); SeleniumSetMethods.Click(ElementType.Id, "logoBP"); SeleniumSetMethods.Wait(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Click(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Wait(ElementType.Id, "location"); SeleniumSetMethods.EnterText(ElementType.Id, "location", "34747, Reunion, FL"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Wait(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Click(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Wait(ElementType.Id, "logoBP"); SeleniumSetMethods.Click(ElementType.Id, "logoBP"); SeleniumSetMethods.Wait(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Click(ElementType.Id, "propertiesTabLink"); SeleniumSetMethods.Wait(ElementType.Id, "location"); SeleniumSetMethods.EnterText(ElementType.Id, "location", "30004"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertiesSubmit > img"); SeleniumSetMethods.Wait(ElementType.Id, "withinRadius"); SeleniumSetMethods.EnterText(ElementType.Id, "withinRadius", "50 Miles"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "minPrice"); SeleniumSetMethods.EnterText(ElementType.Id, "minPrice", "$100K"); SeleniumSetMethods.Wait(ElementType.Id, "maxPrice"); SeleniumSetMethods.EnterText(ElementType.Id, "maxPrice", "$250K"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "minBeds"); SeleniumSetMethods.EnterText(ElementType.Id, "minBeds", "3+"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "minBaths"); SeleniumSetMethods.EnterText(ElementType.Id, "minBaths", "3+"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Click(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Wait(ElementType.Id, "MLSNumber"); SeleniumSetMethods.EnterText(ElementType.Id, "MLSNumber", "LO7793433"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Click(ElementType.Id, "clearPropertiesSearch"); SeleniumSetMethods.Wait(ElementType.Id, "location"); SeleniumSetMethods.EnterText(ElementType.Id, "location", "90210"); SeleniumSetMethods.Wait(ElementType.Id, "withinRadius"); SeleniumSetMethods.EnterText(ElementType.Id, "withinRadius", "50 Miles"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeNone"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeNone"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk1"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk1"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk1"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk2"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk2"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk2"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk7"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk7"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk7"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk9"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk9"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk9"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk13"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk13"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk13"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk5"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertytypeChk5"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk5"); SeleniumSetMethods.Click(ElementType.Id, "propertytypeChk10"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyTypeAll"); SeleniumSetMethods.Click(ElementType.Id, "propertyTypeAll"); SeleniumSetMethods.Wait(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Wait(ElementType.Id, "propertyListingsNone"); SeleniumSetMethods.Click(ElementType.Id, "propertyListingsNone"); SeleniumSetMethods.Click(ElementType.Id, "listingTypeChk1"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Wait(ElementType.Id, "listingTypeChk1"); SeleniumSetMethods.Click(ElementType.Id, "listingTypeChk1"); SeleniumSetMethods.Click(ElementType.Id, "listingTypeChk3"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Click(ElementType.Id, "propertyListingLink"); SeleniumSetMethods.Wait(ElementType.Id, "listingTypeChk3"); SeleniumSetMethods.Click(ElementType.Id, "listingTypeChk3"); SeleniumSetMethods.Click(ElementType.Id, "listingTypeChk2"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyListingsAll"); SeleniumSetMethods.Click(ElementType.Id, "propertyListingsAll"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusNone"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusNone"); SeleniumSetMethods.Wait(ElementType.Id, "SearchPrelisted"); SeleniumSetMethods.Click(ElementType.Id, "SearchPrelisted"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Wait(ElementType.Id, "SearchPrelisted"); SeleniumSetMethods.Click(ElementType.Id, "SearchPrelisted"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusChk2"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusChk2"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusChk2"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusChk3"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusLnk"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusChk3"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusChk3"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusChk6"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "propertyStatusAll"); SeleniumSetMethods.Click(ElementType.Id, "propertyStatusAll"); SeleniumSetMethods.Wait(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Click(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Wait(ElementType.Id, "minSqFt"); SeleniumSetMethods.EnterText(ElementType.Id, "minSqFt", "1000+"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Click(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Wait(ElementType.Id, "minLotSize"); SeleniumSetMethods.EnterText(ElementType.Id, "minLotSize", "4000+"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Wait(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Click(ElementType.Id, "additionalInfoLnk"); SeleniumSetMethods.Wait(ElementType.Id, "yearBuilt"); SeleniumSetMethods.EnterText(ElementType.Id, "yearBuilt", "1960"); SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); SeleniumSetMethods.Click(ElementType.CssSelector, "#propertySearchOptionContainer > form:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(9) > div:nth-child(2) > a:nth-child(1)"); }