WScript.SendKeys "Test"
WScript.SendKeys "^{A}"


http://testeverythingqtp.blogspot.com/2011/04/use-send-key-method-qtp-vb.html


On , avinash vl <[email protected]> wrote:
how can i pass cntrl + A.
i tried the below code


Set WScript = createobject("WScript.Shell")
Browser("Browser").Page("Pade").Frame("Frame").WebElement("WebElement_Body").Click


WScript.SendKeys "Test"
WScript.SendKeys "^"+"{A}"

However its not getting selected
Please help


--
Regards,
Avinash





--

You received this message because you are subscribed to the Google

"QTP - HP Quick Test Professional - Automated Software Testing"

group.

To post to this group, send email to [email protected]

To unsubscribe from this group, send email to

[email protected]

For more options, visit this group at

http://groups.google.com/group/MercuryQTP?hl=en

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to