Skip to content

shwetaneelsharma/vigilant-funicular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

vigilant-funicular

This repository primarily contains tests written in two styes viz. using the traditional approach with Selenium (Java) + TestNG and using Applitools Selenium JAVA SDK.

Prerequisites

  1. The path for Chromedriver is set in your system. In TradtionalTests.java, modify the line #41 to reflect the path from your system.
  2. Certified on Chrome 78 and the corresponding Chromedriver https://chromedriver.chromium.org/downloads.
  3. Ensure TestNG plugin is enabled for your workspace so that you can run them as TestNG test/suite from your IDE, or else you can run them using the command line too.

Steps to run

  1. Clone the repository.
  2. Open the project in your favorite editor (Eclipse, IntelliJ IDEA).
  3. If using Eclipse, select the project in Project Explorer and click Project -> Clean.
  4. To run the complete test suite, right click on the testng.xml -> Run As -> TestNG Suite. Otherwise, run the Traditional and Visual AI tests, by right clicking on the TraditionalTests.java and VisualAITests.java respectively -> Run As -> TestNG Test (Feel free to use the shortcut when you figure it out).
  5. Observe that the Chrome browser opens up and all methods annotated as @Test start executing.
  6. The test results summary will be displayed in the console. Alternatively, it can also be viewed in the browser by accessing the html files created in the test-output directory.
  7. Navigate to Applitools dashboard to view the results.

Note for evaluators

  1. For both the approaches, I have created a TestNG test (@Test) for each of the 5 tasks mentioned on the Hackathon instructions page.
  2. For Visual AI tests, I have captured both baseline and checkpoint screenshots and annotated bugs and used Layout region wherever appropriate.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages