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 |
Get the count of files of similar types from a folder.
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).
what is the default ordinal identifier.what are the send keys in qTP.
What is expert view and keyword view?
How can I use Call dlls in QTP ?
Who uses qtp tool?
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?
.qfl extension for which file? where vl use it
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?
Can we use Virtual Objects in Discriptive Programming?
How can you exit from an action?