/servicenow-selenium-testing

This repository contains demo test scripts of service now website automation with selenium webdriver

Primary LanguageJava

Don't forget to give a ⭐ to make the project popular.

❓ What is this Repository about?

  • This repo contains example code of running web automation tests using Selenium WebDriver for ServiceNow Demo website on LambdaTest Cloud platform
  • This project uses Maven as build tool and TestNG framework to run the tests.

Running the Tests

By default, tests would be running on LambdaTest Platform on Chrome and Firefox Browsers.

  1. To run the test from command line use the following command:

    • mvn test -DLT_USERNAME=<LambdaTest username> -DLT_ACCESS_KEY=<LambdaTest_Access_Key> -Dwebsite_username=<ServiceNow app username> -Dwebsite_password=<ServiceNow app password>
  2. To run the tests using TestNG in intelliJ:

    • Right click on testng.xml and select Run '...\testng.xml username and access key in the VM option as follows: -DLT_USERNAME=<LambdaTest username> -DLT_ACCESS_KEY=<LambdaTest_Access_Key> -Dwebsite_username=<ServiceNow app username> -Dwebsite_password=<ServiceNow app password>

🧬 Need Assistance?

  • Discuss your queries by writing to me @ mohammadfaisalkhatri@gmail.com OR ping me on any of the social media sites using the below link:

💭 Checkout the blogs related to Testing on website and [medium-account]medium