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
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 |
Answer / jay prakash
try "index" it will work for windows applications.
| Is This Answer Correct ? | 2 Yes | 1 No |
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 |
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 |
for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?
How do you start automating/ writing your QTP scripts ?
hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one weblist they are monday to sunday i want show the reporter like thurday in particular weblist can you help me about this thanks balaji
what is defination of intergration testing?
I have 3 browsers i want to give facebook url in 2 nd browser using qtp
Which environments does qtp support?
what is the difference between Reusable action and external action?
How to identify whether a web page exists or not without using Browser(" ").Page(" ").Exist?
Hi, Am trying to download QTP 8.2 version.its not supporting Windows Vista.Can you please help me out from this.Which QTP version supports this. Thanks in Advance.
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?
Local Obj Repository and SOR are editable know, y we have to edit those.. i mean in which situation we need to edit those and how to do..? pls help me..
In QTP whether is it possible to call a function from one action to another action?