I am trying to automate the Putty.
it works fine in first iteration but the moment it goes to second iteration ranorex is not able to click on the object(Putty) and in test report it says success.
the same thing happens for some other test cases also if I run 5 iteration may be 3 will run good and some time 2 iteration will fail(not always).
Any guidance??
Thanks
Problem in object identification with diffrent iteration
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Problem in object identification with diffrent iteration
Hi,
Which Ranorex version are you using?
Please also send us more information about your test environment, OS version, .Net version, tested technologies, ...
A Ranorex snapshot file of your application under test would also be great.
Following link will show you how to generate a snapshot file:
Creating Ranorex Snapshot Files.
You could add a Validate Exists action right before the click action in the action table, this will ensure that the element/application is successfully loaded when the click should be performed.
Are you using an attribute which will change after a restart of your application (like an ID)? In order to check if the RxPath is robust you can use the Spy tool to analyze if the used RxPath is after a restart of the AUT still valid.
This could be also a timing issue, you could try to increase the search timeout for the failed actions this could solve the second issue.
Regards,
Markus
Ranorex Support Team
Which Ranorex version are you using?
Please also send us more information about your test environment, OS version, .Net version, tested technologies, ...
A Ranorex snapshot file of your application under test would also be great.
Following link will show you how to generate a snapshot file:
Creating Ranorex Snapshot Files.
You could add a Validate Exists action right before the click action in the action table, this will ensure that the element/application is successfully loaded when the click should be performed.
Are you using an attribute which will change after a restart of your application (like an ID)? In order to check if the RxPath is robust you can use the Spy tool to analyze if the used RxPath is after a restart of the AUT still valid.
This could be also a timing issue, you could try to increase the search timeout for the failed actions this could solve the second issue.
Regards,
Markus
Ranorex Support Team
Re: Problem in object identification with diffrent iteration
I have icon at desktop that needs to double clicked
already tried that item exist
first iteration it does click.but in second iteration it does'nt click and shows the test case as pass.
Yes I already used Spy to analyze RxPath.
timing issue -- already included delay
already tried that item exist
first iteration it does click.but in second iteration it does'nt click and shows the test case as pass.
Yes I already used Spy to analyze RxPath.
timing issue -- already included delay
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Problem in object identification with diffrent iteration
Hi,
I did some basic tests with Putty on my machine, and in my case everything worked like a charm!
So please send us a Ranorex snapshot file from your system, of the icon where you want to double click on.
Following link will show you how to generate a snapshot file:
Creating Ranorex Snapshot Files.
It would also help us if you could illustrate your issue with some screenshots, because at the moment I have no clue why this shouldn't work.
Are you remotely working with Ranorex?
Regards,
Markus
Ranorex Support Team
I did some basic tests with Putty on my machine, and in my case everything worked like a charm!
So please send us a Ranorex snapshot file from your system, of the icon where you want to double click on.
Following link will show you how to generate a snapshot file:
Creating Ranorex Snapshot Files.
It would also help us if you could illustrate your issue with some screenshots, because at the moment I have no clue why this shouldn't work.
Are you remotely working with Ranorex?
Regards,
Markus
Ranorex Support Team
Re: Problem in object identification with diffrent iteration
Yes I am working on remote machine.I mean ranorex is installed in remote machine.Will try to send the snapshot.Also it's not only with Putty same thing happens with the X-lite also
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Problem in object identification with diffrent iteration
Hi,
Please also bear in mind the points about remotely working with Ranorex which are mentioned on the following link: Remotely Working with Ranorex.
Regards,
Markus
Ranorex Support Team
Please also bear in mind the points about remotely working with Ranorex which are mentioned on the following link: Remotely Working with Ranorex.
Regards,
Markus
Ranorex Support Team