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 |
hi how could i get installation guide for QTP 9.0 on XP help me for this !!!!!
How do you delete unwanted results in qtp?
how will load the object during runtime?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting
why do we use both location and index identifier.
hi nani my doubt is how does qtp process metrix related to software process.
How to take screen shot of desktop by using vb script code or is there any method?
Hello friends..... On which areas of an application we can not test with QTP
0 Answers Thatavarti Technologies,
How many scripts do you write per day. What is the average number of scripts you have written in your recent project
1 Answers CenturyLink, Optum, Value Labs,
What is the use of sendkeys and what are send keys
How to use output values in qtp ?