Month: September 2013

Why We Have Name Mapping in TestComplete

September 24, 2013
TestComplete has many features to simplify test automation script development work. One of them is Name Mapping. Using this feature we can create a Mapped name using the properties of the object in our application. We can then use this name to refer to that object in our scripts. But why should I create a Mapped name? What are the advantages of doing this? Let us consider the following example. In a web page we have a button, a ‘Login Button’. In the process tree the full name for this button is as follows: Full Name of Login button: Sys.Process(“iexplore”).Page(“*”).Form(“main”).Button(“button1”) If I use this Full Name in my test automation script to refer the button it is easy to get...
Read more...

Automating Black Box testing using Find Image feature

September 18, 2013
Sometimes we’ll find that our application won’t be open to TestComplete. So the application doesn’t expose any details about the it’s objects and methods, or Testcomplete may not have in-built support for the controls or windows in the application. For example we may have a browser type that is not supported by TestComplete. Equally we may have objects like toolbar buttons, icons that aren’t supported by TestComplete. To automate test on these types of applications, we can use Find Image feature. What do we mean when we talk about automation using the Find Image feature? Using the Image of a particular control, window or object, our script will find the position of the object and then performs an action on...
Read more...