Getting Values from Grid on Angualr UI Grid
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting Values from Grid on Angualr UI Grid
Hi Eveyone,
I am using TestCompte 12.20 version .
I am trying to verify the values of the attached webpage grid. The xpath is dynamic . I need to find out is ther any other way to get the date from the grid and verify .
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check out the following documentation:
https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/angular-ui/grid/...
Once you properly identify the grid object, you can reference values within the grid using the wValue property of the grid, passing in row and column values. For loops work well for traversing a grid, going through all the rows to check the values in a particular column. If you know what row and column you want to check, you don't even need a for loop.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Robert for your valuable feed back
I am in initial stages of learning Test complete . would you please send me an example code to address this issue .
Thank you .
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you go to the link that @tristaanogre sent and click on each of the property names, there are code samples there.
