Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Created September 13, 2024 11:19
Show Gist options
  • Save SarahElson/9b473a4b6fdfe95003bef9df885f2f2a to your computer and use it in GitHub Desktop.
Save SarahElson/9b473a4b6fdfe95003bef9df885f2f2a to your computer and use it in GitHub Desktop.
Selenium Pagination Tutorial: How to Handle Page Navigation
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Automating Pagination with Selenium">
<test name="Pagination tests - LambdaTest e-commerce website">
<classes>
<class name="io.github.mfaisalkhatri.paginationdemo.tests.SeleniumPaginationTests">
<methods>
<include name="testProductDetailsOnAllPage"/>
<include name="testFilterRecordsOnPage"/>
<include name="testSearchForProduct"/>
<include name="testPageNavigation"/>
</methods>
</class>
</classes>
</test>
</suite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment