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 |
What are the benefits of quick test pro(qtp)?
any challange that faced in your project? (please give me some examples in your project?
What is an object repository?
interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How to handle recovery scenario for a application crash.write script for this.
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What is QTP Frame Work ,and i want it in detail
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
What is the dis advantage of check points in QTP, if any?
What is TOM in QTP?