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 can I change object description or check point values in qtp?
How to handle the exceptions using recovery scenario manager In QTP?
How to export data present in Datatable to an ".xls" file?
what is exact difference between smoke and sanity testing?
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
what is object spy
Explain different type of event trigger option.
actually how many hours per one day we will work on automation (qtp) in real time
what are the different Frame Works in Quick Test Proffessional testing
If already everything is tested using White-Box testing, then what is the need of using Black box testing?
if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?
If object is not recognized by qtp but the object is standard object what is your approach?