Spy vs recorder

Ranorex Studio, Spy, Recorder, and Driver.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Spy vs recorder

Post by Support Team » Mon Dec 05, 2011 12:30 pm

Hi,

Good news that it works now on your side. About the second issue did you try to add a delay after you close the application. It seems that Ranorex is too fast and therefore the second iteration doesn't work.
Would it be possible to post your repository too, because I need this to open your recording.

Thanks in advance.

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Mon Dec 05, 2011 1:10 pm

i added "wait for not exist" and a delay.

The delay 30s doesn't work, a delay 5m is required to make the second iteration work.

herewith the repository.

grtz,

Kurt

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Spy vs recorder

Post by sdaly » Mon Dec 05, 2011 2:54 pm

Can't you just remove the @displayname='InputModuleMapView3619' attribute from the path or change it to @displayname~'InputModuleMapView.*' ??

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

Re: Spy vs recorder

Post by Support Team » Tue Dec 06, 2011 12:51 pm

Hi Kurt,

Please tell your developers to execute following event when they close the application
http://help.adobe.com/en_US/FlashPlatfo ... nt:exiting

This could also cause that Ranorex can't close the pipe correctly.

Thank you.

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Tue Dec 06, 2011 2:35 pm

Ok, Thx.

So i suppose the ranorexlib is listening to this event ?

Note: Calling the NativeApplication exit() method does not cause an exiting event to be dispatched. To warn components of an impending exit, dispatch the exiting event before calling exit().


I'll let you know when i have tested the modified version with exiting event dispatched.

Regards,

Kurt

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

Re: Spy vs recorder

Post by Support Team » Tue Dec 06, 2011 3:32 pm

topcatalpha wrote:So i suppose the ranorexlib is listening to this event ?
Yes that's true, we are listening on this event and therefore the pipe doesn't close with your application.

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Thu Dec 08, 2011 11:01 am

Hi,

Our developers have implemented the code to trigger the event, but without any improvement.
We cannot verify if the event in ranorexlib is triggered. Can you verify this ?
i added the latest main.swf.

Grtz,

Kurt

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

Re: Spy vs recorder

Post by Support Team » Thu Dec 08, 2011 12:32 pm

Hi Kurt,
topcatalpha wrote:We cannot verify if the event in ranorexlib is triggered. Can you verify this ?
Of course we will verify this and let you now the output. I will post you the outcome when we've done the verification.

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Fri Dec 09, 2011 2:42 pm

k Thx,

is there some logging in the ranorexlib that we can activate ? to debug on our side ?
Or can we call a ranorex function to close the socket ?

grtz,

kurt

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

Re: Spy vs recorder

Post by Support Team » Mon Dec 12, 2011 10:53 am

Hi Kurt,

We tried the new app you posted us and it seems to work now. You could use TCP View to check if the listener closes correctly. We use the same tool to verify if it works as expected.

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Tue Dec 13, 2011 11:11 am

So, if 2 iterations (openening and closing our app in one iteration) works on your site, it must be a local problem on my PC then ?

i added some screenshots from the tcpviewer with comments.

Newprojectrunner seems to have a problem with reconnecting to our app ?

can you please check those screenshots.

Thx,

Kurt

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Tue Dec 13, 2011 11:13 am

and the other 2 screenshots. :-)

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

Re: Spy vs recorder

Post by Support Team » Tue Dec 13, 2011 2:33 pm

Hi Kurt,

This is strange, but we fixed another issue which seems similar to yours. I would suggest you to wait for Ranorex 3.2 which will be available this week. Maybe we solved the issue with the iterations. Is this okay for you?

Regards,
Peter
Ranorex Team

topcatalpha
Posts: 47
Joined: Tue Sep 06, 2011 7:48 am

Re: Spy vs recorder

Post by topcatalpha » Tue Dec 13, 2011 4:20 pm

Sure,

Thx,

Kurt

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

Re: Spy vs recorder

Post by Support Team » Wed Dec 14, 2011 10:01 am

Ranorex 3.2 has been released. Could you please check if this version fixes your issues? Thank you!
http://www.ranorex.com/download.html

Regards,
Alex
Ranorex Team