Beispiel #1
0
 public static void BPOPictures()
 {
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B1.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(9) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B2.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(10) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B3.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(13) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C1.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(14) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C2.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(15) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C3.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(16) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C4.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(17) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C5.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(38) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\H1.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(39) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\H2.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(40) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B3.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(42) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\H4.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(43) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\H5.jpg");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabPropInfoPat2 > tbody:nth-child(1) > tr:nth-child(44) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)"
                                  , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\H6.jpg");
     SeleniumSetMethods.Click(ElementType.Name, "upDoneDate");
     SeleniumSetMethods.Wait(ElementType.Name, "btnUploadPics");
     SeleniumSetMethods.Click(ElementType.Name, "btnUploadPics");
     SeleniumWindowMethods.Sleep(5);
 }
Beispiel #2
0
        public static void Id_Refresh(string element)
        {
            int  tries            = 0;
            bool IsElementPresent = false;

            while (IsElementPresent == false)
            {
                try
                {
                    tries = tries + 1;
                    Global.ConsoleOut("Attempting to find Element: " + element + " " + tries + " Attempt(s)");
                    SeleniumSetMethods.Wait(ElementType.Id, element);
                    SeleniumSetMethods.Find(ElementType.Id, element);
                    Global.ConsoleOut("Element found: " + element);
                    IsElementPresent = true;
                    break;
                }

                catch
                {
                    Global.ConsoleOut("Element not present: " + element);
                    SeleniumWindowMethods.Sleep(1);
                    PropertiesCollection.driver.Navigate().Refresh();
                }

                if (tries == 15)
                {
                    Global.ConsoleOut(element + " not found and " + tries + " maxium tries has been reached");
                    break; // handle error and break/return
                }
            }
        }
Beispiel #3
0
        public static void CompleteAppraisal()
        {
            // Order Queue Page
            Random r = new Random();
            int    n = 0;

            SeleniumSetMethods.Wait(ElementType.LinkText, "Clear");
            SeleniumSetMethods.Click(ElementType.LinkText, "Clear");
            SeleniumSetMethods.Wait(ElementType.Id, "btnSearchOrders");
            SeleniumSetMethods.Click(ElementType.Id, "btnSearchOrders");
            SeleniumSetMethods.Click(ElementType.PartialLinkText, Global.OrderID);
            SeleniumSetMethods.Wait(ElementType.Id, "btnOrderDetailMainUpdate");
            SeleniumSetMethods.Click(ElementType.Id, "btnOrderDetailMainUpdate");
            SeleniumSetMethods.Wait(ElementType.PartialLinkText, "Audit");
            SeleniumSetMethods.Click(ElementType.PartialLinkText, "Audit");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Wait(ElementType.Id, "btnTabsAuditSendToClient");
            SeleniumSetMethods.Click(ElementType.Id, "btnTabsAuditSendToClient");
            SeleniumSetMethods.AlertWait();
            SeleniumWindowMethods.Assertion(Alert.Accept);
            SeleniumWindowMethods.Sleep(1);
            n = r.Next(3);
            Global.ConsoleOut("CustomerServiceGradeModal_" + n);
            SeleniumSetMethods.Wait(ElementType.Id, "CustomerServiceGradeModal_" + n);
            SeleniumSetMethods.Click(ElementType.Id, "CustomerServiceGradeModal_" + n);
            n = r.Next(3);
            Global.ConsoleOut("CustomerQualityGradeModal_" + n);
            SeleniumSetMethods.Wait(ElementType.Id, "CustomerQualityGradeModal_" + n);
            SeleniumSetMethods.Click(ElementType.Id, "CustomerQualityGradeModal_" + n);
            SeleniumSetMethods.Wait(ElementType.XPath, "(//button[@type='button'])[4]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[4]");
            SeleniumWindowMethods.Sleep(15);
        }
Beispiel #4
0
 public static void Winterization(string AgentName)
 {
     SeleniumSetMethods.Wait(ElementType.Name, "wsrWinterize");
     SeleniumSetMethods.Click(ElementType.Name, "wsrWinterize");
     SeleniumSetMethods.EnterText(ElementType.Name, "wsrSigned", AgentName);
     SeleniumSetMethods.Click(ElementType.Name, "wsrWinterize");
     SeleniumSetMethods.Click(ElementType.Name, "btnSaveSubmit");
 }
Beispiel #5
0
        public static void uatAttachments()
        {
            SeleniumSetMethods.Wait(ElementType.CssSelector, "button.r-button.r-button-expand-all");
            SeleniumSetMethods.Click(ElementType.CssSelector, "button.r-button.r-button-expand-all");

            // Add Exterior Attachments to RA Order
            Global.ConsoleOut("Begin adding images at " + DateTime.Now);
            SeleniumSetMethods.Clear(ElementType.Id, "15_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "15_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C1.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "16_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "16_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C2.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "22_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "22_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C3.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "23_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "23_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C4.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "24_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "24_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C5.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "32_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "32_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "33_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "33_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "34_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "34_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "1543_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "1543_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "1544_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "1544_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            Global.ConsoleOut("Start praying for the next 30 seconds, beginning at  " + DateTime.Now);
            SeleniumWindowMethods.Sleep(30);
            SeleniumSetMethods.Click(ElementType.CssSelector, ".r-footer > div:nth-child(1) > div:nth-child(1) > button:nth-child(3)");
            Global.ConsoleOut("Submit button Clicked " + DateTime.Now);
            SeleniumWindowMethods.WindowType(WinType.Popup);
            SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[9]");
            SeleniumWindowMethods.WindowType(WinType.Main);
            SeleniumWindowMethods.Sleep(5);
        }
Beispiel #6
0
        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");
        }
Beispiel #7
0
        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");
        }
Beispiel #8
0
        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");
        }
Beispiel #9
0
        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");
        }
Beispiel #10
0
        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']");
        }
Beispiel #11
0
        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");
        }
Beispiel #12
0
        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");
        }
Beispiel #13
0
        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']");
        }
Beispiel #14
0
        public static void AddAgent()
        {
            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPEDIT']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_PROPEDIT']");

            // Add Edit this Property iFrame
            SeleniumWindowMethods.iFrame("externalSite");
            SeleniumSetMethods.Clear(ElementType.Name, "pdUpb");
            SeleniumSetMethods.EnterText(ElementType.Name, "pdUpb", "350000");
            SeleniumSetMethods.Click(ElementType.Name, "btnUpdate");

            // Focus Main page
            SeleniumWindowMethods.WindowType(WinType.Main);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPINS']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_PROPINS']");
            Global.ConsoleOut("The value for this field should be ($350,000): "
                              + SeleniumGetMethods.GetTextValue(ElementType.Name, "piFcBal"));
            SeleniumSetMethods.Wait(ElementType.CssSelector, "#column2 > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(1) > a:nth-child(1)");
            SeleniumSetMethods.Click(ElementType.CssSelector, "#column2 > tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(1) > a:nth-child(1)");

            // Assign Agent
            SeleniumWindowMethods.iFrame("imsb-iframe");
            SeleniumSetMethods.Wait(ElementType.Name, "apsFirst");
            SeleniumSetMethods.EnterText(ElementType.Name, "apsFirst", "ivan");
            SeleniumSetMethods.Click(ElementType.CssSelector, "input.btnGreen");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Wait(ElementType.Name, "btnAssign_250922");
            SeleniumSetMethods.Click(ElementType.Name, "btnAssign_250922");

            //Pre Marketing Tab
            SeleniumWindowMethods.Sleep(3);
            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPPREMKT']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_PROPPREMKT']");

            SeleniumSetMethods.Clear(ElementType.Name, "pmBpoOrdDt");
            SeleniumSetMethods.Click(ElementType.Id, "InputForm");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Clear(ElementType.Name, "pmBpoDueDt");
            SeleniumSetMethods.Click(ElementType.Id, "InputForm");

            SeleniumSetMethods.EnterText(ElementType.Name, "pmBpoOrdDt", Global.MMddyyDate);
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Click(ElementType.Id, "InputForm");
            SeleniumSetMethods.EnterText(ElementType.Name, "pmBpoDueDt", Global.NextMonth);
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Click(ElementType.Id, "InputForm");

            SeleniumSetMethods.Click(ElementType.Name, "btnUpdate");
        }
Beispiel #15
0
        public static void AcceptScheduleAppointment()
        {
            // Accept Schedule Appointment - Datetime Now
            SeleniumSetMethods.Wait(ElementType.PartialLinkText, "Tasks");
            SeleniumSetMethods.Click(ElementType.PartialLinkText, "Tasks");
            SeleniumSetMethods.Wait(ElementType.Id, "clearButton");
            SeleniumSetMethods.Click(ElementType.Id, "clearButton");
            SeleniumSetMethods.Click(ElementType.Id, "searchButton");
            SeleniumWindowMethods.Sleep(2);
            SeleniumSetMethods.Wait(ElementType.Id, "cbScheduleAppointment(Appraiser)");
            SeleniumSetMethods.Click(ElementType.Id, "cbScheduleAppointment(Appraiser)");
            int  tries = 0;
            bool IsAppointmentPresent = false;

            while (IsAppointmentPresent == false)
            {
                try
                {
                    SeleniumSetMethods.Click(ElementType.Id, "searchButton"); // refreshing results
                    tries = tries + 1;
                    Global.ConsoleOut("Attempting to Schedule Appointment: " + tries + " Attempt(s)");
                    SeleniumWindowMethods.Sleep(2);
                    SeleniumSetMethods.Click(ElementType.PartialLinkText, "Schedule Appointment");
                    Global.ConsoleOut("Appointment Found");
                    IsAppointmentPresent = true;
                    break;
                }
                catch (Exception) { }
                if (tries == 10)
                {
                    Global.ConsoleOut("Appointment Not Found");
                    break; // handle error and break/return
                }
                SeleniumWindowMethods.Sleep(25);
                SeleniumSetMethods.Click(ElementType.PartialLinkText, "Tasks");
                SeleniumWindowMethods.Sleep(5);
            }
            SeleniumWindowMethods.Sleep(3);
            SeleniumSetMethods.Wait(ElementType.Id, "AppointmentDate");
            SeleniumSetMethods.Click(ElementType.Id, "AppointmentDate");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Click(ElementType.XPath, "//button[@type='button']");
            SeleniumSetMethods.Wait(ElementType.Id, "btnSubmit");
            SeleniumSetMethods.Click(ElementType.Id, "btnSubmit");
            SeleniumWindowMethods.Sleep(1);
            Global.ConsoleOut("Accepted Scheduled Appointment @: " + DateTime.Now);
            SeleniumWindowMethods.Sleep(2);
            Global.ConsoleOut("Manually run Amp Order sync now");
        }
Beispiel #16
0
 public static void OccupancyStatusTask()
 {
     SeleniumSetMethods.Wait(ElementType.Name, "osCurChkDt");
     SeleniumSetMethods.EnterText(ElementType.Name, "osCurChkDt", "03/02/17");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osVacant", "Yes");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osPropType", "SFR");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osList", "Yes");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osUnCoop", "No");
     SeleniumSetMethods.EnterText(ElementType.Name, "osBox", "1234");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osLegal", "1");
     SeleniumSetMethods.SelectDropDown(ElementType.Name, "osLegal1", "Vacant Secure");
     SeleniumSetMethods.EnterText(ElementType.Id, "txtosAgentNote", "It's good to go");
     SeleniumSetMethods.EnterText(ElementType.CssSelector, "#tabStandards > tbody:nth-child(1) > tr:nth-child(6) > td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > input:nth-child(3)", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
     SeleniumWindowMethods.Sleep(1);
     SeleniumSetMethods.Click(ElementType.Name, "btnSaveSubmit");
 }
