I'm trying to automate the updating process of AUT. Our company have special app for updating, so called "UpdateServer".
While automating this process, i have trouble with Ranorex holding process of UpdateServer. There is moment when UpdateServer trying to update itself, but Ranorex blocking UpdateServer process and further updating is impossible till the moment test execution ends.
Is there any possible way to release our UpdateServer process without ending test execution?
How to get Ranorex stop holding process
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to get Ranorex stop holding process
Hi mihailo,
May I ask you to send a Ranorex snapshot of your application under test to: [email protected]
Alternatively, you can also upload the snapshot to the forum directly.
Thank you in advance.
Regards,
Robert
May I ask you to send a Ranorex snapshot of your application under test to: [email protected]
Alternatively, you can also upload the snapshot to the forum directly.
Thank you in advance.
Regards,
Robert
Re: How to get Ranorex stop holding process
Hi Robert!
Here's the snapshots of UpdateServer and UpdateServer Log Form (may be it will be usefull too)
Here's the snapshots of UpdateServer and UpdateServer Log Form (may be it will be usefull too)
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to get Ranorex stop holding process
Hello Mihailo,
Thank you for providing the snapshot files.
Ranorex uses the WinForms plugin and, therefore, WinForm-DLL’s for object recognition of your application. These DLLs are most presumably needed for your update process as well. In order to release the DLLs you will need to end the test execution at the point the update process starts. We would suggest splitting up your test into multiple executable files, e.g, one test executable for updating the Server and another one that is executed after the updating process.
Regards,
Robert
Thank you for providing the snapshot files.
Ranorex uses the WinForms plugin and, therefore, WinForm-DLL’s for object recognition of your application. These DLLs are most presumably needed for your update process as well. In order to release the DLLs you will need to end the test execution at the point the update process starts. We would suggest splitting up your test into multiple executable files, e.g, one test executable for updating the Server and another one that is executed after the updating process.
Regards,
Robert
Re: How to get Ranorex stop holding process
Hi Robert!
I appreciate your help.
Could you please tell me if i understand your advice correctly:
i need to create two Ranorex Projects - only this way i can get two executable test files?
By the way, is there any methods to automate execution of multiple executable test files, using Ranorex? I tried Ranorex Test Runner and it seems that it can only run one test project in a time.
I appreciate your help.
Could you please tell me if i understand your advice correctly:
i need to create two Ranorex Projects - only this way i can get two executable test files?
By the way, is there any methods to automate execution of multiple executable test files, using Ranorex? I tried Ranorex Test Runner and it seems that it can only run one test project in a time.
Re: How to get Ranorex stop holding process
You could use a batch file to run both tests. It would take the form:
MyTest1.exe
rem wait for the application under test to close.
MyTest2.exe
Or, you could use a continuous integration solution like Jenkins to run your tests in sequence, with a wait in-between.
MyTest1.exe
rem wait for the application under test to close.
MyTest2.exe
Or, you could use a continuous integration solution like Jenkins to run your tests in sequence, with a wait in-between.
Shortcuts usually aren't...
Re: How to get Ranorex stop holding process
Ok, i made it with a batch file)
Thanks everyone!
Thanks everyone!