[Webtest] problem solved - Re: Dynamic Property issue

Lisa Crispin Lisa Crispin <lisa.crispin@gmail.com>
Wed, 29 Feb 2012 12:46:28 -0700


--20cf3026697a72be1104ba1f997e
Content-Type: text/plain; charset=ISO-8859-1

This turned out to be the Ant version. Lori had specified ant 1.7 in her
.profile, but something changed on her box so that it wasn't reading and
loading up the .profile variables anymore. Another mystery solved!
-- Lisa

On Wed, Feb 29, 2012 at 11:47 AM, Lisa Crispin <lisa.crispin@gmail.com>wrote:

> I'm forwarding this on behalf of my teammate. She and another teammate are
> having this issue. I don't have this problem, and neither does yet another
> teammate. We can't figure out what the difference is between the
> environments where the tests run fine and the ones that have this issue
> with dynamic properties not being populated. Anyone have any ideas? We are
> on version 1762 - we want to update to the latest version (we tried last
> fall), but there are a lot of backward compatibility issues and we need a
> lot of time to update our scripts.
> thanks
> Lisa
>
> ---------- Forwarded message ----------
> From: Lori Thayer <Lori.Thayer@eplanservices.com>
> Date: Tue, Feb 28, 2012 at 12:22 PM
> Subject: FW: Dynamic Property issue
> To: Lisa Crispin <lisa.crispin@gmail.com>
>
>
>
>
> From: Lori Thayer <lori.thayer@eplanservices.com>
> Date: Tue, 28 Feb 2012 08:50:07 -0700
> To: "webtest@lists.canoo.com" <webtest@lists.canoo.com>
> Subject: Dynamic Property issue
>
> Greetings,
>
> Due to some IntelliJ issues I had to blow away my code locally and recheck
> out all of our code/tests this morning. Since then  the dynamic properties
> won't resolve.
>
> Below is an example from one test that fails for me locally although it
> passes in our build environment and for my coworkers.
>
> I've tried to track down a difference but haven't been successful so far.
> If someone has any ideas I would love to hear them.
>
> Storing the values
> *  6* [image: ok] *storeDynamicProperty*
> nameusername valuetucker=> valuetucker
> 1 *  7*[image: ok] *storeDynamicProperty*
> namepassword valuetest1234 => valuetest1234
>
> Setting the input fields
> *  34* [image: ok] *setinputfield*
> Enter userid
> nameusername valuetucker
> 9*  35* [image: ok] *setinputfield*
> Enter password
> namepassword valuetest1234
>
>
> Results page shows the property didn't resolve before it was set, even
> though it looks like it was in the setinputfield above.
>
> Username: invalid username/password combination!Username:   Password:
>
>
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for
> Testers and Agile Teams_ (Addison-Wesley 2009)
> Contributor to _Beautiful Testing_ (O'Reilly 2009)
> http://lisacrispin.com
> @lisacrispin on Twitter
> http://entaggle.com/lisacrispin
>
>


-- 
Lisa Crispin
Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
and Agile Teams_ (Addison-Wesley 2009)
Contributor to _Beautiful Testing_ (O'Reilly 2009)
http://lisacrispin.com
@lisacrispin on Twitter
http://entaggle.com/lisacrispin

--20cf3026697a72be1104ba1f997e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

This turned out to be the Ant version. Lori had specified ant 1.7 in her .p=
rofile, but something changed on her box so that it wasn&#39;t reading and =
loading up the .profile variables anymore. Another mystery solved!<br>-- Li=
sa<br>
<br><div class=3D"gmail_quote">On Wed, Feb 29, 2012 at 11:47 AM, Lisa Crisp=
in <span dir=3D"ltr">&lt;<a href=3D"mailto:lisa.crispin@gmail.com">lisa.cri=
spin@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;m forwarding this on behalf of my teammate. She and another teammate =
are having this issue. I don&#39;t have this problem, and neither does yet =
another teammate. We can&#39;t figure out what the difference is between th=
e environments where the tests run fine and the ones that have this issue w=
ith dynamic properties not being populated. Anyone have any ideas? We are o=
n version 1762 - we want to update to the latest version (we tried last fal=
l), but there are a lot of backward compatibility issues and we need a lot =
of time to update our scripts.<br>

thanks<br><font color=3D"#888888">Lisa<br><br></font><div class=3D"gmail_qu=
ote"><div class=3D"im">---------- Forwarded message ----------<br>From: <b =
class=3D"gmail_sendername">Lori Thayer</b> <span dir=3D"ltr">&lt;<a href=3D=
"mailto:Lori.Thayer@eplanservices.com" target=3D"_blank">Lori.Thayer@eplans=
ervices.com</a>&gt;</span><br>
</div><div class=3D"im">
Date: Tue, Feb 28, 2012 at 12:22 PM<br>Subject: FW: Dynamic Property issue<=
br>To: Lisa Crispin &lt;<a href=3D"mailto:lisa.crispin@gmail.com" target=3D=
"_blank">lisa.crispin@gmail.com</a>&gt;<br><br><br></div><div style=3D"word=
-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-s=
erif">

<div><br></div><div><div></div><div class=3D"h5"><div><br></div><span><div>=
<div style=3D"font-family:Calibri;font-size:11pt;text-align:left;color:blac=
k;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADD=
ING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:me=
dium none;PADDING-TOP:3pt">

<span style=3D"font-weight:bold">From: </span> Lori Thayer &lt;<a href=3D"m=
ailto:lori.thayer@eplanservices.com" target=3D"_blank">lori.thayer@eplanser=
vices.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> Tue, 28=
 Feb 2012 08:50:07 -0700<br>

<span style=3D"font-weight:bold">To: </span> &quot;<a href=3D"mailto:webtes=
t@lists.canoo.com" target=3D"_blank">webtest@lists.canoo.com</a>&quot; &lt;=
<a href=3D"mailto:webtest@lists.canoo.com" target=3D"_blank">webtest@lists.=
canoo.com</a>&gt;<br>

<span style=3D"font-weight:bold">Subject: </span> Dynamic Property issue<br=
></div><div><br></div></div><div><div style=3D"color:rgb(0,0,0);font-size:1=
4px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><div>
Greetings,</div><div><br></div><div>Due to some IntelliJ issues I had to bl=
ow away my code locally and recheck out all of our code/tests this morning.=
 Since then =A0the dynamic properties won&#39;t resolve.</div><div><br></di=
v>

<div>Below is an example from one test that fails for me locally although i=
t passes in our build environment and for my coworkers.=A0</div><div><br></=
div><div>I&#39;ve tried to track down a difference but haven&#39;t been suc=
cessful so far. If someone has any ideas I would love to hear them.</div>

<div><br></div><div>Storing the values</div></div><div><table style=3D"disp=
lay:inline;color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-siz=
e:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spac=
ing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-=
transform:none;white-space:normal;word-spacing:0px" border=3D"0" cellpaddin=
g=3D"3" cellspacing=3D"0" width=3D"100%">

<tbody><tr><td style=3D"background-color:rgb(248,248,248);border-bottom-wid=
th:1px;border-bottom-style:inset;border-bottom-color:black"><b>=A0 6</b></t=
d><td style=3D"background-color:rgb(248,248,248);border-bottom-width:1px;bo=
rder-bottom-style:inset;border-bottom-color:black" align=3D"center">

<img src=3D"" alt=3D"ok" style=3D"border-top-width:0px;border-right-width:0=
px;border-bottom-width:0px;border-left-width:0px;border-style:initial;borde=
r-color:initial"></td><td style=3D"background-color:rgb(248,248,248);border=
-bottom-width:1px;border-bottom-style:inset;border-bottom-color:black" vali=
gn=3D"top">

<b>storeDynamicProperty</b>=A0<br></td><td style=3D"background-color:rgb(24=
8,248,248);border-bottom-width:1px;border-bottom-style:inset;border-bottom-=
color:black" valign=3D"top"><div style=3D"width:1000px"><table cellpadding=
=3D"2" cellspacing=3D"0">

<tbody><tr><td style=3D"background-color:rgb(248,248,248);white-space:nowra=
p;font-weight:bold">name</td><td style=3D"background-color:rgb(248,248,248)=
">username</td></tr><tr><td style=3D"background-color:rgb(248,248,248);whit=
e-space:nowrap;font-weight:bold">

value</td><td style=3D"background-color:rgb(248,248,248)">tucker</td></tr><=
tr><td style=3D"background-color:rgb(248,248,248);white-space:nowrap;font-w=
eight:bold">=3D&gt; value</td><td style=3D"background-color:rgb(248,248,248=
)">
tucker</td>
</tr></tbody></table></div></td><td style=3D"background-color:rgb(248,248,2=
48);border-bottom-width:1px;border-bottom-style:inset;border-bottom-color:b=
lack" align=3D"right" valign=3D"top">1</td></tr><tr><td style=3D"background=
-color:rgb(248,248,248);border-bottom-width:1px;border-bottom-style:inset;b=
order-bottom-color:black">

