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 |
How do you delete unwanted results in qtp?
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
write the code to reverse a string without using Strrev built in function.
How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script
write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.
A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.
What is the disadvantage of smart identification?
what is object spy
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE
write a qtp code to count the number of child objects in login page and highlight it
When it be decided to go for either Per - Action or Shared?