No subject


Sat Apr 24 01:15:04 PDT 2010


.. nor do I know how I'd replicate this in Python.<BR>
<BR>&nbsp=3B<BR>
<HR id=3DstopSpelling>
From: kronfilter at hotmail.com<BR>To: twill at lists.idyll.org<BR>Date: Sat=2C 2=
4 Apr 2010 19:37:57 +0000<BR>Subject: [twill] Twill Scripting Limitations?<=
BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px=3B}
.ExternalClass body.ecxhmmessage
{font-size:10pt=3Bfont-family:Verdana=3B}
</STYLE>
<BR>We need to perform a number of synthetic transactions.&nbsp=3B <BR><BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>I<BR>don=
't know if I just fail at using Twill or what but I'm having a great<BR>dea=
l of difficulty with the first two pages I'm trying to create<BR>scripts fo=
r.<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>Example =
1:<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>www.blah=
.com<BR>pops up a disclaimer when first visited in a browser.&nbsp=3B Hit O=
K to force<BR>disclaimer to go away.&nbsp=3B There is a userID field=2C pas=
sword field and<BR>domain selection field with a dropdown of 10 or so domai=
ns.&nbsp=3B There is a<BR>single submission button on the page.<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>Script l=
ooks like this:<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>go www.b=
lah.com<BR>fv 3 in_tx_username whoamI<BR>fv 3 in_pw_userpass idunno!<BR>fv =
3 in_domain DOMAIN<BR>submit<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>After<BR=
>submitting=2C another showforms shows you the same forms and you have not<=
BR>been forwarded to the "home page" as you would have been forwarded to<BR=
>if you'd used a browser.&nbsp=3B If you try to go www.blah.com/homepage - =
it<BR>says that you're there but a showforms reveals the same forms on the<=
BR>initial www.blah.com page=2C which are not correct=2C meaning you haven'=
t<BR>actually authenticated successfully.<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>Example =
2:<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>A<BR>syn=
thetic transaction against a Sharepoint page.&nbsp=3B Upon trying to visit<=
BR>the webpage in a browser=2C you're presented with a Window'd login box.&=
nbsp=3B<BR>Is there any way for twill to actually respond to that?&nbsp=3B =
Trying to<BR>visit the webpage via twill results in a timeout. Perhaps this=
 is where<BR>the authentication realms come into play but I've not been abl=
e to<BR>succeed in using them.<BR>
<P style=3D"PADDING-BOTTOM: 0px=3B MIN-HEIGHT: 8pt=3B PADDING-LEFT: 0px=3B =
PADDING-RIGHT: 0px=3B HEIGHT: 8pt=3B PADDING-TOP: 0px">&nbsp=3B</P>Thanks. =
<BR>
<HR>
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with H=
otmail. <A href=3D"http://www.windowslive.com/campaign/thenewbusy?tile=3Dmu=
lticalendar&amp=3Bocid=3DPID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5">G=
et busy.</A> 		 	   		  <br /><hr />Hotmail is redefining busy with tools f=
or the New Busy. Get more from your inbox. <a href=3D'http://www.windowsliv=
e.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042=
010_2' target=3D'_new'>See how.</a></body>
</html>=

--_dc23dc4b-cfeb-45ce-8b2a-2fb7666d273f_--



More information about the twill mailing list