Versions Compared

Key

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

...

All files for the Selenium tests reside in the MyUCDavis folder in the repository.  Test1Ch.java is the main file which calls all other files(Tile based) in the project.  When adding or removing individual tests it will be necessary to modify the Test1Ch.java driver file to ensure they are properly called.

...

To start the automation:

  1. Export the files/Folder(MyUCDavis) from Bitbucket 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.

...

The UC Davis Mobile Appium tests are checked into the repository in BitBucket.

The test scripts are set up to run either on the appium simulator on on the device.

...

  1. Install Xcode(preferably from appstore)
  2. Install Homebrew
  3. Open cmd prompt & issue this command
    1. ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  4. Install Node.js
    1. Open a cmd prompt on your mac & give following command
    2. Brew install node
  5. Install appium
    1. npm install  -g grunt cli
    2. npm install –g appium
    3. npm install wd
    4. appium &(this will start appium server)
  6. Download the project files/Folder from Bitbucket.
  7. Open this file (AppiumIOSTest.java) in Eclipse(or whatever IDE tool you are using).
  8. Open the project in Xcode and run it on simulator
  9. Open another cmd prompt and cd to the folder where you have saved the AppiumIOSTest.java file
    1. mvn -Dtest=test.java.com.saucelabs.appium.AppiumIOSTest test
  10. Results will be printed on console

...


Here are the step by step instrcutions:
To Run The Automation Scripts
1) Download the folder AggieFeed from Bitbucket and install(or place or save) it in your local drive
2) Open a command prompt and type webdriver-manager start to start the webdriver
3) Open 2nd command prompt and CD to the local folder where you saved the AggieFeed folder.
4) type protractor conf.js to start the automation testing(or scripts)

...