r/softwaretesting • u/josephadam1 • Aug 14 '26
What’s the best practice for Java page object, testng, and using a xml to have test run different pages?
For instance if you need to run a test procedure like a regression test that goes from dashboard, clicks hamburger, then goes to search page searches for a project of record, then clicks time slice and then does only certain test from the test procedure.
So I wanna only call one or two from each test page. So one from hamburger, two test from search, and two from timr slice page. How can I do this in a flow type of way?
What’s the best way to go about this.
4
Upvotes
2
u/Otherwise_Tough_8283 Aug 15 '26
Use groups and create a separate profile in your pom.xml for regression
1
u/[deleted] Aug 14 '26
[removed] — view removed comment