Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

how we connect oracle or sql data server database to qtp

3 Answers   Tanla Solutions,


anyone can explain about "Hybrid framework" in QTP

5 Answers  


will QTP accepts javascript?

14 Answers   AppLabs,


Analyzing the Checkpoint results ?

1 Answers   Crea,


what is the difference between action and function

11 Answers   AppLabs, BirlaSoft, Infosys,


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


I am using descriptive programming for my project.when QTP deosn't identity or recognize a object by record and playback method,is it possible to make QTP identify that object using descriptive programming? Note: The object doesn't have unique properties and same properties used in Record and playback are only available, no extra properties are defined.

3 Answers  


I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer

4 Answers   Cimcon,


How do we handle run-time errors?

0 Answers  


I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance..

3 Answers   Sony,


How do you learn the object in QTP?

2 Answers  


Categories