cancel
Showing results for 
Search instead for 
Did you mean: 

getting objects via recurssion

Highlighted
Community Hero

Re: getting objects via recurssion

Once you've mapped something once, it never needs to be mapped again... there is your "dictionary" of objects, already built in to TestComplete.

I guess I'm confused... what problem are you actually trying to solve?


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
Highlighted
Contributor

Re: getting objects via recurssion

 

It is not a builtin from testcomplete but it is in python.

 

Actually, in the application at navigation bar each item has a different grid. I don't want to declare all grids for  Navigation bar and to write a common test scenario so that will works for all grids of navigation bar

 

thanks and Regards

SivaKartheek Sreeram

 

 

 

Highlighted
Community Hero

Re: getting objects via recurssion

Right... which is as I said... map the navigation bar and then use FindAllChildren to return a collection of desired grid objects.  That will preclude the need for any recursive code.


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
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!