Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Controlling Actions
#6
Solved: 12 Years, 10 Months, 2 Weeks ago
Hi,

I have tried the script that you are telling me. However there is one small problem. In the Login Action, when we use IF statements and call to the existing actions, at the very end we have this: RunAction "Close", oneIteration which closes the application. Then after the Login action, QTP runs the sort action and when the application is closed, testing error happens. Your idea is right and I used this code If DataTable("username",dtGlobalSheet) = "UserB" in the print action to restrict this action to A only. It is working. Thanks for the idea Wink
Reply


Messages In This Thread
Controlling Actions - by mahadevan.swamy - 10-21-2008, 03:43 AM
RE: Controlling Actions - by krishnas.tester - 10-21-2008, 12:13 PM
RE: Controlling Actions - by mahadevan.swamy - 10-21-2008, 09:58 PM
RE: Controlling Actions - by mahadevan.swamy - 10-21-2008, 11:27 PM
RE: Controlling Actions - by somisays - 10-22-2008, 02:59 AM
RE: Controlling Actions - by mahadevan.swamy - 10-22-2008, 08:31 PM
RE: Controlling Actions - by MR21135 - 11-07-2008, 04:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)