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 |
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
get the order no from the following orderdetails orderstring="ORD13456PNR" eg:13456
what is the difference between Automation object model(AOM) and test object model(TOM)
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>.
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
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?
If u prepare bug report in Excel sheet . Is it possible to send thrw Test director? how it is?
How many regression test suits in your appliction?
MANUAL TESTING, AUTOMATION TESTING QTP,QC , Load Runner , SELNEIUM ONLINE TRAINING
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.
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
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