Thank you for the workaround but that doesnot seem to resolve the requirement here. They want to use the Ctrl and Mouse wheel for zoom in and zoom out of some snaps.
On Tue, Jul 28, 2009 at 12:09 AM, Manish Bhalshankar < [email protected]> wrote: > Hi Ganesh, > > Try this: > > SystemUtil.Run "C:\Program Files\Internet > Explorer\iexplore.exe","","C:\Documents and Settings\Administrator","open" > Wait(3) > Browser("Browser").Navigate "http://www.google.com/" > Wait(5) > Set WshShell = CreateObject("WScript.Shell") > > WshShell.SendKeys "^{+}" > Set WshShell = Nothing > > > On Tue, Jul 28, 2009 at 10:18 AM, Manish Bhalshankar < > [email protected]> wrote: > >> Hi Ganesh, >> >> Another method of resizing is to press and hold the Ctrl key & use +/- for >> zoom in/out instead of the mouse scroller. >> >> On Tue, Jul 28, 2009 at 9:56 AM, Ganesh muralidharan < >> [email protected]> wrote: >> >>> Hi, >>> None of the links has mouse wheel recording method. >>> Regards, >>> Ganesh >>> >>> On Sat, Jul 25, 2009 at 3:10 PM, Roman Zilber <[email protected]> wrote: >>> >>>> DeviceReplay >>>> >>>> >>>> *You would find more on HP knowledge base:* >>>> >>>> >>>> * >>>> http://www.advancedqtp.com/knowledge-base/articles/qtp-tricks4/the-undocumented-devicereplay/ >>>> * >>>> >>>> >>>> http://www.softwareinquisition.com/SIFL/_T__66A5B707-6838-4DCA-9F47-66C7D419E5B1_.Mercury.DeviceReplay.html >>>> >>>> >>>> * >>>> * >>>> >>>> * >>>> * >>>> >>>> *Set* deviceReplay = *CreateObject*( "Mercury.DeviceReplay" ) >>>> >>>> SystemUtil.Run "notepad.exe", "", "", "open" >>>> >>>> ' ** this line always identifies the notepad window. >>>> >>>> Window( "nativeclass:=Notepad", "index:=0″ ).*Activate* micLeftBtn >>>> >>>> deviceReplay.SendString( "DeviceReplay" ) >>>> *Set* deviceReplay = *Nothing* >>>> >>>> On Sat, Jul 25, 2009 at 6:28 AM, ganesha <[email protected]> wrote: >>>> >>>>> >>>>> One of my colleagues has a requirement to automate "Press and hold >>>>> Ctrl key and the scroll wheel on the mouse to change the size of >>>>> model's appearance." >>>>> >>>>> Manually I tried doing this in gmail opened in internet explorer. >>>>> After re-sizing the window to a smaller size I pressed Crtl key and >>>>> Mouse wheel to increase/decrease the text size. >>>>> >>>>> Any inputs on a solution or alternate method to solve this would be >>>>> appreciated. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Ganesh Muralidharan >>> Wipro Technologies >>> Mob. : 9341023574 >>> >>> 'God Never Forgets' >>> >>> >>> >> >> >> -- >> Regards, >> Manish | HPCP >> >> Messanger IDs: >> Skype: manishbhalshankar >> Yahoo: manishbhalshankar >> GTalk: manishbhalshankar >> > > > > -- > Regards, > Manish | HPCP > > Messanger IDs: > Skype: manishbhalshankar > Yahoo: manishbhalshankar > GTalk: manishbhalshankar > > > > -- Ganesh Muralidharan Wipro Technologies Mob. : 9341023574 '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 -~----------~----~----~----~------~----~------~--~---
