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

How to get all the objects count and objects names in webpage using QTP ?

6 Answers  


How can i use Output Check points in QTP

2 Answers  


i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know

1 Answers   Accenture,


how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.

5 Answers   IGT, Microsoft,


If some requirements r changed during the testing process ,then how can u handle this in frame work?

1 Answers  






What is creation time property and how does it work?

1 Answers  


What is the Dynamic Scenario in QTP? And also anybody give the example for this?

3 Answers  


what is the difference between the modular framework and datadriven frame work

2 Answers  


More details about keyword driven technique in QTP

1 Answers   TCS,


what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2?

1 Answers   Infosys,


can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?

2 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


Categories