Forum Discussion
joe_2
12 years agoContributor
In your image, you can see that the user clicked at position 119,5 of the txtFilter object.
If the name of the txtFilter is not changing, then those coordinates will lie within it regardless of its position on the screen, assuming it didn't change size.
If the control will be changing size, then try changing the numbers to something that will always be within the smallest possible size. (You can change those numbers manually by double clicking the line item in your keyword test... try position 5,5 or something)
If the control changes names, then it would be more complicated, but you could use a code statement to search it down as a child of an object that doesn't change names...
If the name of the txtFilter is not changing, then those coordinates will lie within it regardless of its position on the screen, assuming it didn't change size.
If the control will be changing size, then try changing the numbers to something that will always be within the smallest possible size. (You can change those numbers manually by double clicking the line item in your keyword test... try position 5,5 or something)
If the control changes names, then it would be more complicated, but you could use a code statement to search it down as a child of an object that doesn't change names...