public void TC_004_01_Select_Category() { var category = GlobalDefinitions.ExcelLib.ReadData(RowNumber, "Category"); shareSkill.SelectCategory(category); Assert.AreEqual(category, shareSkill.GetCategoryText()); }
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"); }
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"); }
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"); }