Beispiel #17
0
        public static void PropertyInspection()
        {
            /*   SeleniumSetMethods.Wait(ElementType.Id, "globalPropertySearch");
             *   SeleniumSetMethods.EnterText(ElementType.Id, "globalPropertySearch", Global.OrderID);
             *   SeleniumWindowMethods.Sleep(1);
             *   SeleniumSetMethods.Wait(ElementType.Id, "qsAddress");
             *   SeleniumSetMethods.Click(ElementType.Id, "qsAddress");
             *   SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
             *   SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
             *   SeleniumSetMethods.Wait(ElementType.LinkText, "Property Inspection");
             *   SeleniumSetMethods.Click(ElementType.LinkText, "Property Inspection");  */
            SeleniumSetMethods.Wait(ElementType.Name, "inspDate_visit");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspDate_visit", Global.LastMonth);
            SeleniumSetMethods.Click(ElementType.Name, "inspStatus_vacant");
            SeleniumSetMethods.Click(ElementType.Name, "inspStatus_Personal_No");
            SeleniumSetMethods.EnterText(ElementType.CssSelector, "#form-questions > table > tbody > tr > td:nth-child(1) > ul > li:nth-child(1) > div > ul > li:nth-child(1) > input[type=\"file\"]"
                                         , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B1.jpg");

            //    SeleniumSetMethods.EnterText(ElementType.Name, "insp_23446296_5", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B1.jpg");
            SeleniumSetMethods.Click(ElementType.Name, "inspRe_keyed_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspLockBox_Yes");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspLockBox_Code", "12345");
            SeleniumSetMethods.Click(ElementType.Name, "inspEvid_MOLD_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspSmoke_Yes");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspSmoke_How_many", "6");
            SeleniumSetMethods.Click(ElementType.Name, "inspAir_cond_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspAir_cond_Opt_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspEvid_Hazardous_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspPool_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspCarpet_Yes");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspCarpet_Location", "Everywhere I look");
            SeleniumSetMethods.Click(ElementType.Name, "inspCarpet_Recom_Clean_Yes");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspCarpet_Why", "Yes it's pretty dirty");
            SeleniumSetMethods.Click(ElementType.Name, "inspSprinkler_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspSprinkler_Time_Pres_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspSprinkler_Oper_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspWater_Heater_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspWater_Heater_CA_Yes");
            SeleniumSetMethods.Click(ElementType.Name, "inspRegulations_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspSafety_Hazards_No");
            SeleniumSetMethods.Click(ElementType.Name, "inspEvid_Damage_No");
            SeleniumSetMethods.EnterText(ElementType.CssSelector, "#form-questions > table > tbody > tr > td:nth-child(2) > ul > li:nth-child(7) > div > ul > li:nth-child(1) > input[type=\"file\"]"
                                         , "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B2.jpg");
            SeleniumSetMethods.EnterText(ElementType.Name, "inspsignature_name", "iben");
            SeleniumSetMethods.Click(ElementType.Name, "btnSaveSubmit");
            SeleniumSetMethods.Click(ElementType.XPath, "xpath=(//input[@name='btnUpdate'])[2]");
        }
Beispiel #18
0
        public static void UploadAppraisal()
        {
            // Accept Schedule Appointment - Datetime Now
            SeleniumSetMethods.Wait(ElementType.PartialLinkText, "Tasks");
            SeleniumSetMethods.Click(ElementType.PartialLinkText, "Tasks");
            SeleniumSetMethods.Wait(ElementType.Id, "clearButton");
            SeleniumSetMethods.Click(ElementType.Id, "clearButton");
            SeleniumSetMethods.Click(ElementType.Id, "searchButton");
            SeleniumWindowMethods.Sleep(2);
            SeleniumSetMethods.Wait(ElementType.Id, "cbUploadAppraisal");
            SeleniumSetMethods.Click(ElementType.Id, "cbUploadAppraisal");
            int  tries = 0;
            bool IsAppointmentPresent = false;

            while (IsAppointmentPresent == false)
            {
                try
                {
                    SeleniumSetMethods.Click(ElementType.Id, "searchButton"); // refreshing results
                    tries = tries + 1;
                    Global.ConsoleOut("Attempting to Schedule Appointment: " + tries + " Attempt(s)");
                    SeleniumWindowMethods.Sleep(2);
                    SeleniumSetMethods.Click(ElementType.PartialLinkText, "Upload Appraisal");
                    Global.ConsoleOut("Appraisal Found");
                    IsAppointmentPresent = true;
                    break;
                }
                catch (Exception) { }
                if (tries == 10)
                {
                    Global.ConsoleOut("Appraisal Not Found");
                    break; // handle error and break/return
                }
                SeleniumWindowMethods.Sleep(25);
                SeleniumSetMethods.Click(ElementType.PartialLinkText, "Tasks");
                SeleniumWindowMethods.Sleep(5);
            }
            SeleniumWindowMethods.Sleep(5);
            SeleniumSetMethods.EnterText(ElementType.Id, "Attachment_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\QA Automation\\Documents\\1025_01.pdf");
            SeleniumSetMethods.EnterText(ElementType.Id, "PropertyValue", "500000");
            SeleniumSetMethods.Wait(ElementType.Id, "ActualAppointmentDate");
            SeleniumSetMethods.Click(ElementType.Id, "ActualAppointmentDate");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[2]");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Click(ElementType.Id, "btnSubmit");
        }
Beispiel #19
0
        static void Main(string[] args)
        {
            // Start your engines !!!
            ConsoleWindow.ConsoleAttributes();
            Global.ReadySetGo();

            Login.qaLossMitt("qaservicer", "P@ssw0rd1");
            SeleniumSetMethods.Wait(ElementType.Id, "AddressSearchString");
            SeleniumSetMethods.EnterText(ElementType.Id, "AddressSearchString", "123");
            SeleniumWindowMethods.Sleep(2);
            SeleniumSetMethods.EnterText(ElementType.Id, "AddressSearchString", Keys.Enter);

            Global.Cooldown();

            // Test was completed successfully
            // Global.Done();
        }
Beispiel #20
0
        public static void CreateNewAppraisal(string ClientID, string ProductType, string ProductDetails, string StreetName, string City, string FullState, string ZipCode)
        {
            // Order Queue Page
            SeleniumSetMethods.Wait(ElementType.LinkText, "Clear");
            SeleniumSetMethods.Click(ElementType.LinkText, "Clear");
            SeleniumSetMethods.Wait(ElementType.Id, "btnSearchOrders");
            SeleniumSetMethods.Click(ElementType.Id, "btnSearchOrders");

            // Add New Order
            SeleniumSetMethods.Wait(ElementType.LinkText, "Add New Order");
            SeleniumSetMethods.Click(ElementType.LinkText, "Add New Order");
            SeleniumSetMethods.Wait(ElementType.Id, "ClientId");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ClientId", ClientID);
            SeleniumSetMethods.EnterText(ElementType.Id, "LoanNumb", Global.LoanNum);
            Global.ConsoleOut("Loan Number: " + Global.LoanNum);
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ProductType", ProductType);
            SeleniumWindowMethods.Sleep(2);
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ProductDetails", ProductDetails);
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "Purpose", "New Loan Purchase");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "OccupancyStatus", "Unknown");
            SeleniumSetMethods.EnterText(ElementType.Id, "Portfolio", "Automated");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "LoanType", "Conv");
            Global.StreetAddress = (Global.StreetNum + " " + StreetName);
            Global.ConsoleOut("Street Address: " + Global.StreetAddress);
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectAddress", Global.StreetAddress);
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectCity", City);
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SubjectState", FullState);
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectPostalCode", ZipCode);
            SeleniumSetMethods.EnterText(ElementType.Id, "BorrowerName", "Hello Kitty");
            SeleniumSetMethods.EnterText(ElementType.Id, "BorrowerPhone", "9493335432");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "TenderTypeCode", "Invoice");
            SeleniumSetMethods.Click(ElementType.Id, "btnOrderSave");
            SeleniumSetMethods.Wait(ElementType.CssName, "img.lookupPopupIcon");

            // Get Order ID from Order Details page
            string OrderID = SeleniumGetMethods.GetTextContent(ElementType.CssSelector, "div.padding-5:nth-child(3) > b:nth-child(2)").TrimStart();

            Global.OrderID = OrderID;
            Global.ConsoleOut("Order ID: " + OrderID);

            // Screen Capture
            SeleniumWindowMethods.Sleep(1);
            SeleniumWindowMethods.ScreenShot("Acme Appraisal");
        }
Beispiel #21
0
 public static void ManualProviderAssign(string sourceid)
 {
     // Provider Assign
     SeleniumSetMethods.Wait(ElementType.CssSelector, "img.lookupPopupIcon");
     SeleniumSetMethods.Click(ElementType.CssSelector, "img.lookupPopupIcon");
     SeleniumWindowMethods.Sleep(2);
     SeleniumSetMethods.Wait(ElementType.Id, "Filters_Radius");
     SeleniumSetMethods.SelectDropDown(ElementType.Id, "Filters_Radius", "50+");
     SeleniumSetMethods.Click(ElementType.Id, "Filters_ProviderHasLocationZip");
     SeleniumSetMethods.EnterText(ElementType.Id, "Filters_SourceId", sourceid);  // Assign your provider
     SeleniumSetMethods.Click(ElementType.Id, "btnSearchProviderAssignment");
     SeleniumWindowMethods.Sleep(5);
     SeleniumSetMethods.Wait(ElementType.CssSelector, "#ProviderAssignmentTGrid > table:nth-child(1) > tbody:nth-child(3) > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1)");
     SeleniumSetMethods.Click(ElementType.CssSelector, "#ProviderAssignmentTGrid > table:nth-child(1) > tbody:nth-child(3) > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1)");
     SeleniumWindowMethods.Sleep(5);
     SeleniumWindowMethods.Assertion(Alert.Accept);
     SeleniumWindowMethods.Sleep(3);
 }
