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 / nag
u can use index value
window().winbutton("index:=0").exit(2)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain different recording modes?
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
what is Property......End Property loop? how to write sript for it in QTP
What is post recovery scenario?
If you are testing a web application then what will you test in that application?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Explain different types of action in qtp?
What is difference between run time object and test object?
Can we run test with out adding object in object repository? How it is possible?
What is the difference between keyword view and expert view?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
How many types of recording modes in qtp? Which will be used when?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya