Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to retrieve ArrayList saved in Environment Variable
#3
Not Solved
Hi,
sorry for the delay to post the code. It's as below

Code:
Set array1 = CreateObject( "System.Collections.ArrayList" )
for i=0 to 10
array1.Add(test case name coming from Excel)
Exit for
Environment.Value("array1dtls")=array1

Following one  is retrieval part
Dim arryDtls
[b]arryDtls=Environment.Value("array1dtls")[/b]
MsgBox arryDtls.size

I am getting exception at "arryDtls=Environment.Value("array1dtls")" & Exception is as below

Run Error: Invalid procedure call or argument
Line (240): "arrayCheck=Environment.Value("arr1Dtls")".

Please, advise me what the needful can be done

regards
Gautam
Reply


Messages In This Thread
RE: How to retrieve ArrayList saved in Environment Variable - by Gautam26 - 11-05-2013, 05:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Automation: How to retrieve Reporter.Reportevent Message scsenthil 1 5,459 11-14-2013, 07:51 PM
Last Post: spannerj
  QTP vbscript ArrayList strange behavior frankhovin 2 3,195 11-11-2013, 07:12 PM
Last Post: Parke
Exclamation Retrieve the complete height and width of a browser beyond the visible part as wel learnQtptips 0 2,138 05-22-2013, 09:36 AM
Last Post: learnQtptips
  How to retrieve a value from a table if the application is built in power builder. deepakmehta82 1 2,893 04-26-2013, 07:58 AM
Last Post: shaj
  Issue to use GetVisibleText to retrieve number from a PDF page in QTP11 jsun01 1 2,819 03-09-2013, 09:39 PM
Last Post: jsun01

Forum Jump:


Users browsing this thread: 1 Guest(s)