identify the value in data table with out table
I am using QTP 9.2 version.
I have two questions.
1.objects (Links) are in the data table. i want to click the link with out depend on the row count or column count.
2. If i use row count. Please tell me,how to click the link, when row count will change in application i want to search and click the particular link
Re: identify the value in data table with out table
As I understood, you mean: not DataTable but WebTable...
you can just click on link by its name using DP,
QTP will ignore the parent(WebTable) and handle it as is.
If name of link is not unique, use Index as additional identifier.
Search this forum by my name. I've posted some time ago the function to find the row in WebTable where particular string is located.
Also, since 9.x QTP has internal function:
Returns the number of the first row found that contains a cell with the specified text.
object.GetRowWithCellText (Text, [Column], [StartFromRow])
Read HELP for more info.