<b>=A0 7</b></td><td style=3D"background-color:rgb(248,248,248);border-bott=
om-width:1px;border-bottom-style:inset;border-bottom-color:black" align=3D"=
center"><img src=3D"" alt=3D"ok" style=3D"border-top-width:0px;border-right=
-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initi=
al;border-color:initial"></td>

<td style=3D"background-color:rgb(248,248,248);border-bottom-width:1px;bord=
er-bottom-style:inset;border-bottom-color:black" valign=3D"top"><b>storeDyn=
amicProperty</b>=A0<br></td><td style=3D"background-color:rgb(248,248,248);=
border-bottom-width:1px;border-bottom-style:inset;border-bottom-color:black=
" valign=3D"top">

<div style=3D"width:1000px"><table cellpadding=3D"2" cellspacing=3D"0"><tbo=
dy><tr><td style=3D"background-color:rgb(248,248,248);white-space:nowrap;fo=
nt-weight:bold">name</td><td style=3D"background-color:rgb(248,248,248)">pa=
ssword</td>

</tr><tr><td style=3D"background-color:rgb(248,248,248);white-space:nowrap;=
font-weight:bold">value</td><td style=3D"background-color:rgb(248,248,248)"=
>test1234</td></tr><tr><td style=3D"background-color:rgb(248,248,248);white=
-space:nowrap;font-weight:bold">

