Page 1 of 1

How to click three different buttons w/ the text submit

PostPosted: Wed Apr 02, 2014 3:18 pm
by CGeorge
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!

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

PostPosted: Thu Apr 03, 2014 9:20 am
by eValid
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