Answer Posted / vistaraj
i agree to thirumala reddy.
to create runtime property for an object, we have to use
SETTOPROPERTY as following
'Set the Text property for 7 as Server
Window("Calculator").WinButton("7").SetToProperty
("text","Server")
Now check if the object has created runtime property or not
by GETTOPROPERTY
strText=Window("Calculator").Winbutton("7").GetToProperty
("Text")
msgbox "strText"
See that "Server" is displayed
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
What is use of object spy?
When you open QTP, how many sheets you can see?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
What are the views available in quicktest professional (qtp)?
What is TOM in QTP?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
Does Low-level recording capture mouse movements?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
What is the meaning Work bench?