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 check points in quicktest professional?
Is it possible to merge two object repository files in qtp?
Explain the terms test and business component?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What is the meaning Work bench?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
Can I change properties of a test object?
What contains Data Driven Framework document in qtp?
how to idetfy which test cases are automated?who will deside that plz tell me
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
Explain the concept of object repository and how qtp recognises objects?
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