Say I need to submit a form on the 'Classes' page. I am testing the 'enroll into class' feature. Do I navigate to the page by clicking on the menu bar, or do I just directly open the URL of the page?
Asked
Active
Viewed 46 times
-2
-
are you trying to test the function on the page, the menu, or the whole workflow from the point somebody logs into the application? – TZHX Jan 24 '23 at 11:53
2 Answers
0
It depends on the scenario you need to test.
As an autoimation engineer you need to work according to the documentation.
If no scenario defined you can choose easiest way to do that.

Prophet
- 32,350
- 22
- 54
- 79
0
Incase clicking on the menu bar is the part of your @Test
, you have to access the base page and navigate to the desired page by invoking click() on the menu bar.
Else you can directly open the URL of the page.

undetected Selenium
- 183,867
- 41
- 278
- 352