| || |
GetRowWithCellText returning -1
I'm having trouble using GetRowWithCellText method for a webtable. QTP is returning -1 for any text that I search for in the table. This is happening for all the webtables in our application which have "thead" tag in the table's html. Has anyone experienced this issue before and how can I resolve this.
I've tried to click and highlight the table before running GetRowWithCellText as suggested in some of the posts in this forum but it didn't work.
Also, using GetCellData returns right text from the cell.
Any help is appreciated.
Can you please check the value you are passing through GetRowWithCellText and value you are getting from GetCellData are equal. Webtable cell may contain any spaces or special characters verify it.
Yes, I tried to capture the value that I'm getting from GetCellData and passed it as search parameter for GetRowWithCellText but its still returning -1.