Forum Discussion

jmarkman's avatar
jmarkman
Occasional Contributor
7 years ago

Loop through a jquery grid?

My company has a desktop product that opens a web browser to allow the user to access an information-displaying feature embedded in a web page. Among the UI elements on the webpage exists a jquery gr...
  • cunderw's avatar
    cunderw
    7 years ago

    So looks like this isn't just a standard jquery table, but a jqxgrid. Loaded up a sample and am seeing the same results as you. You might talk to SmartBear's support to see if they know a way to get native table functions in Test Complete. But you could also as a work around use FindAllChildren. It looks like be default the jqxgrid has idStrs for reach row as row<X>jqxgrid. <X> being the row number. This should give you an array of all of the rows in the table. Then each column is a cel with a class name of jqx-grid-cel, so you could use FindAllChildren again to get each cel in the row.