How to use the Object spy in QTP 8.0 version?

Answer Posted / sreeprasad

There are two ways to Spy the objects in QTP

(1) Thru file toolbar ---In the File ToolBar click on the
last toolbar button

(an icon showing a person with hat).

(2) Tru Object repository Dialog

---In Objectrepository dialog click on the button"object spy..."

In the Object spy Dialog click on the button showing hand

symbol.

the pointer now changes in to a hand symbol and we have to

point out the object to spy the state of the object

if at all the object is not visible..or window is minimised

then Hold the Ctrl button and activate the required window

to and release the Ctrl button.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you send email with attachment from outlook using qtp ?

563


Explain the benefits of quick test pro(qtp)?

571


For which type of project the iterative model is suitable?

1384


What are main panes available in qtp test browser?

539


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

1855






can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1624


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1631


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3279


What is qtpro? What is quick test pro? What is a quick test professional?

594


QTP script is not working on other's machine..

1537


whare exactly we have to use functions and sub routain

1846


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1360


If u r using library files (Instead of Check Points) , How do u do bitmap check ?

1455


Explain xml checkpoints.

599


What is test object model in quicktest professional?

623