Alternate way to call resusable action by script - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Alternate way to call resusable action by script (/Thread-Alternate-way-to-call-resusable-action-by-script) |
Alternate way to call resusable action by script - hari1024 - 12-06-2011 Hello, Is it possible to call a resusable action by specifying the location instead of adding through Insert--->Call existing action process? for exmple something like Call <Location>/<Scriptname,ActionName> RE: Alternate way to call resusable action by script - ravi.gajul - 12-06-2011 you can use LoadAndRunAction only when the step runs and then run that action This is useful, for example if you may use many conditional statements that calls external actions and you donot want to load all of the actions, each time you open the test as they many not be necessary during run session. As far as I know, this feature is available from QTP10.00. Code: Syntax: Hope this helps Regards, Ravi RE: Alternate way to call resusable action by script - hari1024 - 12-07-2011 Thanks Ravi. |