Exemplo n.º 1
0
        public void Common_methods()
        {
            Global.Driver.wait(5);
            //Click on the Owners tab
            Ownertab.Click();

            //Click MyRequest tab
            MyRequesttab.Click();

            // CLick AddRequest tab
            AddRequesttab.Click();

            // CLick Duedate tab
            DueDate.Click();

            //send keys Description
            Description.SendKeys(ExcelLib.ReadData(3, "TestData"));
            //click savebutton
            SaveButton.Click();
            //click owner again
            Ownertab2.Click();
            //My Request again
            MyRequesttab2.Click();
            //Enter the value in the search bar
            SearchBar.SendKeys("Added for verification");
            Global.Driver.wait(5);

            //Click on the search button
            SearchButton.Click();
        }
Exemplo n.º 2
0
        public void Common_methods()
        {
            Global.Driver.wait(5);
            //Click on the Owners tab
            Tenanttab.Click();

            //Click MyRequest tab
            MyRequesttab.Click();
            //click add request tab
            Addrequesttab.Click();
            //click Select property
            SelectProperty.Click();
            //select dropdown
            SelectPropertydropdown.Click();
            //Type dropdown
            TypeDropDown.Click();
            TypeOption.Click();
            Message.SendKeys(ExcelLib.ReadData(3, "TestData"));
            SaveButton.Click();
            Tenanttab2.Click();
            MyRequesttab2.Click();
            //Enter the value in the search bar
            SearchBar.SendKeys("automate test for verification");
            Global.Driver.wait(5);

            //Click on the search button
            SearchButton.Click();
        }