If the world was perfect, our application would have unique, well named controls. More often than not, though, our applications are a mess of unordered controls, who are deemed non-standard by QTP. In the worst cases, we’re stuck with unnamed non-unique controls, who are only identified by their infamous Index property.
This article will detail an effective approach to robustly automate web controls even in these hard cases.
Tag Archive: runtime
Apr 28
Using Web Anchors to Automate Non-Unique Controls
Jan 10
.Net Objects, Runtime Hierarchies and Bizarre QTP Errors
I’ve recently came across a disturbing phenomenon regarding .Net automation with QTP, and thought I would share it with our readers. I hope some of you could shed some light on this mystery. First, some background: As described in our article about Exploring Custom Controls, sometimes QTP fails to properly recognize the AUT’s controls, and …
Dec 04
The Fastest Way to Work with GUI Objects
So, what’s the fastest way for working with GUI objects? It seems that everyone has an opinion on the matter – some insist the Object-Repository yields the best results, while others are strong advocates for working with Descriptive Programming. While one will insert every object into a variable and use that variable, another would use …



Recent Comments