How will you set a unique four digit number in an edit
field in QTP?
Answers were Sorted based on User's Feedback
Answer / tvs ramakrishna chowdary
we can set 4 digit no in edit box field dynamically
-----------------------------------------------------
let assume password edit box is there
----------------------------------------
str="rama"
no=randomnumber(1000,10000)'here we are generating random
value between 1000,10000
pwd=str&no
password=crypt.encrypt(pwd)
objectheirarchy.edit("password").setsecure pwd
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / bashur
using environment variable
you can write XML script to define environment variable in
notepad and save it as XML file.and when u executing qtp
main script call this environment variable.
Is This Answer Correct ? | 4 Yes | 2 No |
how do you remove object repository at runtime and load object repository and verify it
can u please explain what is the exact difference between qtp8.2 and 9.0
how can i prepare for QTP(8.2) to face interview ? give over view details?
Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
Explain the concept of object repository and how QTP recognizes objects?
How to connect QTP to Testdirector
what is purpose of automation?
Ehat is the descriptive programing in QTP?
HOW TO DO THE BATCH TESTING USING QTP?
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?
How to pass parameters to Actions Pls anybody can give the answer.. Thanks in advance...
For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?