Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99413

Page Object Pattern - navigation [duplicate]

$
0
0

I will create automation test project and I have simple question according to navigation in Page Object. For example I have LoginPage and WelcomePage (displayed after login user), and here is a question, in LoginPage class should I return object of WelcomePage after clickLogin(), or I shouldn't return anything and and in test file create WelcomePage and do actions from WelcomePage class? What is the right solution?


Viewing all articles
Browse latest Browse all 99413

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>