How will you set a unique four digit number in an edit
field in QTP?
Answer Posted / 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 |
Post New Answer View All Answers
There is an excel file of 1 to 100 sheets how you will iterate through it?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
What are the technics follow in writing VB script?
How you can write contexts to text file in qtp?
Explain the concept of object repository?
How to use Environment parameterization? Explain with an example.
Tell me one scenario, the complex functionality you have automated in your project?
Hi All, I need code for how to execute qtp scripts from excell sheet
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
What are the general steps involved in the data driven framework?