Reputation: 307
During my test I need to login to the app. When in a certain mode the app requires a one time password. This is created for testers on a webpage that is periodically updated with new codes. Is it possible to open a browser window and interact with it and the app in a Xamarin UI Test.
Example :
app.Login(username, password);
app.MenuNavigation(MenuItems.PrivatePage);
app.EnterAccessCode(code);
//This is where I would need to enter the code from webpage.
Upvotes: 0
Views: 777
Reputation: 2881
If that browser is embedded inside your app through a webview or something else, the answer is yes. Otherwise no.
Upvotes: 2