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 the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
How to suppress warnings from the test results page?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
How can we conduct U-I Testing by using QTP??????
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
What are the steps involved in the recovery scenario wizard?
What is the difference between rational rose and QTP?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Explain qtp(quick test professional)?
What are the advantages of parameterization ?
What are the main differences of qtp and win runner?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How did you use regular expressions in QTP and also in WR?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
What is qtpro? What is quick test pro? What is a quick test professional?