コード例 #1
0
            public void Newskill()
            {
                test = extent.StartTest("New skill record added");
                Skills Skillobj = new Skills();

                //navigated and added new skill
                Skillobj.Addskill();

                test = extent.StartTest("Verified new skill added");
                //Verified skill has been added
                Skillobj.Verifyaddskill();

                test = extent.StartTest("Edit existing skill");
                //Navigate to skill tab and edit skill record
                Skillobj.EditSkill();

                //verify record has been updated
                test = extent.StartTest("Verify skill has been updated");
                Skillobj.VerifyEditskill();

                test = extent.StartTest("Existing skill record is deleted");
                //skill record is deleted
                Skillobj.Deleteskill();

                //verify record has been deleted
                test = extent.StartTest("Verify skill is deleted");
                Skillobj.Verifydeleteskill();
            }