Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making input data unique
#2
Not Solved
Why Not use Randomize and RND function which will give you a unique Number every time you call.

i used this in my code:

Code:
Randomize
Environment.Value("Client_No_Random")=Int((9999999 - 1111111 + 1) * Rnd) + 1111111

it throws me a unique client number everytime i run the test....

Interestingly RND Works exactly the way you have described in your 3rd paragraph

Regards
Kishore
Reply


Messages In This Thread
Making input data unique - by Brian - 09-10-2008, 01:27 PM
RE: Making input data unique - by kishoreinchennai - 09-11-2008, 11:26 PM
RE: Making input data unique - by swarnavure - 09-16-2008, 02:34 PM
RE: Making input data unique - by tapandalal - 10-22-2008, 10:31 PM
RE: Making input data unique - by swarnavure - 10-03-2008, 05:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 900 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 18,561 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Web Object Unique ID Number zunebuggy 0 1,556 07-10-2017, 05:37 PM
Last Post: zunebuggy
Rolleyes QTP Unique Identification of object minug 11 12,916 02-26-2014, 12:39 PM
Last Post: supputuri
  Problem in Input from keyboard:sendkeys Rachna 1 4,973 10-14-2013, 06:07 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)