Esempio n. 1
0
 public SearchPage(Window window)
 {
     this.searchwindow = window;
     rj             = new ReadJson("searchpage.json");
     standard       = new StandardOperations(window);
     searchpatients = new Dictionary <string, string>();
 }
Esempio n. 2
0
 //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);
 }
Esempio n. 3
0
 public AdditionalInfoPage(Window window)
 {
     this.additionalinfowindow = window;
     standard       = new StandardOperations(window);
     rj             = new ReadJson("additionalinfopage.json");
     additionalinfo = new Dictionary <string, string>();
     gpd            = new GetPatientData();
 }
Esempio n. 4
0
 public BasicInfoPage(Window window)
 {
     this.basicinfowindow = window;
     standard             = new StandardOperations(window);
     rj        = new ReadJson("addpatientpage.json");
     basicinfo = new Dictionary <string, string>();
     gpd       = new GetPatientData();
 }
Esempio n. 5
0
 public TestRunner()
 {
     launchapp     = Setup.launchPSC();
     application   = Setup.attachPSC();
     currentWindow = Setup.getWindow(application);
     search        = new SearchPage(currentWindow);
     standard      = new StandardOperations(currentWindow);
     tabs          = new Tabs(currentWindow);
 }
Esempio n. 6
0
        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();
        }