- This repo contains demo test automation code using the following websites:
- LambdaTest Selenium Playground
- LambdaTest E-Commerce Playground Website
- Maven is used as build tool in this project
- TestNG is used as testing framework for organizing and running tests and performing Assertions
- Tests are run on Chrome browser using LambdaTest Cloud grid
- For parallel execution, tests are run on Chrome, Firefox and Edge browsers using LambdaTest cloud grid
- Create an account on LambdaTest
- Use the LambdaTest Username and Password for running the tests by saving the values as environment variables
-
To run the test from command line use the following command:
mvn clean test
-
To run the tests using TestNG in intelliJ:
- Right click on
testng.xml
and selectRun '...\testng.xml
- Right click on
- Discuss your queries by writing to me @
mohammadfaisalkhatri@gmail.com
OR ping me on any of the social media sites using the below link:
- Selenium 4 WebDriver Hierarchy: A Detailed Explanation
- Different Types of Locators in Selenium WebDriver
- ExpectedConditions In Selenium: Types And Examples
- Understanding CSS Selectors in Selenium
- Selenium Pagination Tutorial: How to Handle Page Navigation
- How to Use Assert and Verify in Selenium
- How to Handle File Upload in Selenium
- How to Handle StaleElementReferenceException in Selenium
- How to Handle Mouse Actions in Selenium
- How To Automate Login Page Using Selenium WebDriver
- How To Take Full Page Screenshots In Selenium WebDriver
- Selenium Grid Tutorial: Parallel Testing Guide with Examples
- How to Use Breakpoints for Debugging in Selenium WebDriver
- How to Create TestNG.xml File in Eclipse
- How to Use Thread.sleep() in Selenium
- How to Handle Shadow Root in Selenium Java
- Handling “Element is Not Clickable at Point” Exception in Selenium
- How to Click Button in Selenium: A Complete Guide
- assertTrue() in Java: A Complete Tutorial
- How to Use @FindBy Annotation in Selenium Java
- How to Handle ElementClickInterceptedException in Selenium Java
- Thread.sleep() Method in Java – Complete Tutorial With Example
- Selenium Manager in Selenium 4.11.0: New Features and Improvements
- End to End testing using Selenium WebDriver and Java
- Writing Selenium Web Automation tests in Fluent way!
- How To Automate Shadow DOM In Selenium WebDriver?
- How to setup GitHub Actions for Java with Maven project?
- How to Automate ServiceNow with Selenium
- Cross browser testing in Selenium WebDriver