how to write script in qtp(vbscript)..i mean with out
application deployed..and how to call script1 into script2?

Answer Posted / shafi

hi
Using Descriptive Programming automation scripts can be
created in QTP even if the application has not been
developed.
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until
unless its object description is in the Object Repository.
But descriptive programming provides a way to perform
action on objects which are not in Object repository
There are two ways in which descriptive programming can be
used
1. By creating properties collection object for the
description.
2. By giving the description in form of the string
arguments.

Is This Answer Correct ?    45 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to export quicktest professional (qtp) results to an .xls file?

604


can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5108


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

1922


How to use output values in qtp ?

562


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1845






What are the Application Functions available in QTP?

1478


hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this

1518


How to connect to a database?

581


Differences between text and test area checkpoints?

586


For which type of projects the iterative model is not suitable?

1437


What is 'sleep' in sync point?

631


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1566


in a web page How to check and display a particular word from a paragraph?

2044


What is an optional step in qtp ?

639


What is the file extension of the code file in qtp?

563