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
Answer Posted / 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 |
Post New Answer View All Answers
What is QTP scenario.
in my application,validation message has in japanise language.how to validate this message is appears properly or not
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
How did you resolve conflicts present in Object Repository?
What is throw Object?
How would you directly trigger javascript in a test?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
what is object and child object.. explain ..if possible give some example for better understanding ..
What the differences are and best practical application of Object Repository?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
Hi,All How to create a link in excel sheet using qtp
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What are the differences between quicktest professional (qtp) and winrunner?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me