Tried
WshShell.SendKeys "%"&"v"
WshShell.SendKeys "t"
WshShell.SendKeys "m"
it didn't work. Just curious what does & do here?
Anyhow I tried the following and it worked.
Thanks.
'If (Browser("AAA").WinToolbar("ToolbarWindow32").GetROProperty("height") =
38) then
'
' Width = Browser("AAA").GetROProperty("width")
' xValue =
Browser("AAA").WinToolbar("ToolbarWindow32").GetROProperty("abs_x")
' yValue =
Browser("AAA").WinToolbar("ToolbarWindow32").GetROProperty("abs_y")
' xValue = xValue + Width/2
'
' obj.MouseClick xValue,yValue,2
' WshShell.SendKeys "{DOWN}"
' WshShell.SendKeys "{ENTER}"
'
'End If
On Wednesday, September 28, 2016 at 10:21:46 AM UTC-4, Vikash Mishra wrote:
> use sendkey "%"&"V"
> ...
>
> rest of the operation,..try
>
> On Wednesday, September 28, 2016 at 12:11:43 AM UTC+2, [email protected]
> wrote:
>>
>> Hi,
>>
>>
>> I want make sure if the web menu is not visible, then display it.
>>
>> I've tried the following but nothing is working.
>>
>>
>> After the web page is displayed.
>> WshShell.SendKeys "%v"
>> WshShell.SendKeys "t"
>> WshShell.SendKeys "m"
>>
>>
>>
>> then I tried
>>
>> WshShell.SendKeys "%vtm"
>>
>>
>>
>> then I tried
>>
>> WshShell.SendKeys "%v"
>> Wait(2)
>> WshShell.SendKeys "t"
>> Wait(2)
>> WshShell.SendKeys "m"
>>
>>
>> then I tried
>>
>> WshShell.SendKeys "%v"
>> WshShell.SendKeys "t"
>> WshShell.SendKeys "{ENTER}"
>>
>>
>> Please help!
>>
>> Thanks
>>
>
--
--
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 Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.