after send key test
perform click operation then send ctrl A

Set WScript = createobject("WScript.Shell")
Browser("Browser").Page("Pade").Frame("Frame").WebElement("WebElement_Body").Click
WScript.SendKeys "Test"
Browser("Browser").Page("Pade").Frame("Frame").WebElement("WebElement_Body").Click
WScript.SendKeys "^{A}"

On , avinash vl <[email protected]> wrote:
i tried the below code
but the text is not getting selected.
Please advice

Many thanks
Avinash


On Thu, May 19, 2011 at 7:58 PM, [email protected]> wrote:


> 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







--

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