Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generate Invalid Values
#1
Not Solved
Hi

I would like to generate the invalid values for some fields like ID Type, ID Number. For ex ID type range from A to D and I need to test by providing the value out of this range and ID number like it should be alpha numeric. How I should generate this invalid value using VB script(QTP). Whether I need to use regular expression? If so how?
Reply
#2
Not Solved
Hi,

You may use random function to generate such string and then use this random function value as your test data.

Regards,
K
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Invalid procedure call or argument Uma 5 9,558 10-09-2011, 03:24 AM
Last Post: Uma

Forum Jump:


Users browsing this thread: 1 Guest(s)