Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alternate way to call resusable action by script
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
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>

Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
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:
LoadAndRunAction(TestPath,ActionName,[iteration],[Parameters])

Hope this helps

Regards,
Ravi
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Thanks Ravi.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 968 04-23-2020, 07:08 PM
Last Post: BGunay
  Call Stack in QTP Script smitapawar610 0 1,707 12-03-2018, 10:42 AM
Last Post: smitapawar610
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,530 06-05-2014, 08:18 PM
Last Post: sbkhbk
  insert call to new action bistritapcv 1 2,585 04-06-2013, 12:09 PM
Last Post: ravi.gajul
  How to stop Second Action Call faheem05 6 4,132 10-05-2012, 11:11 AM
Last Post: faheem05

Forum Jump:


Users browsing this thread: 1 Guest(s)