Ranorex for Andorid Emulator App testing integrate Jenkins.
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
OK, try this. Let Jenkins to create the emulator and install the APK into it and skip the Ranorex step. Then try to manually run the emulator with installed APK. Just to be sure the emulator alone works.
BTW, are you sure the APK you installing to emulator is instrumented with Ranorex? Ranorex is not able to automate a non-instrumented application!
BTW, are you sure the APK you installing to emulator is instrumented with Ranorex? Ranorex is not able to automate a non-instrumented application!
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
I checked manually existing emulators app is install and open or not.It is installed and also app is opening.
I already tried in different ways.In Jenkins i configure below steps,
1. Create Emulator
2. Install apk
3. Open/run apk
4.Execute Ranorex Scripts
Some times skip step 3 in above. because Ranorex Record scripts automatically open app in emulator.
I configure Jenkins create emulator and run Ranorex Scripts, and i escaped installing apk file. After run job i got same error.
C:\Users\Ashok\.jenkins\jobs\RanorexAnroidEmulator\workspace>.\AndroidEmulator\bin\Debug\AndroidEmulator.exe /tc:TestCase /rf:.\Reports\23\23\Report.html
[2015/03/30 18:14:50.357][Debug ][Logger]: Console logger starting.
[2015/03/30 18:14:50.604][Info ][Test]: Test Suite 'AndroidEmulator' started.
[2015/03/30 18:14:50.650][Info ][Test]: Test Case 'TestCase' started.
[2015/03/30 18:14:50.663][Info ][Test]: Test Module 'Recording1' started.
[2015/03/30 18:14:50.748][Info ][Application]: Run mobile app 'com.gorillalogic.monkeytalk.demo1' on device 'emulator-5554'.
[2015/03/30 18:16:11.074][Error ][Module]: Failed to start app 'com.gorillalogic.monkeytalk.demo1' because the app started event was not received within the specified timeout of '00:01:20'.<br/>The operation has timed out.
[2015/03/30 18:16:11.175][Failure][Test]: Test Module 'Recording1' completed with status 'Failed'.
[2015/03/30 18:16:11.176][Failure][Test]: Test Case 'TestCase' completed with status 'Failed'.
[2015/03/30 18:16:11.190][Failure][Test]: Test Suite 'AndroidEmulator' completed with status 'Failed'.
[2015/03/30 18:16:11.255][Debug ][Logger]: Console logger stopping.
Testing team sent to me screenshots of Ranorex config. I can attach below.
I already tried in different ways.In Jenkins i configure below steps,
1. Create Emulator
2. Install apk
3. Open/run apk
4.Execute Ranorex Scripts
Some times skip step 3 in above. because Ranorex Record scripts automatically open app in emulator.
I configure Jenkins create emulator and run Ranorex Scripts, and i escaped installing apk file. After run job i got same error.
C:\Users\Ashok\.jenkins\jobs\RanorexAnroidEmulator\workspace>.\AndroidEmulator\bin\Debug\AndroidEmulator.exe /tc:TestCase /rf:.\Reports\23\23\Report.html
[2015/03/30 18:14:50.357][Debug ][Logger]: Console logger starting.
[2015/03/30 18:14:50.604][Info ][Test]: Test Suite 'AndroidEmulator' started.
[2015/03/30 18:14:50.650][Info ][Test]: Test Case 'TestCase' started.
[2015/03/30 18:14:50.663][Info ][Test]: Test Module 'Recording1' started.
[2015/03/30 18:14:50.748][Info ][Application]: Run mobile app 'com.gorillalogic.monkeytalk.demo1' on device 'emulator-5554'.
[2015/03/30 18:16:11.074][Error ][Module]: Failed to start app 'com.gorillalogic.monkeytalk.demo1' because the app started event was not received within the specified timeout of '00:01:20'.<br/>The operation has timed out.
[2015/03/30 18:16:11.175][Failure][Test]: Test Module 'Recording1' completed with status 'Failed'.
[2015/03/30 18:16:11.176][Failure][Test]: Test Case 'TestCase' completed with status 'Failed'.
[2015/03/30 18:16:11.190][Failure][Test]: Test Suite 'AndroidEmulator' completed with status 'Failed'.
[2015/03/30 18:16:11.255][Debug ][Logger]: Console logger stopping.
Testing team sent to me screenshots of Ranorex config. I can attach below.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
I attached screenshots of Ranorex Config
You do not have the required permissions to view the files attached to this post.
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Scrrenshots of Device configure for Testing team
You do not have the required permissions to view the files attached to this post.
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi,
My problem is not resolved. Still working in Ranorex for Android Emulator app testing in Jenkins.
I think the issue is, it is not testing the new emulator versions and devices of existing record scripts. I am not a tester, my job is integrate Testing scripts/tools in Jenkins.
How to use existing record scripts for testing diif. emulator versions/devices.
My problem is not resolved. Still working in Ranorex for Android Emulator app testing in Jenkins.
I think the issue is, it is not testing the new emulator versions and devices of existing record scripts. I am not a tester, my job is integrate Testing scripts/tools in Jenkins.
How to use existing record scripts for testing diif. emulator versions/devices.
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
As was stated earlier, the scripts MUST be designed with data driven approach in mind. If they aren't, then it will be difficult to get it to work in the situation you are describing.
Please talk to your Ranorex test developers and find out what you need to do to get it to work. They should know how to do it at the command-line, which is how you will do it in Jenkins.
Please talk to your Ranorex test developers and find out what you need to do to get it to work. They should know how to do it at the command-line, which is how you will do it in Jenkins.
Shortcuts usually aren't...
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hello ashokvaddevalli,
In general the connection to the Google emulator is some kind of time consuming and not stable. Please try to increase the connection timeout to a higher value (e.g. 10 minutes).
The timeout settings can be found in the General Settings dialog in Ranorex Studio -> Plugins -> Mobile section.
Maybe it is also better to use Genymotion in order to emulate android devices. Would this be an option for you?
I hope this solves your problem.
Regards,
Bernhard
In general the connection to the Google emulator is some kind of time consuming and not stable. Please try to increase the connection timeout to a higher value (e.g. 10 minutes).
The timeout settings can be found in the General Settings dialog in Ranorex Studio -> Plugins -> Mobile section.
Maybe it is also better to use Genymotion in order to emulate android devices. Would this be an option for you?
I hope this solves your problem.
Regards,
Bernhard
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi, thanks for your reply. My trail version is expired.I sent mail [email protected] for extension of my trail version.
I have an one question, every time running ranorex record scriptss in jenkins it is asking continuve evaluation or Install License or exit option screen. I manually choose continue evaluation option and after execcuting scripts. It is asking only trail version or license also. How to avoid this one in running ranorex record scripts in both Web app and mobile app testing in Jenkins. Suppose my RanorexAndroidApptesting Job in Jenkins it is running every night 12'o clock, how to avoid asking options for Ranorex Evalaution screen.
I can check open Ranorex Studio or Ranorex settings it is asking Continue evaluation or Install License in Welcome to Ranorex Evaluation screen.
Why it is asking, how to escape this one, any automation of do this one.
I have an one question, every time running ranorex record scriptss in jenkins it is asking continuve evaluation or Install License or exit option screen. I manually choose continue evaluation option and after execcuting scripts. It is asking only trail version or license also. How to avoid this one in running ranorex record scripts in both Web app and mobile app testing in Jenkins. Suppose my RanorexAndroidApptesting Job in Jenkins it is running every night 12'o clock, how to avoid asking options for Ranorex Evalaution screen.
I can check open Ranorex Studio or Ranorex settings it is asking Continue evaluation or Install License in Welcome to Ranorex Evaluation screen.
Why it is asking, how to escape this one, any automation of do this one.
You do not have the required permissions to view the files attached to this post.
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi,
Once you buy and install the license, you will no longer see this dialog. The trial version is not supposed to be used for production purposes or night tests. It's supposed to be used for evaluation purposes only.
Once you buy and install the license, you will no longer see this dialog. The trial version is not supposed to be used for production purposes or night tests. It's supposed to be used for evaluation purposes only.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi,
How to run existing Ranorex record test scripts in multiple Android emulator devices
In Jenkins how to run existing Ranorex record scripts in multiple Android emulator devices.
Regards,
Ashok Vaddevalli.
How to run existing Ranorex record test scripts in multiple Android emulator devices
In Jenkins how to run existing Ranorex record scripts in multiple Android emulator devices.
Regards,
Ashok Vaddevalli.
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi,
To be able to run the scripts on multiple devices/emulators, you need to use data-driven approach. Check for example this article (the same steps apply for Android)...
http://www.ranorex.com/support/user-gui ... evice.html
You may find many more discussions on that subject by searching this forum. Hope this helps?
To be able to run the scripts on multiple devices/emulators, you need to use data-driven approach. Check for example this article (the same steps apply for Android)...
http://www.ranorex.com/support/user-gui ... evice.html
You may find many more discussions on that subject by searching this forum. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 18
- Joined: Thu Mar 26, 2015 9:58 am
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
It is possible to avoid continue evaluation using Trail Version. I mean it is possible to skip continue evaluation or install license using trail version.
Regards,
Ashok
Regards,
Ashok
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
Hi,
I'm not sure I understand your question? If you don't own Ranorex license yet, you can use Ranorex in trial mode. Once you acquire license, you can install it to Ranorex so it will switch from trial mode to full version (basically the same as trial, just without the trial dialog).
If your trial period already expired and you need some more time for evaluation, you can ask Ranorex folks to extend your trial. Hope this helps?
I'm not sure I understand your question? If you don't own Ranorex license yet, you can use Ranorex in trial mode. Once you acquire license, you can install it to Ranorex so it will switch from trial mode to full version (basically the same as trial, just without the trial dialog).
If your trial period already expired and you need some more time for evaluation, you can ask Ranorex folks to extend your trial. Hope this helps?
Last edited by odklizec on Tue Apr 07, 2015 3:32 pm, edited 1 time in total.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex for Andorid Emulator App testing integrate Jenkins.
The Ranorex sales team ([email protected]) can EXTEND your trial under certain circumstances.
However, the only way to remove the trial warning dialog is to purchase a license.
A trial license should not be used for production test environments and test runs such as nightly runs, and will not work with continuous integration solutions like Jenkins because of the trial dialog. You should purchase a license.
Do not try to circumvent the trial license as that is illegal in most areas and please do not ask how to do it.
Again, the only way to remove the trial warning is to purchase the product.
Ranorex produces an amazing product for a very good price. It is well worth the expenditure. If you like the product please support their continued work by purchasing it.
However, the only way to remove the trial warning dialog is to purchase a license.
A trial license should not be used for production test environments and test runs such as nightly runs, and will not work with continuous integration solutions like Jenkins because of the trial dialog. You should purchase a license.
Do not try to circumvent the trial license as that is illegal in most areas and please do not ask how to do it.
Again, the only way to remove the trial warning is to purchase the product.
Ranorex produces an amazing product for a very good price. It is well worth the expenditure. If you like the product please support their continued work by purchasing it.
Shortcuts usually aren't...