Beispiel #22
0
 public static void AddNewProperty(string PropSTName, string PropCity, string PropState, string PropZipCode, string Client)
 {
     // Add new property using variables
     SeleniumWindowMethods.Sleep(2);
     SeleniumSetMethods.Wait(ElementType.PartialLinkText, "Add New Property");
     SeleniumSetMethods.Click(ElementType.PartialLinkText, "Add New Property");
     SeleniumSetMethods.Wait(ElementType.Id, "street_number");
     SeleniumSetMethods.EnterText(ElementType.Id, "street_number", Global.StreetNum + " " + PropSTName);
     SeleniumSetMethods.EnterText(ElementType.Id, "locality", PropCity);
     SeleniumSetMethods.Click(ElementType.XPath, "//button[@type='button']");
     SeleniumSetMethods.Wait(ElementType.PartialLinkText, PropState);
     SeleniumSetMethods.Click(ElementType.PartialLinkText, PropState);
     SeleniumSetMethods.EnterText(ElementType.Id, "postal_code", PropZipCode);
     SeleniumSetMethods.EnterText(ElementType.Id, "LoanNumber", Global.LoanNum);
     SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[6]");
     SeleniumSetMethods.Wait(ElementType.PartialLinkText, Client);
     SeleniumSetMethods.Click(ElementType.PartialLinkText, Client);
     SeleniumSetMethods.Click(ElementType.Id, "btnPropAdd");
 }
Beispiel #23
0
 public static void AddNewUser(string FirstName, string LastName, string Username, string Email, string Password)
 {
     // Add new User using variables
     SeleniumSetMethods.Wait(ElementType.CssSelector, "span.username");
     SeleniumSetMethods.Click(ElementType.CssSelector, "span.username");
     SeleniumSetMethods.Click(ElementType.Id, "ui-id-2");
     SeleniumSetMethods.Click(ElementType.XPath, "//div[@id='dtUserSearch_wrapper']/div/div[3]/div/a[3]/span");
     SeleniumSetMethods.Wait(ElementType.Id, "FirstName");
     SeleniumSetMethods.EnterText(ElementType.Id, "FirstName", "Fred");
     SeleniumSetMethods.EnterText(ElementType.Id, "LastName", "Flinstone");
     SeleniumSetMethods.EnterText(ElementType.Id, "UserName", "Bedrock");
     SeleniumSetMethods.EnterText(ElementType.Id, "EmailAddress", "*****@*****.**");
     SeleniumSetMethods.EnterText(ElementType.Id, "Password", "passwrod1");
     SeleniumSetMethods.Click(ElementType.Id, "Show_Password");
     SeleniumSetMethods.EnterText(ElementType.Id, "PasswordConfirmation", "password1");
     SeleniumSetMethods.SelectDropDown(ElementType.Id, "IsActive", "Yes");
     SeleniumSetMethods.Click(ElementType.Id, "UserRoles");
     SeleniumSetMethods.Click(ElementType.CssSelector, "div.multiSelectOptions:nth-child(2) > label:nth-child(1)");
     SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[5]");
 }
Beispiel #24
0
        public static void Sample()
        {
            // Sample Code to Execute
            String PropertyID = "507635";

            Global.OrderID = PropertyID;

            Login.qaBuyer("qapaidbuyer03", "P@ssw0rd1");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "#propertiesTabLink > span > b");
            SeleniumSetMethods.Click(ElementType.CssSelector, "#propertiesTabLink > span > b");
            SeleniumSetMethods.Wait(ElementType.Id, "location");
            SeleniumSetMethods.EnterText(ElementType.Id, "location", "Atlanta, GA");
            SeleniumSetMethods.Click(ElementType.Id, "propertiesSubmit");
            SeleniumSetMethods.Wait(ElementType.Id, "additionalInfoLnk");
            SeleniumSetMethods.Click(ElementType.Id, "additionalInfoLnk");
            SeleniumSetMethods.Wait(ElementType.Id, "searchPropertyID");
            SeleniumSetMethods.EnterText(ElementType.Id, "searchPropertyID", Global.OrderID);
            SeleniumSetMethods.Wait(ElementType.CssSelector, "div.searchbtn > #propertiesSubmit > span > b");
            SeleniumSetMethods.Click(ElementType.CssSelector, "div.searchbtn > #propertiesSubmit > span > b");
            // Click on Property Returned
            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= '/Properties/Details/']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= '/Properties/Details/']");
            SeleniumSetMethods.Wait(ElementType.CssSelector, "#tab_offers > a > span > b");
            SeleniumSetMethods.Click(ElementType.CssSelector, "#tab_offers > a > span > b");
            SeleniumSetMethods.Wait(ElementType.CssSelector, "div.expandable");
            SeleniumSetMethods.Click(ElementType.CssSelector, "div.expandable");
            // Click on First Offer
            SeleniumSetMethods.Wait(ElementType.CssSelector, "#poffer_tbl > tbody > tr > td > a");
            SeleniumSetMethods.Click(ElementType.CssSelector, "#poffer_tbl > tbody > tr > td > a");
            SeleniumSetMethods.Wait(ElementType.Id, "offerAction");
            SeleniumSetMethods.EnterText(ElementType.Id, "offerAction", "Counter");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.EnterText(ElementType.Id, "offerAction", "Counter");
            SeleniumSetMethods.Wait(ElementType.Id, "copyRecentOfferLink");
            SeleniumSetMethods.Click(ElementType.Id, "copyRecentOfferLink");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Clear(ElementType.CssSelector, "td[id=\"Offer#2\"] input[id$=\"__LoanAmount\"]");
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.EnterText(ElementType.CssSelector, "td[id=\"Offer#2\"] input[id$=\"__LoanAmount\"]", "300000.00");
        }
Beispiel #25
0
        public static void OpenBPO()
        {
            // Open BPO Task
            Global.ConsoleOut("Opening BPO :" + Global.OrderID + "  @: " + DateTime.Now);
            SeleniumSetMethods.Wait(ElementType.LinkText, "Tasks");
            SeleniumSetMethods.Click(ElementType.LinkText, "Tasks");
            SeleniumSetMethods.Wait(ElementType.Id, "clearButton");
            SeleniumSetMethods.Click(ElementType.Id, "clearButton");
            SeleniumSetMethods.Wait(ElementType.Id, "Address");
            SeleniumSetMethods.EnterText(ElementType.Id, "Address", Global.StreetAddress);

            int  tries          = 0;
            bool IsOrderPresent = false;

            while (IsOrderPresent == false)
            {
                try
                {
                    SeleniumSetMethods.Click(ElementType.Id, "searchButton1"); // refreshing results
                    tries = tries + 1;
                    Global.ConsoleOut("Attempting to find BPO: " + tries + " Attempt(s)");
                    SeleniumWindowMethods.Sleep(2);
                    SeleniumSetMethods.Click(ElementType.LinkText, "BPO");
                    Global.ConsoleOut("BPO Found");
                    IsOrderPresent = true;
                    break;
                }
                catch (Exception) { }
                if (tries == 15)
                {
                    Global.ConsoleOut("BPO not found");
                    break; // handle error and break/return
                }
                SeleniumWindowMethods.Sleep(25);
                SeleniumSetMethods.Click(ElementType.LinkText, "Tasks");
                SeleniumWindowMethods.Sleep(5);
            }
        }
