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

What is ObjectParamater?

0 Answers   CTS,


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


How Can I automate PDF forms using QTP9.2 ?

0 Answers  


When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?

6 Answers  


hi how could i get installation guide for QTP 9.0 on XP help me for this !!!!!

1 Answers  


By using QTP, How do you test a frame in a web page?

4 Answers   TCS,


Have you done batch testing in qtp? If yes how you are doing?

0 Answers  


request to add whatsapp grp for test engineer

1 Answers  


How we can import data from database?

0 Answers  


What is the difference Between LowLevel and Normal Recording Modes?

1 Answers  


With help of object repository,we can able to write the descriptive program manually?

1 Answers  


I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here?

2 Answers   Ordain Solutions,


Categories