Jump to content

UIAutomation to traverse controls in tablelayoutpanel


Recommended Posts

I have a windows form that has tablelayoutpanel which contains repeated checkbox with same controlId (Y/N). I am not able to exactly find a way to select desired checkbox control as all these have same identical definitions of text as Y / N. I am using Inspect.exe. I need guidance or ways to traverse a panel and loop through controls within it and programmtically click on Checkbox control(s)

Please share any ideas or approach?

Link to post
Share on other sites

Yes. I wanted to iterated checkbox controls at some point as they contained in tablelayoutpanel - Interestingly all have same name Y/N and not unique identity!!

I tried all options. And I am going blank.  I did try to use AutoItWindowInfo tool to capture each checkbox and their instance definitions. It didn't succeed there!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...