We need to verify the user name & password in for the user
validation. But we don't want to use the parameterization/
loop for user name and password. What is the way in
scripting so that user & password will generate automatically.

Answer Posted / aparna

You can generate username and password using random number
within a range ..convert the generated random numbers to
string using chr.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.

5084


What is synchronization? What are the ways you can synchronize?

639


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1408


after click on compose mail how can we attached a file in qtp with vbscript code

1607


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1553






Explain the types of object repositorys in qtp?

562


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1495


What is output value? How many types of output values are there in qtp?

572


How does QTP identify an object?

604


How to handle dynamic objects in quicktest professional?

489


Can U Explain about QTP tool from older version to latest version also its differences?

1504


Can we run test with out adding object in object repository? How it is possible?

535


What are the types of environment variables in qtp?

540


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1590


Suppose I want fail that check point? How can you do that?

593