how to write scripts in QTP?

Answer Posted / tripti arya

Scripts in QTP can be generated through recording or through
descriptive programming.Use object spy for descriptive
programming.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define virtual object?

606


What are the main differences of qtp and win runner?

593


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1440


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

1720


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

505






Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2056


Explain how to use QTP to check broken links on a page?

581


How do you synchronization point through DP?

595


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

703


UFT 12.02 which ALM version will support

981


Which environments does qtp support?

671


if numbers are always changing write a script for that

3384


What is synchronization point in QTP?

670


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.

1763


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1499