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 to display the first 3 letters in these "ABCDEFGH" using qtp script?

6 Answers   Oracle,


get the order no from the following orderdetails orderstring="ORD13456PNR" eg:13456

10 Answers   Oracle,


what is the difference between Automation object model(AOM) and test object model(TOM)

2 Answers   UHG,


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1 Answers  


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

0 Answers   TCS,


How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?

3 Answers   QualiTest,


If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?

3 Answers   Wipro,


How many regression test suits in your appliction?

2 Answers   CTS,


MANUAL TESTING, AUTOMATION TESTING QTP,QC , Load Runner , SELNEIUM ONLINE TRAINING

0 Answers  


I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.

1 Answers   TCS,


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

0 Answers  


For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  


Categories