RunMobileApp specifying the timeout

Mobile Testing, Android App Testing.
piotrn
Posts: 16
Joined: Fri Mar 25, 2011 3:04 pm

RunMobileApp specifying the timeout

Post by piotrn » Mon Aug 18, 2014 8:57 am

Hi

Is it possible to specify the timeout value that 'RunMobileApp' waits when starting the app before it throws

System.TimeoutException : Failed to start app 'xxx' because the app started event was not received within the specified timeout of '00:00:10'

In other words: Is it possible to define a longer timeout for the method above.

Regards
Piotr

piotrn
Posts: 16
Joined: Fri Mar 25, 2011 3:04 pm

Re: RunMobileApp specifying the timeout

Post by piotrn » Mon Aug 25, 2014 7:46 am

The timeout can be handled programmatically with:
Ranorex.Plugin.Mobile.RxIntegration.MobilePluginConfig.ConnectTimeout = YOURTIMEOUTVALUE; // in milliseconds

Cheers
Piotr