How to click three different buttons w/ the text submit

Applying eValid to AJAX applications that require advanced DOM-based methods.

How to click three different buttons w/ the text submit

Postby CGeorge » Wed Apr 02, 2014 3:18 pm

Afternoon:

I need to click on three different buttons but they all have the text "Submit" on them.

How do I do that in eValid?

I hope there is a an easy solution!
CGeorge
 
Posts: 1
Joined: Wed Apr 02, 2014 2:34 pm

Re: How to click three different buttons w/ the text submit

Postby eValid » Thu Apr 03, 2014 9:20 am

CGeorge wrote:Afternoon:

I need to click on three different buttons but they all have the text "Submit" on them.

How do I do that in eValid?

I hope there is a an easy solution!


Morning CGeorge. Thank for posting.

Here are the basic steps involved in use eVaild's Structural/Algorithmic testing process:

http://www.e-Valid.com/Products/Documen ... ocess.html

If you start at the top of the page and do an IndexFind for an element with "Submkt" you'll encounter the first one on the page, on on the page frame, starting from the upper left and moving down the page (increasing index numbers).

Let's say that you just did the required action on the first on. If you do another IndexFindElement you'll just find the same one, because the search always starts at "here"...the same index number.

But if you do this command:

IndexMove +1

then the internal pointer (we call it the "sourceIndex") no longer points at the one that matched, and now an IndexFindElement will find the second one of the three.

And so forth for the third one of your three.

You can all do this backwards by using variations of:

IndexMove -1
IndexFindElement ...UP...[rather than DOWN]...

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons