Issue
I want to test the connectivity icon in 3 cases :
When the connection status is fine
When few heartbeats were missed and/or if the web socket is closed.
When no internet
In Case one i can test it because i'm always connected to the internet but others i can't.
PS: I'm using TestNG with Appium and Java
What do you suggest ?
Solution
driver.ConnectionType = ConnectionType.None;
Or something like this. In this case driver
is AndroidDriver instance for appium tests
Answered By - Maxim Karnaukh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.