public void ShareSkill() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("ShareSkill"); //Create a Class & an Object to call the method ShareSkill SK = new ShareSkill(); SK.ClickOnShareSkillButton(); SK.EnterTitle(); SK.EnterDescription(); SK.SelectCategoryDropDown(); SK.SelectSubCategoryDropDown(); SK.SelectTags(); SK.SelectLocationTypeOptions(); SK.SelectStartDateDropDown(); SK.SelectEndDateDropDown(); SK.SelectDays(); SK.SelectStartTimeDropDown(); SK.SelectEndTimeDropDown(); SK.SelectSkillTradeOption(); SK.SelectSkillExchangeOption(); SK.SelectActiveOption(); SK.UploadWorkSamplesAutoIt(); SK.ClickSave(); }
public void ManageListings() { // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("ManageListings"); // Because of application problem we need to click Skill button first, then ManageListings Link //Create a Class & an Object to call the Shareskill method ShareSkill SK = new ShareSkill(); //Create a Class & an Object to call the ManageListings method ManageListings ML = new ManageListings(); SK.ClickOnShareSkillButton(); ML.ClickOnmanageListingsLink(); //ML.ClickView(); ML.Clickedit(); ML.Clickdelete(); }