did you try?
.WebElement("tag name:=TD", "innertext:=test drive ultimate 2").Click()
>
>
> On Wed, May 18, 2011 at 12:08 PM, Anderson Corbellini <
> [email protected]> wrote:
>
>> Hi
>> Hi Bhuvan!
>>
>> It is that the my classes are WebElement, or WebEdit on the combo, it is
>> not WebList.
>> I can not to use the ".Select", hereby I used WshShell.SendKeys "{DOWN}".
>> Please, see attachment.
>>
>> Thanks for help.
>>
>> On Wed, May 18, 2011 at 5:44 AM, Bhuvan Sundar
>> <[email protected]>wrote:
>>
>>> Hi,
>>> Hi Corbellini,
>>>
>>>
>>> I have a question like why should select the combo by using arrow keys.
>>> Directly we can select the combo value by using select keyword
>>>
>>> Eg: Browser("google").Page("google").WebList("Names").Select "Corbellini"
>>>
>>> Pls send the screenshot of that combo box page.
>>>
>>> Thanks,
>>> Bhuvan
>>> On Wed, May 18, 2011 at 10:37 AM, Anderson Corbellini <
>>> [email protected]> wrote:
>>>
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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