how to create the varibles and how these are connect to qtp?
plz tell me




Answers were Sorted based on User's Feedback



how to create the varibles and how these are connect to qtp? plz tell me..

Answer / vengalrao

creating the variables through XML Failes and associate to
the test script or other wise direct write the script
statment Environment.Value("variable name" or
parameterizing the value)

Is This Answer Correct ?    0 Yes 0 No

how to create the varibles and how these are connect to qtp? plz tell me..

Answer / harsh pruthi

The question is bit vague

You can use the the variables directly in the script by
using DIM x as Number or if the Varibes need to be used
across the test case the can be defined as the environmet
variables

Is This Answer Correct ?    0 Yes 2 No

how to create the varibles and how these are connect to qtp? plz tell me..

Answer / fayaz

As we already know that QTP makes use of VB script, so
declaration of variable will be as follows:

Dim x

and if u wnt to make use of the variable across all the
actions in ur test then the declaration of the variable
will be as follows:

Environment("variable_name").value

and..now u can make use of this environment value anywhere
in ur test...

Is This Answer Correct ?    0 Yes 2 No



Post New Answer



More QTP Interview Questions

what is actually contain test report? can anybody post the test report

0 Answers   Synechron,


What type of VB script u had done in expert view?

1 Answers  


What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


OPening of notedpad in QTP to write and execute the coding?

2 Answers  


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,






How you test the object which is dynamically changes its location?

7 Answers   Wipro,


How do you invoke an application using the step generator in qtp?

5 Answers  


How will u integrate oracel with QTP?

2 Answers   Microsoft,


what is exacltly TIERS ?

0 Answers  


what is standalone database

1 Answers   Wipro,


I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?

3 Answers  


Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)

2 Answers  






Categories