SHARE
TWEET

Untitled

a guest Jun 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. LoginPage loginPage = new LoginPage(GetDriver());
  2. IMainPage mainPage = loginPage.loginWithUser(user);
  3.      
  4. public IMainPage loginWithUser(User user)
  5. {    
  6. //implement the actual action
  7. //return page object based on user.UserType (e.g. AMainPage or BMainPage)
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top