Validation failed. The element might no longer be available : Automation Tools

Validation failed. The element might no longer be available

Ranorex Spy, Recorder, and Studio.

Validation failed. The element might no longer be available

Postby swmatisa » Wed Nov 02, 2011 11:37 am

WinXP SP3 (WindowsUpdate done)
Ranorex 3.1.0
*********************************
Hello,
Sometimes when I try to validate a "please wait temporary form" I receive the following error messageBox:
Validation failed. The element might no longer be available

What can I do to validate a form that appear one or two seconds (in normal case)?

Thanks for your help
SW
swmatisa
 
Posts: 54
Joined: Fri Aug 05, 2011 8:52 am

Re: Validation failed. The element might no longer be available

Postby Support Team » Wed Nov 02, 2011 2:24 pm

Hi,

to learn how to handle popping up forms please have a look at following blog post:
http://www.ranorex.com/blog/handling-di ... up-windows

Regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Validation failed. The element might no longer be available

Postby swmatisa » Wed Nov 02, 2011 2:31 pm

Hello Tobias,

I think my question is not clear enough:
The message "Validation failed. The element might no longer be available" is generated by Ranorex Studio, when I try to validate a form...

Best regards
SW
swmatisa
 
Posts: 54
Joined: Fri Aug 05, 2011 8:52 am

Re: Validation failed. The element might no longer be available

Postby Support Team » Wed Nov 02, 2011 3:00 pm

Hi,

that's because the mentioned form is not available when the validation is executed.
So, you have to, somehow, make sure, that the evaluation will be executed, when the form is still visible.
It also might be, that identifying the mentioned control may take a while, based on the RanoreXPath.
So please make sure that you choose a RanoreXPath as few generally as possible.


Kind regards,
Tobias
Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Validation failed. The element might no longer be available

Postby swmatisa » Wed Nov 02, 2011 3:06 pm

Support Team wrote:that's because the mentioned form is not available when the validation is executed.
So, you have to, somehow, make sure, that the evaluation will be executed, when the form is still visible.
It also might be, that identifying the mentioned control may take a while, based on the RanoreXPath.
So please make sure that you choose a RanoreXPath as few generally as possible.

OK I understand, but it is not always possible, because I am in recording, not in running.

Best regards
SW
swmatisa
 
Posts: 54
Joined: Fri Aug 05, 2011 8:52 am


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron