コード例 #1
0
        public void EditSkillShareCreditHidden(int rownum)
        {
            _test = _extent.CreateTest("Edit Share Skill with Skill Trade as Skill Exchange and change it to Credit");
            _test.Log(Status.Info, "Browser Initialisation");
            Login Obj1 = new Login(driver, rownum);

            Obj1.LoginPage(driver);
            Managelisting Obj3 = new Managelisting(driver, rownum);

            Obj3.NavigateManageListing();
            Obj3.EditManageListing();
            ShareSkill Obj2 = new ShareSkill(driver, rownum);

            _test.Log(Status.Info, "ShareSkill Page is Opened");
            Obj2.EditTitle();
            Obj2.SelectCategory();
            Obj2.SelectSubCategory();
            Obj2.EditTag();
            Obj2.LocationTypeOnLine();
            Obj2.ServicetypeHourly();
            Obj2.ShareSkillPageRemaining();
            Obj2.EditCreditExchange();
            Obj2.ActiveShareSkill();
            Obj2.SaveShareSkill();
            _test.Log(Status.Info, "ShareSkill is Saved");
            Thread.Sleep(3000);
            Obj3.ValidateEditManageListing();
            _test.Log(Status.Pass, "Assert Pass as condition is True and Manage listing is Hidden");
        }