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 to parameterizing values from an excel sheet in Quick test professional?
Give me diffrent script in QTP for Webpage(Java and .Net),WindowsBased Applications,Java application,.Net application...
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
using descriptive programming how to close all opend browsers?
str="QTP AUTOMATION TESTING" here how many T are there in the str finally i want to display the T
Describe function procedure in vbscript.
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What is a reusable action?
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?
take one exmple and write on that discriptive programe in qtp?