How to create non-used email address everything QTP scirpt runs - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How to create non-used email address everything QTP scirpt runs (/Thread-How-to-create-non-used-email-address-everything-QTP-scirpt-runs) |
How to create non-used email address everything QTP scirpt runs - thakkarbhav - 06-11-2009 Hello, I am recording my script for "Registraion" module of the website where I need to supply non-used Email address and Password to record the script. Now when I run the script ( It has that email address Info ) then system displays an error message that "Supplied Email Address" is already exists. I can manually change different email address in the script and it runs fine. I want to know that is there any way to automate generation of new Email address so that i do not have to change it manually. If I paramatarize then also i need to enter pool of email address in the global data sheet. Please provide your suggestions. Thanks, Bhav RE: How to create non-used email address everything QTP scirpt runs - guocnc - 06-12-2009 Hello, You can associate the email address with the present time and date to guarrante the email address is unique. RE: How to create non-used email address everything QTP scirpt runs - ursvinod - 06-16-2009 Hi, You can use random number Email = RandomNumber(999,9999) Email = Email&RandomNumber(999,9999) Email = "john"&Email&"@gmail.com" Hope this works... |