Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Selenium testing suite uses a main driver script called Test1CH.java.  This script then calls each of the structure and tile scripts...

Tests for myucdavis have been implemented using Selenium web driver.  

The format and structure of the web driver approach is: -

Format & Structure :-

Test1Ch.java is the main file which calls all other files(Tile based) in the project.

Description:- 

The Selenium testing suite uses a main driver script called Test1CH.java.

This script then calls each of the structure and tile scripts. Each of the other scripts represents a particular tile.

The idea was that 2 or more people can work on different tiles at the same time. Here is the hierarchy of scripts

 

Structure Details:-

1)      Test1CH.java  = Has driver initialization logic as well as loads the initial home page. Then it calls each of the undermentioned scripts(Represents Tiles)

2)      LoginCh.java = This has Login as well as Logout Method.

3)      WelcomeUserNameCh.java = Has testing functionality for testing the Welcome UserName tile

4)      TheUpdaterCh.java = Has testing functionality for The Updater tile.

5)      IntroCh.java = Has testing functionality for Intro to myucdavis tile.

6)      MyScheduleCh  = Has testing functionality for mySchedule tile.

7)      SmartPollCh = Has testing functionality for Smart Poll tile.

8)      CampusCalendarCh = Has testing functionality for Campus Calendar tile.

9)      ThermalFeedbackCh = Has testing functionality for Thermal Feedback tile.

10)   StudentAdvisingCh = Has testing functionality for Student Advising tile.

11)   StudentEmployeesCh = Has testing functionality for Student Employees tile.

12)   MyHousingCh = Has testing functionality for myHousing tile.

13)   Weather = Has testing functionality for Weather tile.

14)   UCDWellness = Has testing functionality for UC Davis Wellness tile.

15)   MyAccounting = Has testing functionality for myAccounting tile.

 

To start the automation

1)      Export the files into a folder(Project)

2)      Open the project in Eclipse

3)      Right click on Test1Ch.java and run as Java Application

4)      It will run and print results on the Console.

UC Davis Mobile

Tests for UC Davis Mobile have been implemented using Appium.  The approach is:

...