Hi Guys,
Mobile automation is new to me. My current situation is this.
Starting an app through ranorex will work sometimes and sometimes it own't work.
It throws this error "Failed to start app '#app name#' because the app started event was not received within the specified timeout of '00:00:10 (+00:00:16)"
Any idea why this will happen time to time?
Below are the specifications:
IOS Mobile Automation
Iphone 5s
IOS version 9.2
Ranorex version 5.4.5
Failed to start app '#AppName#'
Re: Failed to start app '#AppName#'
I have a few questions:
/mobileapp[@title='come.myCompany.appName' and @devicename=$mobileDevice]
How this helps.
- How are you starting the app?
- Is '#AppName#' supposed to be a variable for your app? Variables in Ranorex repository items must be preceed with a $ symbol. So it should be $AppName without the quotes.
- Do you have multiple devices attached to your machine? If so, you need at add a variable to identify the device name. The device name is the exact display name of your device listed under Manage Devices. This includes leading and trailing white spaces.
/mobileapp[@title='come.myCompany.appName' and @devicename=$mobileDevice]
How this helps.
Re: Failed to start app '#AppName#'
Hi there,
Sorry should've been more specific. I do have the actual application name in there. I just used #AppName# to make it generic for this post.
I only have one device attached. The current issue is that now and then ranorex will throw the error I mentioned above which I have no idea why.
What I'm going to do for now is to try another IOS device using a different OS version to see if it's happening as well.
Sorry should've been more specific. I do have the actual application name in there. I just used #AppName# to make it generic for this post.
I only have one device attached. The current issue is that now and then ranorex will throw the error I mentioned above which I have no idea why.
What I'm going to do for now is to try another IOS device using a different OS version to see if it's happening as well.
Re: Failed to start app '#AppName#'
One thing I forgot to mention is that I'm not using a debug build of the application.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Failed to start app '#AppName#'
Hello alan722,
First, I would suggest trying to increase the Connect timeout in the Global Settings.
For example, please try to set the timeout to 30s.
If this doesn't solve the issue, I would suggest using the WiFi connection, which is generally more reliable.
For further investigation, it would be great if you could send the corresponding IPA file to [email protected].
I look forward to hearing from you.
Sincerely,
Johannes
First, I would suggest trying to increase the Connect timeout in the Global Settings.
For example, please try to set the timeout to 30s.
If this doesn't solve the issue, I would suggest using the WiFi connection, which is generally more reliable.
For further investigation, it would be great if you could send the corresponding IPA file to [email protected].
I look forward to hearing from you.
Sincerely,
Johannes
You do not have the required permissions to view the files attached to this post.