Forum Discussion
3 Replies
Sort By
- Colin_McCraeCommunity Hero
Link doesn't work. (looks like a link to an internal dev environment to me?)
- akash10Occasional Contributor
Hi,
You can try with the below link
Thanks
Akash Maheshwari
- dganov
Staff
You can iterate the grid lines using corresponding script object attached to the DIV element with QvGrid class on the web page:
function test() { var grid = Sys.Browser().Page("http://us-b.demo.qlik.com/*").Panel("PageContainer").Panel("MainContainer").Panel(62).Panel(1).Panel(0); for (var i = 0; i < 10 /* grid.Mgr.Body.Lines.length */; i++) for (var j = 0; j < grid.Mgr.Body.Lines[i].length; j++) Log.Message(grid.Mgr.Body.Lines[i][j].val); }
This script posts cell values of the first 10 lines of the grid into the TestComplete log.