The above fails on the second Assert, presumably, because the calendar hasn't become visible. If I add a delay after the click, I can't see the calendar popup appear. leading me to believe the click is not working
Ive also tried using textBox.DispatchEvent(new HtmlMouseEvent("click")); but that doesn't work either
big_dave
0 Points
1 Post
Can't click inside a textbox
Feb 28, 2012 03:02 PM|LINK
Hi,
I'm trying to test if a calendar extender appears when clicking inside a textbox .
Like so:
The elementNames I'm using are correct.
The above fails on the second Assert, presumably, because the calendar hasn't become visible. If I add a delay after the click, I can't see the calendar popup appear. leading me to believe the click is not working
Ive also tried using textBox.DispatchEvent(new HtmlMouseEvent("click")); but that doesn't work either
Any help would be greatly appreciated