=3D&gt; value</td><td style=3D"background-color:rgb(248,248,248)">test1234<=
/td></tr></tbody></table></div></td></tr></tbody></table></div><div><br></d=
iv><div>Setting the input fields</div><div><table style=3D"display:inline;c=
olor:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-=
style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;l=
ine-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:no=
ne;white-space:normal;word-spacing:0px" border=3D"0" cellpadding=3D"3" cell=
spacing=3D"0" width=3D"100%">

<tbody><tr></tr><tr><td style=3D"background-color:rgb(248,248,248);border-b=
ottom-width:1px;border-bottom-style:inset;border-bottom-color:black"><b>=A0=
 34</b></td><td style=3D"background-color:rgb(248,248,248);border-bottom-wi=
dth:1px;border-bottom-style:inset;border-bottom-color:black" align=3D"cente=
r">

<img src=3D"" alt=3D"ok" style=3D"border-top-width:0px;border-right-width:0=
px;border-bottom-width:0px;border-left-width:0px;border-style:initial;borde=
r-color:initial"></td><td style=3D"background-color:rgb(248,248,248);border=
-bottom-width:1px;border-bottom-style:inset;border-bottom-color:black" vali=
gn=3D"top">

<b>setinputfield</b>=A0<br>Enter userid</td><td style=3D"background-color:r=
gb(248,248,248);border-bottom-width:1px;border-bottom-style:inset;border-bo=
ttom-color:black" valign=3D"top"><div style=3D"width:1000px"><table cellpad=
ding=3D"2" cellspacing=3D"0">

<tbody><tr><td style=3D"background-color:rgb(248,248,248);white-space:nowra=
p;font-weight:bold">name</td><td style=3D"background-color:rgb(248,248,248)=
">username</td></tr><tr><td style=3D"background-color:rgb(248,248,248);whit=
e-space:nowrap;font-weight:bold">

value</td><td style=3D"background-color:rgb(248,248,248)">tucker</td></tr><=
/tbody></table></div></td><td style=3D"background-color:rgb(248,248,248);bo=
rder-bottom-width:1px;border-bottom-style:inset;border-bottom-color:black" =
align=3D"right" valign=3D"top">

