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(); }