Quantcast
Channel:
Viewing all articles
Browse latest Browse all 44751

Wiki Page: Why does GetCellValue() only returned the values in column 1 of a JavaJFCTable?

$
0
0
When using GetCellValue for a JavaJFCtable to return the value stored in, for example, column 3, row 3 (i.e other than column 1) you may notice that an empty string is returned. To overcome this if you are using a SilkTest project add the following into the \Extend\javaex.ini file. If you are not using a SilkTest project add the following into the ...SilkTest\Extend\javaex.ini file. [JavaJFCTable] TableGetValueAtOnly=TRUE TableGetValueAtOnly The default is FALSE. This option, which is part of the [JavaJFCTable] section of the javaex.ini file, determines how SilkTest obtains the cell text for JavaJFCTable controls. The default value, FALSE, uses the cell renderer object to find the cell text for non-string cell contents, such as for a cell that contains a custom component that displays text but does not implement toString(). If SilkTest does not return the correct table cell text with the value set to FALSE, then change the value to TRUE. Setting the value to TRUE causes SilkTest to use the cell data object rather than the renderer object.

Viewing all articles
Browse latest Browse all 44751


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>