Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Using HP UFT GetCellData function on SAP Web Dynpro crash Internet Explorer

I am using HP UFT 11.52 on Web Dynpro over IE8. There is a SAPTable object that I am trying to activate the 'GetCellData' function on it to get the value under the "ID Number" column of the first row however when I activate the function, it crashes Internet Explorer. 

Below is my code:

Browser("Browser").Page("Page").Frame("searchDialog").SAPTable("ResultsTable").GetCellData(l, "ID Number")


1 Answer
Anil SAP Gupta

Note that column number is used to locate table cell data and column name is unique identifier.

object.GetCellData( row, column)- takes argument as long integers row and cell numbers to locate cell data.

Try using GetCellData like this:

Browser("Browser").Page("Page").Frame("searchDialog").SAPTable("ResultsTable").GetCellData(1, 1)

Browser("Browser").Page("Page").Frame("searchDialog").SAPTable("ResultsTable").GetCellData(1, 2)

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.