Highlighted
Senior Member.
615 views

the web table column are coming as 0 (Column name ) etc

No Column.PNGColumn.PNG

UFT tool cannot able to recognize the web table object (Column) thru get cell data or other means.

 

The column is displaying as = 0

And also try to go for another solution to extract the web table cell value as Innertext but all the object are displaying even though we select only one.

 

 

0 Likes
2 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: the web table column are coming as 0 (Column name ) etc

Whet does the following return (you might have to change the webtable property to match your webtabel)

cc = Browser("micClass:=Browser").Page("micClass:=Page").WebTable("index:=0").ColumnCount
MsgBox cc

rc = Browser("micClass:=Browser").Page("micClass:=Page").WebTable("index:=0").RowCount
MsgBox rc

Mark Smith.

0 Likes
Highlighted
New Member.

Re: the web table column are coming as 0 (Column name ) etc

Hi,

I am also facing the same issue as mentioned in the original post. 

ColumnCount function returns value '0'.

Any help to resolve this issue is much appreciated.

Thanks,

Mohan

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.