If u r using descriptive programming to identify the object
where do u write the script for those objects? do u write
it in the expertview? plz do answer its urgent thanks
advance.

Answers were Sorted based on User's Feedback



If u r using descriptive programming to identify the object where do u write the script for those ..

Answer / aparna

Yes u can write in the expert view like this:

Browser("Browser").Page("Page").WebEdit("Name:=txt_Name","html
tag:=INPUT").set "Test"

Is This Answer Correct ?    4 Yes 1 No

If u r using descriptive programming to identify the object where do u write the script for those ..

Answer / krishan kant sharma

You need to write script in Expert Mode.
For example you want to click on one button available on
Calculator:
' Open Calculator
Systemutil.Run "Calc"
'Click on Button 1-simplest code
Window("text:=Calculator").winbutton("text:=1").Click
'Close Calculator
systemutil.CloseDescendentProcesses

Is This Answer Correct ?    0 Yes 0 No

If u r using descriptive programming to identify the object where do u write the script for those ..

Answer / jas

No you cant write the descriptive programming in expert
view. Descriptive programming is written in keyword view
only

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More QTP Interview Questions

Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

4 Answers  


How the exception handling can be done using quicktest professional (qtp)?

0 Answers  


Whenever we r keeping mouse pointer under the image we r getting image name. In qtp how can we do this thing.weather that name is coming or not?

5 Answers  


HOW TO COUNT NUMBER OF ITEMS PRESENT IN WEB LIST

8 Answers  


what is descriptive.create()in qtp?

4 Answers   IBM,


Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

1 Answers  


How to find local host name using QTP?

6 Answers  


What is the architecture of framework

0 Answers  


how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?

6 Answers   IBM,


how to test background color and dynamic images during runtime

4 Answers   Accenture, Oracle,


what is the purpose of QTP?

2 Answers  


Explain the features and benefits of quick test pro(qtp)?

0 Answers  


Categories