Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use an Array in an Action declared in another Action
#1
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi,

My need is as follows,

1. I have to declare an Array in an action (let say Action1) and put some data retrieved from an application in the array
2. I need the data stored in the array in another action (Action2)

Few things came into my mind but it was not done.They are as following,

1.Use of Environment Variable: But an Array cann't be added as an E.V
2.Use of Action Parameter: But an Array cann't be passed as an A.P

I then created a string using all the values of the array in Action1 and added the string as an Environment Variable and retrieve the string in Action2 and split it. In this way I got all the values from Action1 in Action2. But here the problem is when the array contains a large number of data the string is subsequently large enough to perform Split operation. It is not at all easier and convinient.

Anyone with any better idea? Please help me out.
Reply


Messages In This Thread
How to use an Array in an Action declared in another Action - by PrabhatN - 06-03-2010, 04:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameterization Issue Slothman 1 1,619 10-31-2020, 01:05 PM
Last Post: Ankur
  no action on click for particular wpf button jlavrecka 1 1,277 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Object not found during the 2nd iteration of an Action call in a For loop BGunay 0 866 04-23-2020, 07:08 PM
Last Post: BGunay
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,370 11-15-2017, 03:42 PM
Last Post: Ankur
  Default state of new action aparajita 1 2,232 08-25-2015, 12:11 AM
Last Post: aparajita

Forum Jump:


Users browsing this thread: 1 Guest(s)