Can any help me is there any method to find the total number of button's are available in a screen.
Thanks and Regards,
Look at the screen and count?
First question - why?
Second question - what value is added by doing this "test"?
Answer - there is not a method. You will have to do some programming.
Well dont you think you should look for some thing like... if particular button exists on current screen rather than count how many buttons are there.
Never test the depth of the water with both feet.
That should be possible, know the parent where the buttons were placed, usually it would be a panel. Then use the code below passing your panel name.
Enjoy with what you do!
What if it is not a dotNETPanel? My applications don't use them.
Good feedback, I will fine tune my answer next time DSuared..