How to find specific row of web table with UFT?
Question ID: 107674
2
0

I have a large web table that I need to drill into to get specific information from a row. I have an ID number I can key off of. Is there a way to get which row that ID is in without having to iterate through the entire table to find it?

Marked as spam
Posted by (Questions: 387, Answers: 66)
Asked on June 9, 2017 9:15 pm
702 views
Answers (1)
1
Private answer

Try using .GetRowWithCellText. It should give you the row number that contains the ID number.

Returns the number of the first row found that contains a cell with the specified text.

object.GetRowWithCellText (Text, [Column], [StartFromRow])

You can see details of this method on the [HPE UFT Help Center.][1]

[1]: http://uft-help.saas.hpe.com/en/14.00/UFT_Help/Subsystems/FunctionReference/Subsystems/OMRHelp/Content/Web/WEBPACKAGELib~WebTable.html#GetRowWithCellText

Marked as spam
Posted by (Questions: 17, Answers: 807)
Answered on June 9, 2017 9:16 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top