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?

Share this post

Link to post
Share on other sites

Another thread about the same object of your previous ones?
Did you look at AutoItWindowInfo tool?

Click here to see my signature:



  • I will always thank you for the time you spent for me.
    I'm here to ask, and from your response, I'd like to learn.
    By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.




Share this post

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!

Share this post

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

  • Create New...