Page 1 of 1

Trouble with a form webpage

PostPosted: Thu Feb 27, 2014 11:12 am
by FrancesB
Hiya. I hope you can help me out with this problem.

I've got this simple form on a JavaScript/AJAX application where the user is supposed to select Gender = Male or Gender = Female.

My recorded script works everywhere else, but not on this particular element.

How do I get it to work?

Need help

Thanks

Re: Trouble with a form webpage

PostPosted: Fri Feb 28, 2014 11:34 am
by eValid
FrancesB wrote:Hiya. I hope you can help me out with this problem.

I've got this simple form on a JavaScript/AJAX application where the user is supposed to select Gender = Male or Gender = Female.

My recorded script works everywhere else, but not on this particular element.

How do I get it to work?

Need help

Thanks


Hey FrancesB.

Thanks for posting.

We have seen this kind of thing before with AJAX pages. Standard HTML FORM processing is OK, but when AJAX is involved it gets more complex.

The solution is to do something like this (you will have to fill in the correct syntax):

IndexSet 0
IndexFindElement 0 "some fixed point on the page"
IndexElementClick 0

This will send a click event to the browser face at the element where you have found the fixed point.

If this does not work you may want to try to replace the IndexElementClick, with an IndexFollowLink...No_NAV, which is an event in the browser that forces an interrogation of the server (same comment on command syntax):

IndexSet 0
IndexFindElement 0 "some fixed point on the page"
IndexFollowLink 0 "" NO_NAV


The NO_NAV is to suppress the normal navigational wait loops that eValid follows when there is a conventional FollowLink (i.e. processing an anchor tag element).

Hope this helps you overcome your problem.

--eValid Support