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

I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  


Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?

2 Answers  


Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...

0 Answers   Bank Of America,


In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?

1 Answers   IBM, TCS,


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

0 Answers  






how to main tain the Old scripts in qtp?

1 Answers   IBM,


In QTP, Which are the concepts are needed to do Functional testing and Regression testing?

3 Answers   IBM,


How will you declare a variable in qtp?

0 Answers  


if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND

8 Answers   ADP,


What is the extension of the recovery scenario file in qtp?

0 Answers  


Which environments does qtp support?

0 Answers  


What is difference between shared and local object repository?

0 Answers  


Categories