Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fetching value of variable from one action to another
#9
Solved: 11 Years, 3 Months, 2 Weeks ago
It should be working, I will take the same example again

in main script (Test2) define TestPublic as 'TestPublic =1'
in test1 add statement 'TestPublic =TestPublic +1' after message box
create a new test add statement , msgbox TestPublic.
add library as resource
call this in your main script and run
you will get the desired result, from the first action it will return 1 and from second will return 2 after incrementing it.

Reply


Messages In This Thread
RE: Fetching value of variable from one action to another - by Saket - 06-17-2010, 10:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  reusable action called inside another reusable action in qtp ritugoyal 0 2,609 05-05-2010, 03:16 PM
Last Post: ritugoyal

Forum Jump:


Users browsing this thread: 3 Guest(s)