Highlighted
Absent Member.
Absent Member.
268 views

Unable to identify multilevel headers of JTable

Hello,

I am trying to automate Java based application using HP UFT. In a JTable, there are two levels of table headers where second level is repeating more than once and first level are unique as shown in attached screenshot. When i try to identify table, only second level column headers are being retrieved. How to get values of first level header? Because i want to type in values in each column. With out getting values from First level header, it is not possible to identify cells correctly, because the number of columns are dynamic.

 

0 Likes
1 Reply
Highlighted
Outstanding Contributor.
Outstanding Contributor.

Can you spy & post a snaphshot?

_____________________
Rajkumar Rajangam
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.