Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fetching value of variable from one action to another
#9
Solved: 10 Years, 9 Months, 1 Week 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,480 05-05-2010, 03:16 PM
Last Post: ritugoyal

Forum Jump:


Users browsing this thread: 1 Guest(s)