9</td></tr><tr><td style=3D"background-color:rgb(248,248,248);border-bottom=
-width:1px;border-bottom-style:inset;border-bottom-color:black"><b>=A0 35</=
b></td><td style=3D"background-color:rgb(248,248,248);border-bottom-width:1=
px;border-bottom-style:inset;border-bottom-color:black" align=3D"center">

<img src=3D"" alt=3D"ok" style=3D"border-top-width:0px;border-right-width:0=
px;border-bottom-width:0px;border-left-width:0px;border-style:initial;borde=
r-color:initial"></td><td style=3D"background-color:rgb(248,248,248);border=
-bottom-width:1px;border-bottom-style:inset;border-bottom-color:black" vali=
gn=3D"top">

<b>setinputfield</b>=A0<br>Enter password</td><td style=3D"background-color=
:rgb(248,248,248);border-bottom-width:1px;border-bottom-style:inset;border-=
bottom-color:black" valign=3D"top"><div style=3D"width:1000px"><table cellp=
adding=3D"2" cellspacing=3D"0">

<tbody><tr><td style=3D"background-color:rgb(248,248,248);white-space:nowra=
p;font-weight:bold">name</td><td style=3D"background-color:rgb(248,248,248)=
">password</td></tr><tr><td style=3D"background-color:rgb(248,248,248);whit=
e-space:nowrap;font-weight:bold">

value</td><td style=3D"background-color:rgb(248,248,248)">test1234<br><br><=
/td></tr></tbody></table></div></td></tr></tbody></table></div><div><div><b=
r></div><div>Results page shows the property didn&#39;t resolve before it w=
as set, even though it looks like it was in the setinputfield above.</div>

<div><br></div></div></div></div></span><div><table style=3D"color:rgb(0,0,=
0);font-family:Times;font-style:normal;font-variant:normal;font-weight:norm=
al;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:=
none;white-space:normal;word-spacing:0px;font-size:medium" align=3D"left" b=
order=3D"0" cellpadding=3D"0" cellspacing=3D"0" width=3D"100%">

<tbody><tr><td colspan=3D"3" align=3D"left" valign=3D"top"><span>Username: =
invalid username/password combination!</span></td></tr><tr><td align=3D"rig=
ht" valign=3D"top" width=3D"38%"><span>Username:=A0</span></td><td align=3D=
"left" valign=3D"top" width=3D"37%">

<span><input name=3D"username" maxlength=3D"20" size=3D"22" value=3D"#{user=
name}" type=3D"text"></span></td><td align=3D"center" valign=3D"top" width=
=3D"25%"><span>=A0</span></td></tr><tr><td align=3D"right" valign=3D"top" w=
idth=3D"38%"><span>Password:=A0</span></td>

<td align=3D"left" valign=3D"top" width=3D"37%"><span><input name=3D"passwo=
rd" maxlength=3D"16" size=3D"22" value=3D"" type=3D"password"></span></td><=
/tr></tbody></table></div></div></div></div>
</div><br><br clear=3D"all"><div><div></div><div class=3D"h5"><br>-- <br>Li=
sa Crispin<br>Co-author with Janet Gregory, _Agile Testing: A Practical Gui=
de for Testers and Agile Teams_ (Addison-Wesley 2009)<br>Contributor to _Be=
autiful Testing_ (O&#39;Reilly 2009)<br>

<a href=3D"http://lisacrispin.com" target=3D"_blank">http://lisacrispin.com=
</a><br>@lisacrispin on Twitter<br><a href=3D"http://entaggle.com/lisacrisp=
in" target=3D"_blank">http://entaggle.com/lisacrispin</a><br><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Lisa Crispi=
n<br>Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Te=
sters and Agile Teams_ (Addison-Wesley 2009)<br>Contributor to _Beautiful T=
esting_ (O&#39;Reilly 2009)<br>
<a href=3D"http://lisacrispin.com" target=3D"_blank">http://lisacrispin.com=
</a><br>@lisacrispin on Twitter<br><a href=3D"http://entaggle.com/lisacrisp=
in" target=3D"_blank">http://entaggle.com/lisacrispin</a><br><br>

--20cf3026697a72be1104ba1f997e--