How to use the Object spy in QTP 8.0 version?
Answers were Sorted based on User's Feedback
Answer / hi
well said sreeprasad,
object spy is basically for identifying the object properties so simply follow
the above mentioned steps.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function
Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first
What is log file? what is the use of Log fine. How to create? what are the contents and the main advantages of log files. plz do help me in this concepts as i have an interivew on qtp in a couple of days. plz do help me.. thanks in Advance.
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
what do u mean by test harnesses in qtp?
what type of test cases tou will automate?
hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful?
could any help me please, how to work on visual foxpro application using UFT
What is keyword driven framework?
without Qtp features can we automated?
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.