how to create the varibles and how these are connect to qtp?
plz tell me
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani
What will be the test script in QTP to test a ComboBox where a user has to select more than two items????
Which features or drawbacks of QTP lead to the upgrade for a newer version?
what are the areas that cannot be tested using an automated tool? list a few
WHAT IS THE DIFF BTW KEYWORD DRIVEN TESTING AND DATA DRIVEN TESTING?
What is the use of sendkeys and what are send keys
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
How many types of recording modes in the qtp?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is test object model in quicktest professional (qtp)?
hi how could i get installation guide for QTP 9.0 on XP help me for this !!!!!
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......