[Webtest] help!
Forsberg, Mike
Forsberg, Mike" <mike.forsberg@amd.com
Thu, 3 Apr 2008 16:43:07 -0500
This is a multi-part message in MIME format.
------_=_NextPart_001_01C895D3.B4325AF2
Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C895D3.B4325AF2"
------_=_NextPart_002_01C895D3.B4325AF2
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
I think the Kevin Casey answered your question already... Aren't random
numbers in the set of random strings?
=20
I don't like e-mailing manual links but please see "storeRandom string
Example" on http://webtest.canoo.com/webtest/manual/storeRandom.html
________________________________
From: webtest-admin@gate4.canoo.com
[mailto:webtest-admin@gate4.canoo.com] On Behalf Of Deepa Nigam
Sent: Thursday, April 03, 2008 3:57 PM
To: webtest@gate4.canoo.com
Subject: [Webtest] help!
=20
Hi,
=20
Can we use storeRandom to create strings randomly ? Can someone post an
example of how to do that ?
=20
Thanks,
Deepa
________________________________
Get in touch in an instant. Get Windows Live Messenger now.
<http://www.windowslive.com/messenger/overview.html?ocid=3DTXT_TAGLM_WL_R=
e
fresh_getintouch_042008>=20
------_=_NextPart_002_01C895D3.B4325AF2
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I think the Kevin Casey answered =
your
question already… Aren’t random numbers in the set of random
strings?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I don’t like e-mailing manual =
links but
please see “</span></font>storeRandom string Example” on =
http://webtest.canoo.com/webtest/manual/storeRandom.html<o:p></o:p></p>
<div>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>
</span></font></div>
<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
webtest-admin@gate4.canoo.com [mailto:webtest-admin@gate4.canoo.com] =
<b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Deepa Nigam<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, April 03, =
2008
3:57 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
webtest@gate4.canoo.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Webtest] =
help!</span></font><o:p></o:p></p>
</div>
<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>Hi,<br>
<br>
Can we use storeRandom to create strings randomly ? Can someone post an =
example
of how to do that ?<br>
<br>
Thanks,<br>
Deepa<o:p></o:p></span></font></p>
<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
<hr size=3D2 width=3D"100%" align=3Dcenter>
</span></font></div>
<p class=3DMsoNormal><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma'>Get in touch in an instant. <a
href=3D"http://www.windowslive.com/messenger/overview.html?ocid=3DTXT_TAG=
LM_WL_Refresh_getintouch_042008"
target=3D"_new">Get Windows Live Messenger =
now.</a><o:p></o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_002_01C895D3.B4325AF2--
------_=_NextPart_001_01C895D3.B4325AF2
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: from sausexbh2.amd.com ([163.181.22.102]) by sausexmb2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Apr 2008 15:34:27 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----_=_NextPart_003_01C89500.F1D70B80"
Received: from ausb3twp01.amd.com ([163.181.250.37]) by sausexbh2.amd.com with Microsoft SMTPSVC(6.0.3790.2499); Wed, 2 Apr 2008 15:34:27 -0500
Received: from ausb3extmailp02.amd.com (ausb3extmailp02.amd.com [163.181.251.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ausb3twp01.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 281A51945E6 for <mike.forsberg@amd.com>; Wed, 2 Apr 2008 15:34:15 -0500 (CDT)
Received: from mail137-sin-R.bigfish.com (mail-sin.bigfish.com [207.46.51.74]) by ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id m32KcTWw004969 for <mike.forsberg@amd.com>; Wed, 2 Apr 2008 15:38:33 -0500
Received: from mail137-sin (localhost.localdomain [127.0.0.1]) by mail137-sin-R.bigfish.com (Postfix) with ESMTP id 41218C103E3 for <mike.forsberg@amd.com>; Wed, 2 Apr 2008 20:34:21 +0000 (UTC)
Received: by mail137-sin (MessageSwitch) id 1207168459629687_14667; Wed, 2 Apr 2008 20:34:19 +0000 (UCT)
Received: from canoo.com (gate.canoo.com [212.232.176.82]) by mail137-sin.bigfish.com (Postfix) with ESMTP id C2D921C8070 for <mike.forsberg@amd.com>; Wed, 2 Apr 2008 20:34:18 +0000 (UTC)
Received: from dell1.canoo.com (localhost [127.0.0.1]) by canoo.com (Postfix) with ESMTP id 467D688581DC; Wed, 2 Apr 2008 22:34:09 +0200 (CEST)
Received: from enzo.optaros.com (unknown [66.181.93.2]) by canoo.com (Postfix) with ESMTP id 64EFA88581B0 for <webtest@lists.canoo.com>; Wed, 2 Apr 2008 22:33:46 +0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by enzo.optaros.com (Postfix) with ESMTP id 3691E122F1A57; Wed, 2 Apr 2008 16:33:45 -0400 (EDT)
Received: from enzo.optaros.com ([127.0.0.1]) by localhost (enzo.optaros.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1MCFLIiyn0w; Wed, 2 Apr 2008 16:33:40 -0400 (EDT)
Received: from [192.168.3.105] (rrcs-71-42-227-214.sw.biz.rr.com [71.42.227.214]) by enzo.optaros.com (Postfix) with ESMTP id 5EB4B122F1A16; Wed, 2 Apr 2008 16:33:40 -0400 (EDT)
Content-class: urn:content-classes:message
Subject: Re: [Webtest] How to generate random numbers
Date: Wed, 2 Apr 2008 15:33:46 -0500
Message-ID: <1207168426.6041.13.camel@kevin-laptop>
In-Reply-To: <BAY106-W307CFD87E355AFEA4D4601BDF40@phx.gbl>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Webtest] How to generate random numbers
Thread-Index: AciVAPIc717vcbWCSqic+2WIWdjEfw==
References: <BAY106-W307CFD87E355AFEA4D4601BDF40@phx.gbl>
List-Help: <mailto:webtest-request@lists.canoo.com?subject=help>
List-Subscribe: <http://lists.canoo.com/mailman/listinfo/webtest>,<mailto:webtest-request@lists.canoo.com?subject=subscribe>
List-Unsubscribe: <http://lists.canoo.com/mailman/listinfo/webtest>,<mailto:webtest-request@lists.canoo.com?subject=unsubscribe>
From: "Kevin Casey" <kcasey@optaros.com>
Sender: <webtest-admin@gate4.canoo.com>
To: "Deepa Nigam" <deepani@hotmail.com>
Cc: <webtest@gate4.canoo.com>
Reply-To: <webtest@gate4.canoo.com>,
"Kevin Casey" <kcasey@optaros.com>
This is a multi-part message in MIME format.
------_=_NextPart_003_01C89500.F1D70B80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello Deepa-
I've yet to use storeRandom myself, but from reading the docs, seems
like you could do something like:
<storeRandom property=3D"myRandomNumber" from=3D"0" to=3D"10" />
<setInputField htmlId=3D"id_random_field" value=3D"#{myRandomNumber}" />
the first step will store an integer in the range 0-10 (inclusive) in a
property called "myRandomNumber". the second step will enter the value
of myRandomNumber into a text input field on your page with the ID
"id_random_field". The first step is the important one, in your case -
once you have the random number stored in a property, you can do
anything you want with it with any other Webtest steps.
Good luck!
On Wed, 2008-04-02 at 13:23 -0700, Deepa Nigam wrote:
> Hi,
> =20
> I am new to Canoo Webtest. My application requires random number
> generation. Is there any method in Canoo that I can use to generate
> random numbers. I saw storeRandom but not sure how to use it.
> =20
> Can someone help !
>=20
>=20
> ______________________________________________________________________
> Use video conversation to talk face-to-face with Windows Live
> Messenger. Get started!
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest
------_=_NextPart_003_01C89500.F1D70B80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7652.24">
<TITLE>Re: [Webtest] How to generate random numbers</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=3D2>Hello Deepa-</FONT>
<BR><FONT SIZE=3D2>I've yet to use storeRandom myself, but from reading =
the docs, seems</FONT>
<BR><FONT SIZE=3D2>like you could do something like:</FONT>
</P>
<P><FONT SIZE=3D2><storeRandom property=3D"myRandomNumber" =
from=3D"0" to=3D"10" /></FONT>
<BR><FONT SIZE=3D2><setInputField =
htmlId=3D"id_random_field" =
value=3D"#{myRandomNumber}" /></FONT>
</P>
<P><FONT SIZE=3D2>the first step will store an integer in the range 0-10 =
(inclusive) in a</FONT>
<BR><FONT SIZE=3D2>property called "myRandomNumber". the =
second step will enter the value</FONT>
<BR><FONT SIZE=3D2>of myRandomNumber into a text input field on your =
page with the ID</FONT>
<BR><FONT SIZE=3D2>"id_random_field". The first step is the =
important one, in your case -</FONT>
<BR><FONT SIZE=3D2>once you have the random number stored in a property, =
you can do</FONT>
<BR><FONT SIZE=3D2>anything you want with it with any other Webtest =
steps.</FONT>
</P>
<P><FONT SIZE=3D2>Good luck!</FONT>
</P>
<P><FONT SIZE=3D2>On Wed, 2008-04-02 at 13:23 -0700, Deepa Nigam =
wrote:</FONT>
<BR><FONT SIZE=3D2>> Hi,</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I am new to Canoo Webtest. My application =
requires random number</FONT>
<BR><FONT SIZE=3D2>> generation. Is there any method in Canoo that I =
can use to generate</FONT>
<BR><FONT SIZE=3D2>> random numbers. I saw storeRandom but not sure =
how to use it.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Can someone help !</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
______________________________________________________________________</F=
ONT>
<BR><FONT SIZE=3D2>> Use video conversation to talk face-to-face with =
Windows Live</FONT>
<BR><FONT SIZE=3D2>> Messenger. Get started!</FONT>
</P>
<P><FONT SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>WebTest mailing list</FONT>
<BR><FONT SIZE=3D2>WebTest@lists.canoo.com</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://lists.canoo.com/mailman/listinfo/webtest">http://lists.can=
oo.com/mailman/listinfo/webtest</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_003_01C89500.F1D70B80--
------_=_NextPart_001_01C895D3.B4325AF2--