How do u write script in qtp? where do u write?

Answers were Sorted based on User's Feedback



How do u write script in qtp? where do u write?..

Answer / sreekanth

In QTP we can develop the script in following ways :

1. By Using Standard Recording :Here script will be
Automaticaly Generated as per the recording.

2.Manually writing the Script:

for above two ways script will be written in the
Expert view of the Test Pane of Quick Test Window.

3. Using Library Files(.vbs):
In.vbs files also we can write the script & then we can
associate that files to a particular test if needed.

Mostly we are going to develop the scripts in expert view
by using 1 or 2 itself.

Is This Answer Correct ?    6 Yes 0 No

How do u write script in qtp? where do u write?..

Answer / ns

thanks sreekanth

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


Can you list some technologies that support qtp?

0 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 Answers  


What is Cross browser testing? Does UFT support it?

0 Answers  


What are the limitations in using Virtual objects?

1 Answers   ITC Infotech,






There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me

2 Answers   Livetek,


How QTP integrate with application?

1 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


How to export data present in Datatable to an ".xls" file?

2 Answers  


how do check the links in a webpage ?

7 Answers   Accenture, Wipro,


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

0 Answers  


how many types of actions r there? what r they? explain? pls give any one answer?

3 Answers   IBM,


Categories