Beispiel #26
0
        public static void AddNewProperty(string StreetName)
        {
            // Properties - Add New Property
            SeleniumSetMethods.Wait(ElementType.LinkText, "Properties");
            SeleniumSetMethods.Click(ElementType.LinkText, "Properties");
            SeleniumSetMethods.Wait(ElementType.CssSelector, "span.ui-button-text");
            SeleniumSetMethods.Click(ElementType.CssSelector, "span.ui-button-text");
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);

            // Add New Property iFrame
            SeleniumWindowMethods.iFrame("externalSite");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_POP_CLIENTPA']");
            Global.ConsoleOut("Open Popup - New Property");

            // Client - Popup
            SeleniumWindowMethods.WindowType(WinType.Popup);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumSetMethods.Wait(ElementType.Name, "csClientId");
            SeleniumSetMethods.EnterText(ElementType.Name, "csClientId", "7224");
            SeleniumSetMethods.Wait(ElementType.Name, "btnRedraw");
            SeleniumSetMethods.Click(ElementType.Name, "btnRedraw");
            SeleniumWindowMethods.WindowType(WinType.Popup);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumSetMethods.Click(ElementType.CssSelector, "img");
            Global.ConsoleOut("Popup closing");

            // Switch back to main window - Asset Manager Popup
            SeleniumWindowMethods.WindowType(WinType.Main);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumWindowMethods.iFrame("externalSite");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_POP_AMGRPA']");
            SeleniumWindowMethods.WindowType(WinType.Popup);
            SeleniumSetMethods.Wait(ElementType.Name, "msAmId");
            SeleniumSetMethods.EnterText(ElementType.Name, "msAmId", "3287");
            SeleniumSetMethods.Wait(ElementType.Name, "btnRedraw");
            SeleniumSetMethods.Click(ElementType.Name, "btnRedraw");
            SeleniumSetMethods.Click(ElementType.CssSelector, "img");

            // Switch back to main window - File Manager Popup
            SeleniumWindowMethods.WindowType(WinType.Main);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumWindowMethods.iFrame("externalSite");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_POP_AMGRPA2']");
            SeleniumWindowMethods.WindowType(WinType.Popup);
            SeleniumSetMethods.Wait(ElementType.Name, "msAmId");
            SeleniumSetMethods.Clear(ElementType.Name, "msAmId");
            SeleniumSetMethods.Wait(ElementType.Name, "btnRedraw");
            SeleniumSetMethods.Click(ElementType.Name, "btnRedraw");
            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'Jon1']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'Jon1']");

            // Switch back to main window - Asset Manager Popup
            SeleniumWindowMethods.WindowType(WinType.Main);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumWindowMethods.iFrame("externalSite");

            Global.StreetAddress = (Global.StreetNum + " " + StreetName);
            Global.ConsoleOut("Street Address: " + Global.StreetAddress);
            SeleniumSetMethods.Wait(ElementType.Name, "paPropAddr");
            SeleniumSetMethods.EnterText(ElementType.Name, "paPropAddr", Global.StreetAddress);
            SeleniumSetMethods.EnterText(ElementType.Name, "paPropCity", "Irvine");
            SeleniumSetMethods.SelectDropDown(ElementType.Name, "paPropState", "California");
            SeleniumSetMethods.EnterText(ElementType.Name, "paPropZip", "92620");

            // Loan Information
            SeleniumSetMethods.EnterText(ElementType.Name, "Loan_Number", Global.LoanNum);
            SeleniumSetMethods.EnterText(ElementType.Name, "Borrower_First", "FirstName");
            SeleniumSetMethods.EnterText(ElementType.Name, "Borrower_Last", "LastName");
            SeleniumSetMethods.SelectDropDown(ElementType.Name, "paPropType", "SFR");

            // Add Attorney - Popup
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_POP_FCATTNYPA']");
            Global.ConsoleOut("Open Popup - Attorney");
            SeleniumWindowMethods.Sleep(2);
            SeleniumWindowMethods.WindowType(WinType.Popup);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'Just']");

            // Switch back to main window
            SeleniumWindowMethods.WindowType(WinType.Main);
            Global.ConsoleOut("Window Title: " + PropertiesCollection.driver.Title);
            SeleniumWindowMethods.iFrame("externalSite");
            SeleniumSetMethods.EnterText(ElementType.Name, "Fc_Saledt", Global.LastMonth);
            SeleniumSetMethods.EnterText(ElementType.Name, "Unpd_Bal", "250000");
            SeleniumSetMethods.EnterText(ElementType.Name, "Fc_Apr_Value", "500000");
            SeleniumSetMethods.EnterText(ElementType.Name, "Fc_Apr_Dte", Global.LastYear);
            SeleniumSetMethods.EnterText(ElementType.Name, "txtpaNote", "Do you want to build a snowman?");
            SeleniumSetMethods.Click(ElementType.Name, "txtpaNote");
            SeleniumSetMethods.Click(ElementType.Name, "btnAdd");
            SeleniumWindowMethods.Sleep(3);

            // Get Property ID from Property Details page

            try
            {
                string PropertyID = SeleniumGetMethods.GetTextContent(ElementType.CssSelector, "#selectedProperty > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2)").TrimStart();
                Global.OrderID = PropertyID;
                Global.ConsoleOut("Property ID: " + PropertyID);;
            }
            catch
            {
                SeleniumSetMethods.Wait(ElementType.Name, "btnAdd");
                SeleniumSetMethods.Click(ElementType.Name, "btnAdd");
                SeleniumWindowMethods.Sleep(2);
                string PropertyID = SeleniumGetMethods.GetTextContent(ElementType.CssSelector, "#selectedProperty > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2)").TrimStart();
                Global.OrderID = PropertyID;
                Global.ConsoleOut("Property ID: " + PropertyID);;
            }


            // Screen Capture
            SeleniumWindowMethods.Sleep(1);
            SeleniumWindowMethods.ScreenShot("REO New Property");
        }
