Probelm running non-mobile tests parall to mobile device

Mobile Testing, Android App Testing.
User avatar
amirb
Posts: 7
Joined: Tue May 28, 2013 9:24 am

Probelm running non-mobile tests parall to mobile device

Post by amirb » Tue Feb 25, 2014 10:53 am

Hello,
Lately we have encountered a problem to run un-mobile tests with a configured mobile device in the background, which is not connected at the current time of the run.
We have implemented an NLog to get a wider picture during the system run. On the log we have noticed the next error:

ERROR|Ranorex.Plugin.Mobile.Network.TcpNetworkChannelBase|Failed to create TCP network channel. System.TimeoutException: The operation has timed out.

Those errors caused our tests to crash on the IE browser with an "un-responded" error.
Finally, to solve this issue, we have reconfigured the mobile re-connection attempts to 0 uisng the global setting --> plugins configuration panel on the Ranorex IDE. This change had solved the error messages and by that solve the IE crashing issue.

This solution is only temporary for us, as the re-connection timeout parameter configuration can only be set to the all solution without discrimination to which project the configuration is applied to.
On our case, it's very relevant to distinguish between the different projects as one is configured to desktop tests and the other only to mobile tests.
We need a feature to enable us to determine separately on which project the re-connection parameter is applied to, under the project settings or by using code.
If we can apply the re-connection timeout value using the user code, we would very happy to get a full explanation on how to do that (code snipped) as soon as possible.

Please keep us updated.


Best Regards,
Amir Buchvalter
QA Automation
Innovid.com

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Probelm running non-mobile tests parall to mobile device

Post by Support Team » Fri Feb 28, 2014 12:10 pm

Hello Amir,

Thank you for the detailed description.
May I ask which version of Ranorex you are using? If you are not using the current version I suggest to upgrade Ranorex to 4.1.5 and check if the IE crashing issue still exists.
Additionally can you please check if the device is disabled or enabled when you run the test? Is this an iOS device or an Android device?
Thank you!

Regards,
Bernhard
.
Image