Forum Discussion
Well, here's the question... do you need to double click on the cell? Or do you need to double click on some component in the content of the cell? I'm guessing the latter? In which case, once you find the cell you're looking for, perhaps you should do something like
var control = cellName.FindChild('ObjectType', 'link', 1)
if (control.Exists) control.DblClick()
Thanks for the response Robert,
I have the option to double click the row (or cells within the row) or single click the link within a particular cell. All give the same result. I actually did try your recommendation before with several different variations of the cell and the link within the cell. Sorry, I wasn't explicit about that when mentioning the use of the findChild method.
Just to be sure, I gave it another shot (your example was more concise than mine). Sadly, I get the same delayed action. I threw in a log message before clicking the control - it found it right away.
Russ
- tristaanogre6 years agoEsteemed Contributor
OK... then it sounds like a caching thing. That while it may be looping through, there may be something else that's needed to actually select the object. Try a RefreshMapping Info on the table object before doing the click.
- RussH6 years agoNew Contributor
Kudos for the help in troubleshooting with refresh mapping (I wasn't familiar with that).
Alas, still stumped. I also tried to refresh the page to no avail.
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Hi RussH,
Take a look at the Enhancing TestComplete Performance article - it contains great tips that can help you.
Related Content
- 3 years ago
- 9 years ago
- 3 years ago
Recent Discussions
- 3 days ago