I m trying to automate one vb desktop application in that
there is vblist vbcombobox many other vb tools are
there ,when i m trying to find some unique property to
identify the object (take example of vbcombobox ) I cannot
find any unique property, all the combobox belong to same
nativeclass same name no ids are available ,only the
distinct property is there x and y coordinates so i m using
some code like this
"vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y
:=443").exist(2)" but i dont find them reliable .Can anyone
suggest me some other way to identify those objects with
some unique property or is there any way to register our
own property .I m using descriptive programming to write
the code .Thanks in advance

Answer Posted / jay prakash

try "index" it will work for windows applications.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the factors on which script execution time is dependent?

610


What are the types of object repositories? Which one is you using?

619


what is run action?

1435


How does QTP identify an object?

613


What are the trigger events in qtp?

573






If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1301


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1622


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4144


What are the disadvantages of recording test cases in qtp?

595


if numbers are always changing write a script for that

3402


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1625


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1418


How to check bitmap output value?

629


The hybrid framework can be implemented for any application. Is it true?

587


Connect to QC using AOM.

1236