Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.25 KB

Cliqz Mobile Tests

Shared mobile automation using the Appium Framework.

Running Appium Tests:

1. Clone the Repository

2. Install Dependencies:

sh scripts/setup.sh

3. Run Tests:

sh runTests

Arguments:

  • testCaseNames :: Pass the test method names (separated by white spaces) if you want to run only specific test cases.

Example:

sh runTests test01_001_Onboarding

(Will run only the test01_001_Onboarding Test Method)

NOTE:

  • IMPORTANT: Please set the ANDROID_HOME and JAVA_HOME as environment variables to allow Appium to work properly.
  • Do Not Forget to set the required environment variables in scripts/envs.sh.
  • You Can find the list of test methods in testSuites/Test Cases.txt file.

4. Debugging the Test Results:

  • devicelog.log :: Contains the full log of the Device during the Test Run.
  • scriptlog.log :: Contains the Full log of the Script Run during the Test Run.
  • appium.log :: Contains the full log of the Appium Server during the Test Run.
  • test-reports (folder) :: Contains the Report file in XML format.
  • screenshots (folder) :: Contains the screenshots of the Test Run (Mostly of Failed Test Cases).