Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created February 2, 2024 15:21
Show Gist options
  • Select an option

  • Save SarahElson/3d9ae2d85b9c9eed9431f18caef5e264 to your computer and use it in GitHub Desktop.

Select an option

Save SarahElson/3d9ae2d85b9c9eed9431f18caef5e264 to your computer and use it in GitHub Desktop.
How To Automate Login Page Using Selenium WebDriver
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="LambdaTest ECommerce Tests">
<test name="ECommerce Website Login tests on LambdaTest Cloud Grid on Chrome">
<parameter name="browser" value="chrome_cloud"/>
<classes>
<class name="io.github.mfaisalkhatri.LambdaTestECommerceTests">
<methods>
<include name="testLogin"/>
</methods>
</class>
</classes>
</test> <!-- Test -->
</suite> <!-- Suite -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment