コード例 #1
0
        public void EditShareSkill()
        {
            SignIn.OpenForm();
            SignIn.FillCredentials(2);

            //Check if the user is able to access the "Share-Skill" function
            ProfilePages.GoToManageListing();

            //Check if the user is able to access the "Share-Skill" function
            ManageListingPage.EditListing();

            //Check if the user is able to fill the Edit "Share-Skill" details
            ShareSkillPage.EditShareSkill(3);

            //Check if the changes can be seen in the "Manage Listage
            ManageListingPage.CheckListing(3);
        }
コード例 #2
0
        public void EditShareSkillTest()
        {
            try
            {
                test = extent.CreateTest("Edit Share Skill Test Passed");

                //page object for ShareSkill page
                ShareSkillPage shareSkillObj = new ShareSkillPage();
                //navigate to ShareSKill
                shareSkillObj.navigateToShareSkill(driver);
                //Edit Share Skill
                shareSkillObj.EditShareSkill(driver);
            }
            catch (NoSuchElementException e)
            {
                test.Fail(e.StackTrace);
            }
        }
コード例 #3
0
 public void WhenTheUserClicksTheEditButtonOfASharedSkill()
 {
     ManageListingPage.EditListing();
     ShareSkillPage.EditShareSkill(3);
 }