I want to press a combination of keys like Ctrl+shift+delete then how to write the code for this ?
Thanks in advance Raghavendra.k On Mon, Jan 23, 2012 at 10:40 PM, Anish Pillai <[email protected]>wrote: > Hi Rags, > > MicCtrlDwn depicts the 'Ctrl' keypress in QTP. Suppose that you want to > save a notepad. To do so you can use 'Ctrl + S'. This can be done using > MicCtrlDwn. > > *Window("Notepad").Type micCtrlDwn + "s" + micCtrlUp* Similarly you > have *micShiftDwn*, *micShiftUp, **micAltDwn*, *micAltDwn* for Shift & > Alt key press. > > Alternatively, you can also use SendKeys method to achieve the same > result. 'Ctrl + S' as per SendKeys will be *obj.SendKeys ^s* > > Hope this helps.. > > *Regards, > Anish Pillai > > [QTP - Automation Repository] <http://www.automationrepository.com/> > > [Get New Posts in your > Inbox]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds> > * > > -- > AR > > > -- > 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
