do not have idea for above solution. you can generate random number for input upperbound=9999 lowerbound=1000 Function randomnumber(upperbound,lowerbound) Randomize randomvalue = CInt(Int((upperbound - lowerbound + 1) * Rnd() + lowerbound)) randomnumber=randomvalue End Function msgbox randomnumber(upperbound,lowerbound)
On Thu, Jan 2, 2014 at 3:38 PM, ravi <[email protected]> wrote: > Hi QTP Experts, > > in one of the forum i saw , the solution for the above was given below > *http://www.allinterview.com/showanswers/102690.html > <http://www.allinterview.com/showanswers/102690.html>* > > # 1 <http://www.allinterview.com/viewpost/234062.html> 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. > > can anyone give clear picture of the solution suggested. > > regards, > ravi > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
