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

Answers were Sorted based on User's Feedback



I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / jay prakash

I didn't understood your question but i feel that you have
problem with finding unique properties during descreptive
programing among the same controls...

If my understandig is correct than Just try Index or
CreationTime (in case your app is web based).

Please let me know if it helps.

Is This Answer Correct ?    1 Yes 0 No

I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / jay prakash

try "index" it will work for windows applications.

Is This Answer Correct ?    2 Yes 1 No

I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / ankur_jain

thanks Jay prakash for ur reply
U got my problem right but its not web based application
its desktop application and i cannot find any unique
property to identify the objects such as vbcombobox all the
vbcombobox on the page have the same property .I read
somewhere that we can add our own property to the test
object but i dont know how .SO please let me know if you
have any solution .Thanks in advance

Is This Answer Correct ?    0 Yes 0 No

I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / babu

Hi Ankur,

Select the object in the object repository, and select the
icon where it will open you to see the mandatory and
assistive properties of the object. By using this you can
add the properties to the particular object whichever you
want to find some uniqueness.

I feel this answer may be usefull for your question.

Pls let me know if i am wrong.

Is This Answer Correct ?    1 Yes 1 No

I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / test

Use Object Spy to identify the property of the particular
object. The use that property in DP

Is This Answer Correct ?    0 Yes 1 No

I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb..

Answer / nag

u can use index value
window().winbutton("index:=0").exit(2)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Get the count of files of similar types from a folder.

0 Answers   Deloitte,


Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).

1 Answers  


what is the default ordinal identifier.what are the send keys in qTP.

1 Answers  


What is expert view and keyword view?

0 Answers  


How can I use Call dlls in QTP ?

0 Answers  






Who uses qtp tool?

0 Answers  


PLS REAL TIMERS WRITE THE ANS FOR THIS? WHICH SCRIPT IS USED IN REAL TIME NOW A DAYS 1)SHARED REPOSITORY BASED SCRIPT 2)DESCRIPTIVE PROGRAMMING BASED SCRIPT?

1 Answers  


.qfl extension for which file? where vl use it

3 Answers   iFlex,


When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..??

4 Answers   DST Global Solutions,


Give me brief idea about QTP automation object model?

5 Answers   TCS,


Can we use Virtual Objects in Discriptive Programming?

5 Answers   Keane India Ltd,


How can you exit from an action?

0 Answers  


Categories