How can we Read the data from data grid in Silk Test?

Answer Posted / ravi

If the Grid is getting identified as table then we can
simple first count the number of rows in the grid using
getRowCount() and then in the loop we can fetch the data
using getRowText() method.
If the grid is not getting identified as table then we
should use either get contents or get row children on the
web page and then use logic to get the data separated.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define values for a testplan attribute?

854


Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V

2248


What is 4test?

827


How to assign attribute values to test cases?

854


How to test your defaultbasestate?

839


How to run a test case from a test script file?

828


What is a silktest testplan?

838


How to define an object verification in a test case?

845


What are the types of text lines in a testplan file?

808


How to record a test case?

796


How load testing can be done with silk international?

773


What is the segue testing methodology?

873


What is silktest project?

761


How to run all test cases in a testplan?

863


How record a test case into a testplan automatically?

804