Пример #1
0
 public static void qaREOFlowOrg1()
 {
     // REO Flow Org1
     Login.qaREO("Yeshh1", "Yeshh1");
     IfExists.Id_Refresh("globalPropertySearch");
     REO.AddNewProperty("Rincon");
     REO.AddAgent();
     Logout.REO();
     Login.qaAgent("*****@*****.**", "blue123");
     Agent.OpenREOTasks("Winterization"); REOTasks.Winterization("iben");
     Agent.OpenREOTasks("Occupancy Status Task"); REOTasks.OccupancyStatusTask();
     Agent.OpenREOTasks("Tax Research Task"); REOTasks.TaxResearchTask();
     Agent.OpenREOTasks("Referral Agreement"); REOTasks.ReferralFeeAgreement("iben");
     Agent.OpenREOTasks("HOA information task"); REOTasks.HOAInformation();
     Agent.OpenREOTasks("Listing Addendum"); REOTasks.ListingAddendum("iben");
     Logout.Agent();
     Login.qaREO("Yeshh1", "Yeshh1");
     IfExists.Id_Refresh("globalPropertySearch");
     REOTasks.AssetMGRTasks();
     Logout.REO();
     Global.ConsoleOut("Run Amp Order Sync");
     Login.qaAgent("*****@*****.**", "blue123");
     Agent.OpenREOTasks("BPO task"); REOBPO.BPOtask();
     Agent.OpenREOTasks("BPO Pictures"); REOBPO.BPOPictures();
     Logout.Agent();
 }
Пример #2
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]");
        }