public void WhenINavigateToManageListingTabAndClickOnEditTheSkill()
        {
            Driver.TurnOnWait();
            var manageListing = new ManageListing();

            manageListing.EditManageListing();
        }
        public void ThenIShouldAbleToVerifyListingIsDeletedSuccessfully()
        {
            //Delete Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.ValidateDeletedDetails();
        }
        public void WhenINavigateToManageListingTabAndDeleteTheSkill()
        {
            Driver.TurnOnWait();
            var manageListing = new ManageListing();

            manageListing.DeleteManageListing();
        }
        public void ThenIShouldAbleToVerifySkillIsUpdatedSuccessfully()
        {
            //Edit Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.ValidateEditedDetails();
        }
        public void WhenIClickOnViewButton()
        {
            //View Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.ListingsView();
        }
Exemple #6
0
            public void DeactivateAService()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("Deactivate A Service Listing");

                // Calling Manage Listing and Deactivate a Service
                ManageListing ManageListingObj = new ManageListing();

                ManageListingObj.ViewManageListingPage();

                try
                {
                    bool status = ManageListingObj.DeActivateService();

                    Assert.False(status);

                    // Screenshot
                    string img = SaveScreenShotClass.SaveScreenshot(GlobalDefinitions.driver, "DeActivate Service");
                    test.Log(LogStatus.Info, "DeActivated Service Successfully" + img);
                }
                catch (Exception e)
                {
                    Base.test.Log(LogStatus.Error, "Error in De-Activating Service : " + e.Message);
                }
            }
Exemple #7
0
            public void DeleteManageListing()
            {
                ManageListing manageobj = new ManageListing();

                manageobj.DeleteListings();
                manageobj.ValidateDeletedDetails();
            }
        public void GivenIOpenManageListingPage()
        {
            //View Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.Listings();
        }
        public void GivenIOpenTheManageListingPage()
        {
            //Edit Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.OpenListings();
        }
Exemple #10
0
            public void EditManageListing()
            {
                ManageListing manageobj = new ManageListing();

                manageobj.EditListings();
                manageobj.ValidateEditedDetails();
            }
        public void GivenIClickOnEditButton()
        {
            //Edit Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.EditListings();
        }
        public void WhenIUpdateMySkill()
        {
            //Edit Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.EditDetails();
        }
        public void ThenIAmAbleToSeeTheListedSkill()
        {
            //View Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.ListingsVerify();
        }
        public void GivenIGoToManageListingPage()
        {
            //Delete Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.NavListings();
        }
        public void WhenIClickOnDeleteButton()
        {
            //Delete Manage Listing
            ManageListing manageobj = new ManageListing();

            manageobj.DeleteListings();
        }
Exemple #16
0
            public void ViewServiceListing()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("View A Listing");

                // View A Service Listing
                ManageListing ManageListingObj = new ManageListing();

                ManageListingObj.ViewManageListingPage();

                try
                {
                    string ActualResult = ManageListingObj.PerformAction("View");

                    //If Action Performed succesfully, page redirects to Service Detail Page
                    string ExpectedResult = "Service Detail";

                    Assert.AreEqual(ExpectedResult, ActualResult);

                    // Screenshot
                    String img = SaveScreenShotClass.SaveScreenshot(GlobalDefinitions.driver, "View Service");
                    test.Log(LogStatus.Info, "View Service Successfully" + img);
                }
                catch (Exception e)
                {
                    Base.test.Log(LogStatus.Error, "Error in View Service : " + e.Message);
                }
            }
Exemple #17
0
            public void DeleteServiceListing()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("Delete A Listing");

                // Remove a Service Listing
                ManageListing ManageListingObj = new ManageListing();

                ManageListingObj.ViewManageListingPage();

                try
                {
                    string ActualResult = ManageListingObj.PerformAction("Delete");

                    //If Action Performed succesfully, record cannot be found from ListingManagement
                    string ExpectedResult = "False";

                    Assert.AreEqual(ExpectedResult, ActualResult);

                    // Screenshot
                    string img = SaveScreenShotClass.SaveScreenshot(GlobalDefinitions.driver, "Delete Service");
                    test.Log(LogStatus.Info, "Delete Service Successfully" + img);
                }
                catch (Exception e)
                {
                    Base.test.Log(LogStatus.Error, "Error in Delete Service : " + e.Message);
                }
            }
Exemple #18
0
            public void DelSkill()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("Delete a skill");
                //Delete a listing
                ManageListing obj3 = new ManageListing();

                obj3.DeleteListing(GlobalDefinitions.Driver);
            }
Exemple #19
0
            public void ManageListing()
            {
                //Create Extent Report
                test = extent.StartTest("View Manage Listing");
                //View Manage Listing
                ManageListing manageobj = new ManageListing();

                manageobj.Listings();
            }
 public void ManageList()
 {
     Thread.Sleep(2000);
     // Navigate to page Manage Listing
     ManageListing.Click();
     ActiveServic.WaitForElementClickable(driver, 60);
     ActiveServic.Click();
     Thread.Sleep(3000);
 }
Exemple #21
0
            public void ManageListings()
            {
                test = extent.StartTest("Manage Listings of Skills");

                //Class and Object
                ManageListing listing = new ManageListing();

                listing.Listing();
            }
Exemple #22
0
            public void ViewandDelete()
            {
                test = extent.StartTest("Manage Listings of Skills");

                //Class and object 
                ManageListing view = new ManageListing();
                view.ViewListing();
                
            }
Exemple #23
0
            public void DeleteManageListing()
            {
                //Create Extent Report
                test = extent.StartTest("Delete Manage Listing");
                //Delete Manage Listing
                ManageListing manageobj = new ManageListing();

                manageobj.DeleteListings();
                manageobj.ValidateDeletedDetails();
            }
Exemple #24
0
            public void DeleteManageListings()
            {
                // Creates a toggle for the given test, adds all log events under it
                test = extent.StartTest("Delete share skill");

                // Create an class and object to call the method
                ManageListing obj = new ManageListing();

                obj.DeleteManageListing();
            }
        public void DeleteData()
        {
            Thread.Sleep(7000);
            ManageListing.Click();

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

            ConfirmYes.Click();
        }
Exemple #26
0
            public void EditManageListing()
            {
                //Create Extent Report
                test = extent.StartTest("Edit Manage Listing");
                //Edit Manage Listing
                ManageListing manageobj = new ManageListing();

                manageobj.EditListings();
                manageobj.ValidateEditedDetails();
            }
Exemple #27
0
        public void DelSkill()
        {
            //Populate Excel Sheet
            Helpers.ExcelLib.PopulateInCollection(@"C:\Users\Bhushan\source\repos\CompTask\CompTask\ExcelData\TestData.xlsx.xlsx", "ShareSkillTestData");

            //Delete a listing
            ManageListing obj3 = new ManageListing();

            obj3.DeleteListing(CommonDriver.Driver);
        }
Exemple #28
0
        public void ViewManageListing()
        {
            var SignIn = new SignIn();

            SignIn.SigninStep();
            Driver.TurnOnWait();;
            var manageListing = new ManageListing();

            manageListing.ViewManageListing();
            manageListing.ValidateViewManageListing();
        }
Exemple #29
0
        public void EditManageListing()
        {
            var SignIn = new SignIn();

            SignIn.SigninStep();
            Driver.TurnOnWait();
            var manageListing = new ManageListing();

            manageListing.EditManageListing();
            manageListing.ValidateEditSkill();
        }
        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();
        }