public void GivenIClickOnLinkFromActionPallet(string link) { //PageClass_EnterStudyDetail page = new PageClass_EnterStudyDetail(driver); // etPage = hPage.clickActionPalletLink(link); hPage = new PageClass_Home(ObjectRepository.driver); ObjectRepository.etPage = ObjectRepository.hPage.clickActionPalletLink(link); }
public void GivenISelectedStudyHavingProtocolFromHomepPage(string studyname, string protocol) { hPage = new PageClass_Home(ObjectRepository.driver); ObjectRepository.etPage = hPage.SelectStudy(studyname, protocol); }