Beispiel #27
0
 public static void BPOtask()
 {
     SeleniumSetMethods.Wait(ElementType.Name, "abNdList");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdList", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdLow", "500000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdHigh", "600000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdHouses", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdClose", "25");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdMktTime", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdSale", "30");
     SeleniumSetMethods.Click(ElementType.Name, "abNdPoo");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdConstr", "All new construction");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdAssess", "negative");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdNeg", "the price");
     SeleniumSetMethods.Click(ElementType.Name, "abNdAppr");
     SeleniumSetMethods.EnterText(ElementType.Name, "abNdMonthly", "10");
     SeleniumSetMethods.EnterText(ElementType.Name, "abStyle", "Nice");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFt", "1700");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRooms", "3000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBed", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBath", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRent", "2500");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmt", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGar", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLot", "120");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAge", "10");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCond", "Great");
     SeleniumSetMethods.EnterText(ElementType.Name, "abPrevDom", "20");
     SeleniumSetMethods.EnterText(ElementType.Name, "abPrevLP", "350000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCurrLP", "550000");
     SeleniumSetMethods.EnterText(ElementType.Id, "txtabMktComments", "this unit is priced to sell");
     SeleniumSetMethods.Click(ElementType.Name, "cbRI_roof");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRI_Haz", "none");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRI_Pers", "a Ferrari");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrS1", "Comp Sale 1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSaleDtS1", "2/17/2017");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtS1", "2000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalS1", "500");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedS1", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathS1", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxS1", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtS1", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarS1", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotS1", "5000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeS1", "10");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomS1", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpS1", "450000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSpS1", "475000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerS1", "Bank");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrS2", "Comp Sale 2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSaleDtS2", "2/15/2017");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtS2", "2100");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalS2", "300");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedS2", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathS2", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxS2", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtS2", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarS2", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotS2", "4750");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeS2", "10");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomS2", "20");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpS2", "400000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSaleDtS3", "1/15/2017");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtS3", "1950");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalS3", "200");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedS3", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathS3", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxS3", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtS3", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarS3", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotS3", "4500");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeS3", "11");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomS3", "30");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpS3", "400000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSpS3", "375000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerS3", "BofA");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrS3", "Comp Sale 3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpL1", "400000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerL1", "Wells");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondS1", "Good");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinS1", "None");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommS1", "Seller got a great deal");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondS2", "Good");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinS2", "30 year");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommS2", "No Beuno");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondS3", "Good");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinS3", "Standard");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommS3", "Meh");
     SeleniumSetMethods.Click(ElementType.Name, "cbInspS3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommS", "This and that");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrL1", "Comp List 1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abStyleL1", "Ranch");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSpS2", "425000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerS2", "Owner");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtL1", "1200");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalL1", "250");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedL1", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathL1", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxL1", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtL1", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarL1", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotL1", "2700");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeL1", "6");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomL1", "15");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOLpL1", "375000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrL2", "Comp List 2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abStyleL2", "Shaker");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtL2", "1300");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalL2", "225");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedL2", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathL2", "2");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxL2", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtL2", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarL2", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotL2", "3100");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeL2", "5");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomL2", "22");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOLpL2", "400000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpL2", "415000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerL2", "Wells");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAddrL3", "Comp List 3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abStyleL3", "Custom");
     SeleniumSetMethods.EnterText(ElementType.Name, "abSqFtL3", "1700");
     SeleniumSetMethods.EnterText(ElementType.Name, "abTotalL3", "200");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBedL3", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBathL3", "3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abProxL3", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abBsmtL3", "0");
     SeleniumSetMethods.EnterText(ElementType.Name, "abGarL3", "1");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLotL3", "2600");
     SeleniumSetMethods.EnterText(ElementType.Name, "abAgeL3", "4");
     SeleniumSetMethods.EnterText(ElementType.Name, "abDomL3", "12");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOLpL3", "450000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abLpL3", "450000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abOwnerL3", "BofA");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondL1", "Good");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinL1", "Conv");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommL1", "good example");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondL2", "Good");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinL2", "Conv");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommL2", "Keep an eye on this one");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCondL3", "Great");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinL3", "Cash");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommL3", "Boom");
     SeleniumSetMethods.Click(ElementType.Name, "abMostCompL");
     SeleniumSetMethods.Click(ElementType.Name, "cbInspL3");
     SeleniumSetMethods.EnterText(ElementType.Name, "abCommL", "Listing #3 is AMAZING");
     SeleniumSetMethods.EnterText(ElementType.Name, "abObo", "None");
     SeleniumSetMethods.EnterText(ElementType.Name, "abInflu", "it's the I, you need to know");
     SeleniumSetMethods.EnterText(ElementType.Name, "abResale", "nope.com");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinan", "n/a");
     SeleniumSetMethods.Click(ElementType.Name, "cbInvest");
     SeleniumSetMethods.EnterText(ElementType.Name, "abFinancier", "BofA");
     SeleniumSetMethods.EnterText(ElementType.Name, "abMktStrategy", "Price it to sell");
     SeleniumSetMethods.Click(ElementType.Name, "abViewed");
     SeleniumSetMethods.Click(ElementType.Id, "btnSaveWork");
     SeleniumSetMethods.Click(ElementType.CssSelector, "a > img");
     SeleniumSetMethods.EnterText(ElementType.Name, "abmv90asis", "400000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abmv90rep", "500000");
     SeleniumSetMethods.EnterText(ElementType.Name, "txtmvcomments", "A remodel would work wonders");
     SeleniumSetMethods.EnterText(ElementType.Name, "abslp90asis", "415000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abslp90rep", "525000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abEstLandValue", "315000");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoName", "Irvine");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoAcsz", "101 Irvine, Irvine, CA, 92614");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoPhone", "949-333-1234");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoDues", "350.00");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoWhen", "First of the month");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoLast", "2/12/2017");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoDelinq", "None");
     SeleniumSetMethods.EnterText(ElementType.Name, "abHoMaint", "none.");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRdesc1", "Paint");
     SeleniumSetMethods.EnterText(ElementType.Name, "abRcost1", "3000.00");
     SeleniumSetMethods.Click(ElementType.Id, "btnSaveWorkPg2");
     SeleniumSetMethods.Wait(ElementType.Id, "btnSaveSubmit");
     SeleniumSetMethods.Click(ElementType.Id, "btnSaveSubmit");
 }
Beispiel #28
0
        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)");
        }
Beispiel #29
0
        public static void AssetMGRTasks()
        {
            SeleniumSetMethods.Wait(ElementType.Id, "globalPropertySearch");
            SeleniumSetMethods.EnterText(ElementType.Id, "globalPropertySearch", Global.OrderID);
            SeleniumWindowMethods.Sleep(1);
            SeleniumSetMethods.Wait(ElementType.Id, "qsAddress");
            SeleniumSetMethods.Click(ElementType.Id, "qsAddress");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            SeleniumSetMethods.Click(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("SCRA Referral (Custom)");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[3]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[3]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Sivad Custom task (Custom)");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.Id, "Test1");
            SeleniumSetMethods.EnterText(ElementType.Id, "Test1", "yellow");
            SeleniumSetMethods.Click(ElementType.Name, "btnUpdate");
            SeleniumSetMethods.Wait(ElementType.LinkText, "Agent Listing Contract");
            SeleniumSetMethods.Click(ElementType.LinkText, "Agent Listing Contract");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("122314 Custom Task (Custom)");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.Id, "073113ListingCheckboxListCustom_test");
            SeleniumSetMethods.Click(ElementType.Id, "073113ListingCheckboxListCustom_test");
            SeleniumSetMethods.Wait(ElementType.Id, "btnUpdateAsDone");
            SeleniumSetMethods.Click(ElementType.Id, "btnUpdateAsDone");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Sivad Custom task (Custom)");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.EnterText(ElementType.Id, "Test1", "Enter Comment");
            SeleniumSetMethods.Click(ElementType.Id, "btnUpdateAsDone");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Home Owners Assoc Information Request");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Tax Research Request");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Listing Acknowledgement");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Referral Agreement");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Winterization Requirements Request");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");

            SeleniumSetMethods.Wait(ElementType.CssSelector, "a[href *= 'AM_PROPTASKS']");
            IfExists.Link_Back("Occupancy Status Request");
            IfExists.Id_Refresh("globalPropertySearch");
            SeleniumSetMethods.Wait(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
            SeleniumSetMethods.Click(ElementType.XPath, "(//input[@name='btnUpdate'])[2]");
        }
