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
Whats the realtime QTP testing process
How the exception handling can be done using quicktest professional (qtp)?
Discuss the QTP Environment?
How can we conduct U-I Testing by using QTP??????
How many tabs are available in debug viewer pane?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
How can you identify the browser and its information using the qtp script?
Describe synchronization point.
Why bpt?
How to find the length of the string in qtp?
how can we compare descriptive programing with a regular expression
What is action? How many types of actions are there in qtp?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
Through array we can execute the testcase how ? give me example