Page 1 of 1

An issue with constantly changing ID's in the input field

PostPosted: Thu Dec 19, 2019 10:21 am
by KeithB
Morning.

I have an issue:

I need help in manipulating an input type field.

In this field all the ID's are changing dynamically and there is nothing unique in this field.

Kindly help me in handling this situation.

Also any reference material to look at would appreciated.

Thanks

Re: An issue with constantly changing ID's in the input fiel

PostPosted: Fri Dec 20, 2019 8:58 am
by eValid
KeithB wrote:Morning.

I have an issue:

I need help in manipulating an input type field.

In this field all the ID's are changing dynamically and there is nothing unique in this field.

Kindly help me in handling this situation.

Also any reference material to look at would appreciated.

Thanks


Great question, thanks for asking KeithB.

Continually varying DOM content is normal, particular for AJAX-heavy pages compared with "static" pages where the content doesn't change.

The hard part of this is that you say there is "nothing unique in the field" and our approach is to find something unique in a field that is known geometrically to be close to the target.

For example, one index up or one index down.

The you use IndexFindElemet/IndexFindElementEx commands to find the index for an element in the adjacent page element, and then adjust the result by adding or subtracting from the found-index to yield the target index.

As a reminder, here are the commands you'll be using:

http://e-valid.com/Products/Documentati ... ation.html


-- eValid Support