| || |
All the objects are having similar propeties in the application
My Application is Client Server Apllication doveloped using VB6.0, having SQL Server as Database.
I am trying to use Winrunner 7.5 on windows 2000 profesional.
There are many buttons in the application, which are visible under different frames, when I see the properties of these objects, WR is not able to identify them uniquely since all the properties are similar for all the objects. So when I prepare a script, it works fine sometime and fails at times.
attached_text property is not given to those objects by the developers.
for example, the properties for the objects are
x: 4,y: 42,
height: 49,active: 0,
The same properties are given to all the objects,
I need to work with more than one button(at least) to acomplish any of the functionalities. So for this reason, I am not able to prepare a reliable script.
If any one had come across the similar kind of problem or have an idea to solve this, plz guide me with the respective aproach.
Re: All the objects are having similar propeties in the application
1. Try mapping the class to a Standard Button
2. Use Location / Index property to Identify the object