public void ManageList()
 {
     Thread.Sleep(2000);
     // Navigate to page Manage Listing
     ManageListing.Click();
     ActiveServic.WaitForElementClickable(driver, 60);
     ActiveServic.Click();
     Thread.Sleep(3000);
 }
Exemplo n.º 2
0
        public void DeleteData()
        {
            Thread.Sleep(7000);
            ManageListing.Click();

            Thread.Sleep(7000);
            DeleteIcon.Click();

            ConfirmYes.Click();
        }
        public void EditServiceList()
        {
            Thread.Sleep(2000);
            // Navigate to page Manage Listing
            ManageListing.Click();
            // click on Edit button
            Edit.WaitForElementClickable(driver, 60);
            Edit.Click();
            // Update existing data
            ShareSkills edit = new ShareSkills();

            edit.EditSkill();
        }
        public void ViewServiceList()
        {
            Thread.Sleep(2000);
            // Navigate to page Manage Listing
            ManageListing.Click();
            // View Service Listing
            view.WaitForElementClickable(driver, 60);
            view.Click();
            Thread.Sleep(3000);
            // Validate view listing through Page title
            String actualTitle = driver.Title;

            Assert.AreEqual(actualTitle, "Service Detail");
        }
Exemplo n.º 5
0
        public void EditData()
        {
            Thread.Sleep(7000);
            ManageListing.Click();

            Thread.Sleep(7000);
            EditIcon.Click();

            Thread.Sleep(7000);
            Service.Click();

            Thread.Sleep(6000);
            Save.Click();
        }
Exemplo n.º 6
0
 internal void GoToManageListing()
 {
     GlobalDefinitions.wait(30);
     ManageListing.Click();
 }