01-31-2008, 06:57 PM
Hi,
The problem is that i have one table that contains a column. Each row of this column contais "Link" (HyperLink) object. The statement mentioned below executed in a for loop.
I just want that in each cycle of this loop QTP recognize different "Link" (HyperLink) for different row of the column.
If i do somthing like this, the name of "Link" changed in each cycle and this name exists in the table. than QTP gives an error massege that this object is not found in object repositry.
My question is that "How to create objects at run time"
Ashish
The problem is that i have one table that contains a column. Each row of this column contais "Link" (HyperLink) object. The statement mentioned below executed in a for loop.
Code:
For j=1 to 2
"Browser("Bajaj Learning Resource").Page("Bajaj Learning Resource").Frame("frmContent_6").Link("Content Assessment1").Click"
Next
I just want that in each cycle of this loop QTP recognize different "Link" (HyperLink) for different row of the column.
If i do somthing like this, the name of "Link" changed in each cycle and this name exists in the table. than QTP gives an error massege that this object is not found in object repositry.
My question is that "How to create objects at run time"
Ashish