public void TC_005_02_Add_Tag()
        {
            var tag = GlobalDefinitions.ExcelLib.ReadData(RowNumber, "Tags");

            shareSkill.EnterTag(tag);
            shareSkill.AddTag();

            Assert.IsTrue(shareSkill.GetAddedTagNameText().Contains(tag));
        }
Ejemplo n.º 2
0
        public void AddSkillShareCreditHidden(int rownum)
        {
            _test = _extent.CreateTest("Share Skill with Service Disabled");
            _test.Log(Status.Info, "Browser Initialisation");
            Login Obj1 = new Login(driver, rownum);

            Obj1.LoginPage(driver);
            ShareSkill Obj2 = new ShareSkill(driver, rownum);

            _test.Log(Status.Info, "ShareSkill Page is Opened");
            Obj2.ShareSkillPage();
            Obj2.SelectCategory();
            Obj2.SelectSubCategory();
            Obj2.EnterTag();
            Obj2.LocationTypeOnLine();
            Obj2.ServicetypeHourly();
            Obj2.ShareSkillPageRemaining();
            Obj2.SkillExchange();
            Obj2.HiddenshareSkill();
            Obj2.SaveShareSkill();
            _test.Log(Status.Info, "ShareSkill is Saved");
            Thread.Sleep(3000);
            Managelisting Obj3 = new Managelisting(driver, rownum);

            Obj3.ManageListingHidden();
            _test.Log(Status.Pass, "Assert Pass as condition is True and Manage listing is Hidden");
        }
Ejemplo n.º 3
0
        public void AddSkillShareSkillExchangeActive(int rownum)
        {
            _test = _extent.CreateTest("Add Shareskill with Service Enabled");
            _test.Log(Status.Info, "Browser Initialisation");
            Login Obj1 = new Login(driver, rownum);

            Obj1.LoginPage(driver);
            ShareSkill Obj2 = new ShareSkill(driver, rownum);

            _test.Log(Status.Info, "ShareSkill Page is Opened");
            Obj2.ShareSkillPage();
            Obj2.SelectCategory();
            Obj2.SelectSubCategory();
            Obj2.EnterTag();
            Obj2.LocationTypeOnsite();
            Obj2.ServiceTypeOne_off();
            Obj2.ShareSkillPageRemaining();
            Obj2.SkillExchange();
            Obj2.ActiveShareSkill();
            Obj2.SaveShareSkill();
            _test.Log(Status.Info, "ShareSkill is Saved");
            Thread.Sleep(3000);
            Managelisting Obj3 = new Managelisting(driver, rownum);

            Obj3.ManageListingsActive();
            _test.Log(Status.Pass, "Assert Pass as condition is True and Manage listing is Active");
        }