how to write scripts in QTP?

Answer Posted / malathi

Using methods in object spy we can write scripts.
using step generator we can write scripts.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

2038


How QTP support all types of applications (platforms)?

4260


How to start recording using quicktest professional (qtp)?

802


What is regular expression?

805


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1983


How to create Reusable and Multiple Actions?

1915


Can any suggest me what is exposure testing?

1562


What is qtpro? What is quick test pro?

813


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1659


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1800


Why is Client side image is preferred over server side image?

1664


Output values? i want a practical example

1516


How software tester can use constants and variables in scripts?

1925


Explain Descriptive Programming Types with Examples?

1148


Is it possible to change the property value at runtime? How it is possible?

781