Hi,
I have installed the trial version of Ranorex
I am facing an issue at Validation when I freshly open my application for which I am doing the automation
I am automating a Java swing application. On search it returns me a table of data. Here I have to validate one value in the table for which I am using “Validate”.
I have two scenarios
Scenario 1:
1.Open the application “X”
2.do the recording and Validation using Ranorex for application “X”
3. On the same window of application “X”, Play the recorded Test
4.Result: Ranorex Test Passes
Scenario 2:
1.Open the application “X”
2.do the recording and Validation using Ranorex for application “X”
3.Close application “X”
4. Open the application “X” again
5. Play the recorded Test of Ranorex
6.Result: Ranorex Test Fails
How should I make sure Validate works everytime I open the application freshly(Which is expected in automation)?
Regards
Soumya
Validation not working when app is opened the next time
Re: Validation not working when app is opened the next time
Hi,
Unfortunately, it's impossible to tell what's wrong without some more details. Please answer these points:
- post exact error you are getting
- post element's (entire) xpath, as stored in repository
- post a Ranorex snapshot of the problematic element, saved both after first and second run. Learn how to create a snapshot here:
http://www.ranorex.com/support/user-gui ... files.html
Because you are a new member, with just single post, you will not be able to uploade the snapshots directly to your post. So please use a public file sharing service (onedrive, dropbox, etc...) and here post a link to zipped snapshots. Thanks.
Unfortunately, it's impossible to tell what's wrong without some more details. Please answer these points:
- post exact error you are getting
- post element's (entire) xpath, as stored in repository
- post a Ranorex snapshot of the problematic element, saved both after first and second run. Learn how to create a snapshot here:
http://www.ranorex.com/support/user-gui ... files.html
Because you are a new member, with just single post, you will not be able to uploade the snapshots directly to your post. So please use a public file sharing service (onedrive, dropbox, etc...) and here post a link to zipped snapshots. Thanks.
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: Validation not working when app is opened the next time
Hi,
Thanks for your Response.
I could find out that my application changes the order of container everytime because of which the expected element couldn't be found on given xpath.
I could write a generic xpath and it works Great.
Regards
Soumya
Thanks for your Response.
I could find out that my application changes the order of container everytime because of which the expected element couldn't be found on given xpath.
I could write a generic xpath and it works Great.
Regards
Soumya