Forum Discussion
- rraghvaniChampion Level 3
If ClientX and ClientY is omitted, the click will be simulated in the centre of the object.
If you write a small function to perform a click with and without parameters, you can see the action being performed.
- Tamarchik123New Contributor
My objects are popup menu texts and as i catch, by index it is clicked in the center, by text it is clicked down and as a result click is not performed, i want to perform it by text and not by index
- scottroutesmartOccasional Contributor
For my x and y coordinates, I used the following snippet of custom code to get it to click in the middle of the object exactly, as I knew I needed to click that exact point for a dialog box to appear...
Aliases.browser.pagename.canvas.width/2
Aliases.browser.pagename.canvas.height/2
The thing I like about doing it this way is that if your object dimensions, browser window size, or other factors change, it calculates the middle point of the object regardless. - rraghvaniChampion Level 3
Is this a desktop of web application?
Can you provided your code? So that we can see how you are performing your actions
- Marsha_RModerator
Here is a reference for selecting items from dropdowns. See if this helps.
Related Content
- 15 years ago
- 8 years ago
Recent Discussions
- 14 minutes ago
- 6 days ago
- 10 days ago