Use this .....
give wait in b/w..

  WshShell.Run "Narrator", 5
     Wait(3)
    WshShell.SendKeys "%F"
    

On Monday, May 23, 2016 at 3:48:19 AM UTC+2, [email protected] wrote:
>
> Hi,
>
>      
> Dim WshShell
>      
>      
>      Set WshShell = CreateObject("WScript.Shell")
>      Wait(3)
>     
>     'Start the Narrator
>     SystemUtil.Run "C:\Windows\system32\Narrator.exe","","",""
>     Wait(5)    
>     
>     WshShell.Run "Narrator", 5
>
>     
>     WshShell.SendKeys "%F"
>     Wait(3)
>
>
> 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.

Reply via email to