Thanks for the clarification.I will try adding steps manually On Jul 23, 10:04 pm, udaykumar vutukuru <[email protected]> wrote: > In some cases Recording mode cannot identify some objects in QTP. on > that case U need to identify those objects manually bu QTP. > > Ex > > I assume you want to replay an Enter key, in most cases when QTP does > not record an action it's much better to add the step manually than > trying to force QTP to record it. > > If the test object in question supports Type you can use that: > > Window("Calc").Type micReturn > > Otherwise you can use the DeviceReplay object as described in this article > > Set dr = CreateObject("Mercury.DeviceReplay") > dr.PressKey 28 ' 28 = Return (Enter) > > I think it is the correct.
-- 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
