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 is load testing?
How to analyzing test results using quicktest professional?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Write a function which returns the addition of two numbers. give the value of the numbers outside the function.
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
how interviews will be on QTP?
What are the views available in qtp?
What is the present version of the VB Script we are using
What is qtp window?
If 3 browsers are opened in our system, how to enter the facebook url into second browser by using descriptive programing
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
X=10,Y=20 you need to swap the numbers without using a third variable?