I tried now with this simple example and had no success.
Set WshShell = CreateObject("WScript.Shell")
Browser("Google").Page("Google").WebEdit("q").Set "Test"
Browser("Google").Page("Google").WebEdit("q").Click
WshShell.SendKeys "{DOWN}"
WshShell.SendKeys "{ENTER}"
Set WshShell = Nothing
Am I doing something wrong?
Thanks for help.
On Wed, May 18, 2011 at 1:53 AM, Ganesh muralidharan <[email protected]>wrote:
> please try sendkeys you can find in help.
>
> On Tue, May 17, 2011 at 11:49 PM, Corbellini <[email protected]>wrote:
>
>> Hi Everybody!
>>
>> I am starting to learn QTP. I have a question on how to simulate the
>> keyboard arrows, down and up.
>> Actually I am trying to simulate some of components that provides me
>> this functionality (drop-down, combo box).
>>
>> How do I select a value in any combo with the arrow keys?
>>
>> Thanks for help.
>>
>> --
>> 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
>
>
>
>
> --
> Regards,
>
>
> Ganesh Muralidharan
> 'God Never Forgets'
>
> --
> 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
--
Atenciosamente,
Anderson Corbellini
Bacharelando em Sistemas de Informação
Porto Alegre, Rio Grande do Sul
E-mail: [email protected]
Wave: [email protected]
--
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