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 |
Explain how you can find length of array in qtp?
I have application it is one digital clock with all minutes and seconds. you have to identify the time to verify weather the time displayed is correct time or not? How do you automate this scenario?
write the vb script for call to new action in qtp?
what is vmodel?advantages and disadvantages of vmodel?
what is active screen,keyboard view?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Key word driven framework
Can you brief the hurdles you faced during Automation testing?
Give the syntax to load function at run time.
How you will rate urself in QTP in the range of 0 to 5
How do we run the scripts in QTP ?? what are the three options....
Could you suggest me best coaching for automation in Delhi or nearby area?