nastester
4 years agoRegular Contributor
Clicking certain area of an object on different screen sizes
I am encountering an issue where an object is clickable (to bring up a menu) but only in the upper right hand corner of it. I cannot seem to map just the clickable area so when I do a test, I need to include coordinates of the object so that the correct area is clicked, thus opening the menu for additional items to be clicked.
This works fine for me but when run on a co-worker's computer the test fails because our screen sizes are different so the object is not clicked in the right location.
Is there a way around this?
Thanks!
This was solved by ensuring the project setting "Use XPath and CSS selectors for web objects" is selected. When it was selected, the object within an object could be mapped and thus clicked