HII have a problem in QTP to pass parameter to array.Example:Dim myparaDim myarray(100)mypara = "myname"myarray(mypara) = "senthil" ' its show the errorHow is this possible to pass parameter to arrayplease help me to solve this problem

Questions by p_senthil   answers by p_senthil

Showing Answers 1 - 1 of 1 Answers

Rajesh

  • May 1st, 2006
 

Hi,

Array parameter needs to be an integer.

You are trying to pass string. It won't work.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.