Ranorex Interrupt the unzipping proses

Ask general questions here.
farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Ranorex Interrupt the unzipping proses

Post by farahsul » Wed Jun 08, 2011 8:53 am

Hi,

I am having a problem to update a system.
I am using a system that have to be update everyday.
when i make a test case to automatically update the system using Ranorex, somehow the upate proses is hang at 35% or 50%.
when i manually update the system, it is ok.

updating steps:
click windows - click system folder - double click system.exe
double click system.exe - download the update - download successful - unzipping the update
the unzipping hang at 35%.

Thank you.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Wed Jun 08, 2011 11:24 am

Hi,

it seems that Ranorex make all the steps correctly. If you invoke the "unzipping the update" action the program which should unzip the files hangs, does Ranorex perform another action after that call of the unzip action, or during these unzipping process? If not the replay should end after the call of the "unzipping the update" action so Ranorex cannot affect the unzipping process any more.
Please try to perform the single "unzipping the update" action and look if this works correctly.

Regards,
Markus
Ranorex Support Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Thu Jun 09, 2011 3:08 am

Hi,

I have try to stop the ranorex steps before the "unzipping update" part.
but the "unzipping update" still hangs, and the renorex test case already show a successful report.

updating steps:
click windows - click system folder - double click system.exe
double click system.exe - download the update - download successful - click ok -end

the unzipping automatically appear, and it hang at 35%.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Thu Jun 09, 2011 7:54 pm

farahsul wrote:I have try to stop the ranorex steps before the "unzipping update" part.
So all you used Ranorex for is to double click on the system.exe file in Windows Explorer? If that's right, then I don't know how Ranorex could influence the unzipping process, since the Ranorex process should already have exited when the unzipping starts.

Did you create the test case using the Ranorex Recorder or is it user code?
Is the system.exe file publicly available so we could try to reproduce the problem?

Regards,
Alex
Ranorex Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Fri Jun 10, 2011 4:08 am

I created the test case using the Ranorex Recoder.
My friend have try using usercode, but also encounter the same problem.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Fri Jun 10, 2011 10:53 am

Hi,

can you try to perform a double click on the system.exe and if this didn't work please answer the following questions?

So all you used Ranorex for is to double click on the system.exe file in Windows Explorer or are there any other actions Ranorex performs?
Is the system.exe file publicly available so we could try to reproduce the problem?

Regards,
Markus
Ranorex Support Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Fri Jun 10, 2011 11:11 am

Hi,

For your question, yes, the ranorex is just use to open the system. let me gave more detail steps that i have record using the i-spy.

windows - system folder (right click, choose open), system sub folder (right click, choose open), system.exe (right click, choose open).

the system will prompt the login screen and update message at the same time, click "OK" button at first update,then download update begin, and click "OK" button again to finish the download.

after that it will automatically unzip the downloaded update.
unzipping end, log in screen appear.

but using the ranorex, the unzipping hang at 35%.

so, apart from clicking open the system.exe, ranorex also click the "OK" button on the downloaded update part.

system.exe is not publicly available, but we can try to use the team viewer to replicate this issue.
my location timezone is (+8 hours) Kuala Lumpur

Regards,
Nazira

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Fri Jun 10, 2011 11:33 am

Hi,

Can you please send us a screenshot of your recording? You can post it in the forum or if you like you can send it to our e-mail support team: [email protected]

Regards,
Markus
Ranorex Support Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Mon Jun 13, 2011 3:08 am

Hi,

I have attached a screenshots of the update recording.
Thank you.

Farah
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Tue Jun 14, 2011 9:58 am

Hi,

Thank you for the screenshot.
We have seen is that you never perform a "double" click as you have mentioned before and that you perform several steps in your recording.
To evaluate each step can you try to run each single step (right click on an action and then "Play Selected Item/s")?
If the unzipping process still hangs please make a new recording with a single "Run Application" action, which should run your system.exe file and perform all the other clicks by your self.
If this was successful add the other actions step by step and look after which action the process hangs.

Regards,
Markus
Ranorex Support Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Mon Jun 20, 2011 2:42 am

Hi,

Thank you ofr the help.
I never use the "run application" action before,
could you please tell me how does the "run application" works?
do you have any recording example?

Thank You,
Farah

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Mon Jun 20, 2011 12:29 pm

Hi,

On the Ranorex Studio Start-page you will find a sample named VIPApplication. Inside this solution you will find a recording named "StartSystemUnderTest". This recording uses the run application action. The "run application" action works in the same way as the Process.Start("string"); method. Just add a new "run application" action to your recording and open the dialog where you can select your unit under test. That's all.
I would suggest you to read our User Guide http://www.ranorex.com/support/user-guide-20.html

Regards,
Peter
Ranorex Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Thu Jun 23, 2011 9:07 am

Hi,

I have try using "run application" action on the system.exe.
and i still have the problem with it.
the action can not open the system at all.
does the ranorex file clash with the system.exe file.
here some screenshot of the message and also the recording.

Thank you
Farah
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Ranorex Interrupt the unzipping proses

Post by Support Team » Thu Jun 23, 2011 6:05 pm

Hi,

We've never seen such a issue before. It if you start your application using Ranorex, your application cannot find the file "dataconfiguration.config". Does this error occur too when you start your application without Ranorex? Maybe the working directory is not correct. Did you aks one of your developers if your exectuable needs a special working directory?
Would it be possible to send us your application, so we can reproduce the issue on our side?

Regards,
Peter
Ranorex Team

farahsul
Posts: 8
Joined: Wed Jun 08, 2011 8:42 am

Re: Ranorex Interrupt the unzipping proses

Post by farahsul » Fri Jun 24, 2011 4:28 am

Hi,

If I start the system.exe using Ranorex, it will prompt me the message.
When I manually open the system.exe, without the ranorex, the application is successfully started.

other than send the application, we can try to use team viewer.
set a date and time, so that we both online at the same time.

Farah