Question
Cognizant Technology Solutions
Cognizant Technology Solutions
US
Cognizant Technology Solutions
Posted: Apr 13, 2017
Last activity: May 9, 2017
Last activity: 9 May 2017 10:41 EDT
Closed
How do i send keystroke on HTML textbox using Openspan
Hi,
I need to send {ENTER} keystroke on HTML textbox in openspan automation. I did check that SendKeys Method available only for Windows button control. Can anyone help me on this?
Thanks,
Nikunj
***Updated by moderator: Lochan to add Categories***
Hi,
You can not apply a sendkey to HTML text box directly. But a sendkey can be applied to the frame where the text box is.
If you uncheck the Create global webpage while interrogating you can see the top most control in Object explorer is a frame control. Once you apply frame.focus = true and frame.sendKey={Enter}. it should work
Regards,
Manas Rout