Thanks a lot Ramesh!!!. I wanted to know this for a long time.
One more question:
I parameterised that Index with a random number. So it will select the flight at random. This executes fine.
But I have a doubt here.
If I choose a random number between 1 and 10, and if the flight selection options have only 2, assume if the random number chosen is 3 or 4, the test will fail, because QTP will not be able to identify an object. Am i right? But I tried this, and the script passed. It took a random value of 4, 6, 5.
thanks again,
sumithra
One more question:
I parameterised that Index with a random number. So it will select the flight at random. This executes fine.
But I have a doubt here.
If I choose a random number between 1 and 10, and if the flight selection options have only 2, assume if the random number chosen is 3 or 4, the test will fail, because QTP will not be able to identify an object. Am i right? But I tried this, and the script passed. It took a random value of 4, 6, 5.
thanks again,
sumithra

