public SearchPage(Window window) { this.searchwindow = window; rj = new ReadJson("searchpage.json"); standard = new StandardOperations(window); searchpatients = new Dictionary <string, string>(); }
//SampleTest Class Constructor to launch PSC and get the current window of PSC // [TestFixtureSetUp] public void SetupTest() { application = Setup.attachPSC(); currentWindow = Setup.getWindow(application); standard = new StandardOperations(currentWindow); search = new SearchPage(currentWindow); tabs = new Tabs(currentWindow); }
public AdditionalInfoPage(Window window) { this.additionalinfowindow = window; standard = new StandardOperations(window); rj = new ReadJson("additionalinfopage.json"); additionalinfo = new Dictionary <string, string>(); gpd = new GetPatientData(); }
public BasicInfoPage(Window window) { this.basicinfowindow = window; standard = new StandardOperations(window); rj = new ReadJson("addpatientpage.json"); basicinfo = new Dictionary <string, string>(); gpd = new GetPatientData(); }
public TestRunner() { launchapp = Setup.launchPSC(); application = Setup.attachPSC(); currentWindow = Setup.getWindow(application); search = new SearchPage(currentWindow); standard = new StandardOperations(currentWindow); tabs = new Tabs(currentWindow); }
public void SetupTest() { application = Setup.attachPSC(); currentWindow = Setup.getWindow(application); standard = new StandardOperations(currentWindow); search = new SearchPage(currentWindow); tabs = new Tabs(currentWindow); bip = new BasicInfoPage(currentWindow); aip = new AdditionalInfoPage(currentWindow); //Searching for the patient search.SearchPatient(searchpatient); search.SelectFirstSearchRecord(); }