Beispiel #30
0
        public static void CompleteBPO()
        {
            SeleniumSetMethods.Click(ElementType.Id, "Subject_InspectionDate");
            SeleniumSetMethods.Click(ElementType.XPath, "(//button[@type='button'])[2]");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsPropertySecure_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_IsNewConstruction_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_IsCurrentDisaster_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_ZoningDescription");
            SeleniumSetMethods.Click(ElementType.Id, "Subject_LocationType_1");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_MarketingDays");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_ReoTrend_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_MarketTimingTrend_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_PrimaryOccupant_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_IsIndustrialWithinQtrMile_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_VacancyPercentage_2");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_IsNeighborhoodNewConstruction_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_IsDisasterEvidence_1");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_SalesLow");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_ListingsLow");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_NeighborhoodDescription");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagDamaged_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagConstruction_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagEnvironmental_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagZoning_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagMarketActivity_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagStigma_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsRedFlagOther_0");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_MarketConditions_1");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_MarketPriceStability_2");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_MarketPriceStabilityPercent");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_ComparableSupply_1");
            SeleniumSetMethods.Click(ElementType.Id, "Marketing_OwnerPercentage");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_ListingStatusPast12Mo_1");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectDom");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectListPast12MoOriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectListPast12MoLastListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_IsSubjectSoldPast12Mo_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectPast12MoSalePrice");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectPast12MoSalePriceDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectSoldPast12MoOriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectSoldPast12MoLastListPrice");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SubjectMarketing_SubjectSoldPast12MoLastListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectPropertyUnits");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectLastSalePrice");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectLastSaleDate");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectLastSaleDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_SubjectOccupancyStatus_1");
            SeleniumSetMethods.Click(ElementType.Id, "SubjectMarketing_OwnershipStatus_0");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_0__PostalCode");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_0__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_1__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_2__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_1__OriginalListPrice");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_0__SaleDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_1__SaleDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_2__SaleDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_0__Dom");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_IsDistressedSale_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps[0]_IsDistressedSale_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps[1]_IsDistressedSale_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps[2]_IsDistressedSale_1");
            SeleniumSetMethods.Click(ElementType.Id, "Subject_LotSize");
            SeleniumSetMethods.Click(ElementType.Id, "Subject_Units");
            SeleniumSetMethods.Click(ElementType.Id, "Subject_Rooms");
            SeleniumSetMethods.Click(ElementType.Id, "Subject_GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_1__GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "SaleComps_2__GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Subject_PoolSpa");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_0__HoaFee");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_SaleComps_0__Comparability");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_MarketYearBuilt");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_Marketing_SaleListRatioPast3Mo");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_0__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_1__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.CssSelector, "span.ui-icon.ui-icon-circle-triangle-w");
            SeleniumSetMethods.Click(ElementType.LinkText, "17");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_2__OriginalListDate");
            SeleniumSetMethods.Click(ElementType.LinkText, "15");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__OriginalListPrice");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__Dom");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps[0]_IsDistressedSale_1");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps[1]_IsDistressedSale_0");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps[2]_IsDistressedSale_1");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__LotSize");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__Units");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_0__Age");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__Rooms");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__GrossLivingArea");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_0__BsmtSqFt");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_0__GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_1__GarageType");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_1__GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_2__GarageType");
            SeleniumSetMethods.Click(ElementType.Id, "ListComps_2__GarageCount");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_0__PoolSpa");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_ListComps_0__HoaFee");
            SeleniumSetMethods.Click(ElementType.Id, "QuickSaleListPrice");
            SeleniumSetMethods.Click(ElementType.Id, "PennyMac_AsIsDays");
            SeleniumSetMethods.Click(ElementType.Id, "ProviderComments");

            // Enter Text
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_OwnerName", "Owner");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_VendorOrderId", "123-66");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_ParcelNumber", "123-333-55");
            SeleniumSetMethods.EnterText(ElementType.Id, "BpoBrokerDistance", "15");
            SeleniumSetMethods.EnterText(ElementType.Id, "BpoBrokerYearsExperience", "15");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_ZoningDescription", "zone");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_ZoningDataSource", "Zone data");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_CurrentUse", "Current use: Residential");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_ProjectedUse", "Project use :Residential");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_PropertyComments", "subject comments: Residential");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MedianRent", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_MarketingDays", "90");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_SalesLow", "350000");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_SalesHigh", "425000");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_TotalSales", "5");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_ListingsLow", "375000");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_ListingsHigh", "430000");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_TotalListings", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_NeighborhoodDescription", "Neighborhood Description: tests");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketConditionsComment", "Marketconditions: Test");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_RedFlagComments", "RED flags: Comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_MarketPriceStabilityPercent", "10");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_MarketPriceStabilityMonths", "24");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_OwnerPercentage", "50");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_TenantPercentage", "40");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_ComparableListingsCount", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "Marketing_ReoListingsCount", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_SubjectDom", "45");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectListPast12MoOriginalListPrice", "475000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectListPast12MoLastListPrice", "470000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectPast12MoSalePrice", "575000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectSoldPast12MoOriginalListPrice", "600000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectSoldPast12MoLastListPrice", "580000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_ListingBrokerName", "test broker");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_ListingFirmName", "service corp");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_ListingBrokerPhone", "800-963-9999");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SubjectMarketing_SubjectPropertyType", "Single Family");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_SubjectPropertyUnits", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_SubjectLastSalePrice", "576000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SubjectMarketing_HoaFee", "250.33");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__StreetAddress", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__StreetAddress", "2");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__StreetAddress", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__City", "Irvine");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__City", "Irvine");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__City", "Irvine");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_0__State", "California");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_1__State", "California");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_2__State", "California");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__ProximityDistance", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__ProximityDistance", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__ProximityDistance", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__OriginalListPrice", "470000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__OriginalListPrice", "450000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__OriginalListPrice", "440000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__SalePrice", "450000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__SalePrice", "425000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__SalePrice", "425000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__ListPriceAtSale", "450000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__ListPriceAtSale", "430000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__ListPriceAtSale", "425000");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "Subject_DataSource", "MLS");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_0__DataSource", "Appraisal");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_1__DataSource", "MLS");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_2__DataSource", "Appraisal");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Dom", "90");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Dom", "80");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Dom", "75");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_TotalDom", "45");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__TotalDom", "95");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__TotalDom", "80");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__TotalDom", "75");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_FundingSource", "sub fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__FundingSource", "s1 fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__FundingSource", "s2 fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__FundingSource", "s3 fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SubjectMarketing_SubjectConcessions", "sub salecon");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Concessions", "s1 concession");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Concessions", "s2 concession");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Concessions", "s3 concession");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_0__LocationType", "Suburban");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_1__LocationType", "Urban");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_2__LocationType", "Suburban");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "LotSizeUnitType", "Sq. Ft.");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_LotSize", "6000");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__LotSize", "4500");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__LotSize", "5750");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__LotSize", "8500");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_Site", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__Site", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__Site", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__Site", "1");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_0__PropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_1__PropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_2__PropertyType", "Single Family");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Units", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Units", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Units", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Units", "1");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_Subject_ConstructionType", "Stone");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_0__ConstructionType", "Wood");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_1__ConstructionType", "Other");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_2__ConstructionType", "Brick");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_Design", "sub design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__Design", "s1 design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__Design", "s2 design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__Design", "s3 design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_Age", "20");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__Age", "22");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__Age", "23");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__Age", "24");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_Subject_ViewQualityDescription", "Adverse");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_0__ViewQualityDescription", "Neutral");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_1__ViewQualityDescription", "Neutral");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_2__ViewQualityDescription", "Neutral");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_0__ViewComparison", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_1__ViewComparison", "Satisfactory");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_2__ViewComparison", "Poor");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "Subject_Condition", "Excellent");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_0__Condition", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_1__Condition", "Average");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_2__Condition", "Fair");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Rooms", "8");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Rooms", "9");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Rooms", "9");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Rooms", "7");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Beds", "5");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Beds", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Beds", "5");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Beds", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Baths", "2");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_PartialBaths", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__PartialBaths", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__PartialBaths", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__PartialBaths", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_GrossLivingArea", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__GrossLivingArea", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__GrossLivingArea", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__GrossLivingArea", "2750");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Bsmt", "sub base");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Bsmt", "s1 basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Bsmt", "s2 basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Bsmt", "s3 basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_BsmtSqFt", "500");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_BsmtPercentage", "10");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__BsmtSqFt", "400");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__BsmtPercentage", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__BsmtSqFt", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__BsmtPercentage", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__BsmtSqFt", "250");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__BsmtPercentage", "15");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "Subject_GarageType", "Carport");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_GarageCount", "2");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_0__GarageType", "Carport");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__GarageCount", "2");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_1__GarageType", "Carport");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__GarageCount", "2");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "SaleComps_2__GarageType", "Carport");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__GarageCount", "2");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Subject_PoolSpa", "sub pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__PoolSpa", "s1 pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__PoolSpa", "s2 pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__PoolSpa", "s3 pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "Subject_Extras", "sub other");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Extras", "s1 other");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Extras", "s2 other");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Extras", "s3 other");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_0__HoaFee", "180");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_1__HoaFee", "550.85");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_SaleComps_2__HoaFee", "550");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_0__Comparability", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_1__Comparability", "Satisfactory");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_SaleComps_2__Comparability", "Poor");
            SeleniumSetMethods.EnterText(ElementType.Id, "Repairs_0__Description", "repair");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_Repairs_0__RepairType", "Interior");
            SeleniumSetMethods.EnterText(ElementType.Id, "Repairs_0__Amount", "100.23");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketYearBuilt", "1999");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_ClosedSalesPast6Mo", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketGrossLivingArea", "1800");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_AbsorptionRatePast6Mo", "20");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketLotSize", "6500");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_PendingSalesCount", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketBeds", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_SupplyMonths", "2");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketBaths", "2.5");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_MarketUnits", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_AvgListPricePast3Mo", "400000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_AvgListPricePast6Mo", "375000.00");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_ComparableSalesSearchRadius", "15.3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_AvgSalePricePast3Mo", "410000");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_AvgSalePricePast6Mo", "380000");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_Marketing_MarketPropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_Marketing_ComparableAge", "Last 6 Months");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_SaleListRatioPast3Mo", "25");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_Marketing_SaleListRatioPast6Mo", "16");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__StreetAddress", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__StreetAddress", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__StreetAddress", "5");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__StreetAddress", "6");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__City", "Irvine");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__City", "Irvine");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__City", "irvine");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_0__State", "California");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_1__State", "California");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_2__State", "California");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__PostalCode", "92620");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__ProximityDistance", "0.4");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__ProximityDistance", "0.6");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__ProximityDistance", "0.8");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__OriginalListPrice", "400000");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__OriginalListPrice", "410000");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__OriginalListPrice", "420000");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__ListPrice", "400000");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__ListPrice", "409000");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__ListPrice", "412999");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_0__DataSource", "MLS");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_1__DataSource", "MLS");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_2__DataSource", "MLS");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Concessions", "l1 sale conce");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Concessions", "l2 salecon");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Concessions", "l3salecon");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Dom", "25");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Dom", "26");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Dom", "28");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__TotalDom", "33");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__TotalDom", "34");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__TotalDom", "35");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__FundingSource", "l1 fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__FundingSource", "l2fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__FundingSource", "l3 fund");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__LotSize", "6250");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__LotSize", "5500");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__LotSize", "5500");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__Site", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__Site", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__Site", "1");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_0__PropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_1__PropertyType", "Single Family");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_2__PropertyType", "Single Family");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Units", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Units", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Units", "1");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_0__ConstructionType", "Brick");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_1__ConstructionType", "Mix");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_2__ConstructionType", "Stone");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__Design", "li design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__Design", "l2 design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__Design", "l3 design");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__Age", "25");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__Age", "15");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__Age", "10");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_0__Condition", "Fair");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_1__Condition", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_2__Condition", "Poor");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_0__ViewQualityDescription", "Adverse");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_1__ViewQualityDescription", "Neutral");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_2__ViewQualityDescription", "Beneficial");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_0__ViewComparison", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_1__ViewComparison", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_2__ViewComparison", "Good");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Rooms", "7");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Rooms", "6");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Rooms", "7");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Beds", "4");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Beds", "6");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Beds", "5");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Baths", "3");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__PartialBaths", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__PartialBaths", "2");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__PartialBaths", "1");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__GrossLivingArea", "2750");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__GrossLivingArea", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__GrossLivingArea", "2500");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Bsmt", "l1basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Bsmt", "l2basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Bsmt", "l3 basement");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__BsmtSqFt", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__BsmtPercentage", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__BsmtSqFt", "500");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__BsmtPercentage", "100");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__BsmtSqFt", "150");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__BsmtPercentage", "20");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_0__GarageType", "Attached");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__GarageCount", "2");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_1__GarageType", "Detached");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__GarageCount", "1");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "ListComps_2__GarageType", "None");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__GarageCount", "0");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__PoolSpa", "l1pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__PoolSpa", "l2pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__PoolSpa", "l3pool");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Extras", "l1 other");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Extras", "l2other");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Extras", "l3other");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_0__HoaFee", "180");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_1__HoaFee", "250");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_ListComps_2__HoaFee", "275");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_0__Comparability", "Good");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_1__Comparability", "Satisfactory");
            SeleniumSetMethods.SelectDropDown(ElementType.Id, "PennyMac_ListComps_2__Comparability", "Poor");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_0__Comment", "sale#1 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_1__Comment", "sale#2 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "SaleComps_2__Comment", "sale#3 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_0__Comment", "List1 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_1__Comment", "list#2 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "ListComps_2__Comment", "list#3 comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "QuickSaleListPrice", "411111");
            SeleniumSetMethods.EnterText(ElementType.Id, "QuickSaleValue", "422222");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_AsIsDays", "30");
            SeleniumSetMethods.EnterText(ElementType.Id, "AsisListPrice", "433333");
            SeleniumSetMethods.EnterText(ElementType.Id, "AsIsValue", "444444");
            SeleniumSetMethods.EnterText(ElementType.Id, "PennyMac_RepairedDays", "45");
            SeleniumSetMethods.EnterText(ElementType.Id, "RepairedListPrice", "455555");
            SeleniumSetMethods.EnterText(ElementType.Id, "RepairedValue", "466666");
            SeleniumSetMethods.EnterText(ElementType.Id, "ProviderComments", "comments");
            SeleniumSetMethods.EnterText(ElementType.Id, "BrokenRuleComments_SaleCompLotSizeComment", "Testing 123");
            SeleniumSetMethods.EnterText(ElementType.Id, "BrokenRuleComments_SaleCompSalePriceComment", "Testing 234");

            // Add images
            SeleniumSetMethods.Clear(ElementType.Id, "190_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "190_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B1.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "192_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "192_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B2.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "193_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "193_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\B3.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "197_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "197_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C1.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "198_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "198_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C2.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "199_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "199_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C3.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "200_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "200_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C4.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "201_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "201_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C5.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "202_1_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "202_1_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\C6.jpg");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "16_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "16_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.Clear(ElementType.Id, "27_fileupload");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumSetMethods.EnterText(ElementType.Id, "27_fileupload", "\\\\hqfs1\\Public\\IT\\QA\\Pictures\\AUpload.pdf");
            SeleniumWindowMethods.ThrottlingSleep();
            SeleniumWindowMethods.Sleep(30);
            SeleniumSetMethods.Wait(ElementType.Id, "btnBpoSave");
            SeleniumSetMethods.Click(ElementType.Id, "btnBpoSave");
            SeleniumSetMethods.AlertWait();
            SeleniumWindowMethods.Assertion(Alert.Accept);
            SeleniumWindowMethods.Sleep(5);
        }