<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Twill vs. AJAX, Twill vs. popups questions</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I'm trying to write a twill script that fills in some form values and submits the form. There are two things currently that stymie me:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">1. The form page gets some of its form fields populated by AJAX requests.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">2. The page that results from successful submission is a popup &quot;above&quot; the original page.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Item 1 seems to mean that I can't enter form values directly. For example, I need to pick an aircraft, and then an AJAX request later, a second pulldown of aircraft configurations becomes available. I don't know how to make that request happen in Twill, and if I simply try entering the form values directly, there's an error message (because the form doesn't know about them).&nbsp; So I'm a little stuck there.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Maybe I shouldn't worry about Item 2 yet, but if I get Item 1 solved, then I need to be able to follow the processing to the popup page for further work. I haven't found a way to do this yet even in a simple case (basic form, fill in fv fields, submit 0).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Before I get too far along, I'd like to know if either of these actions are feasible in twill, or if I have to move to Selenium to handle them.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I'll be grateful for any insights from out there in Twill-land. Thanks.</FONT>
</P>

<P><B><FONT SIZE=2 FACE="Arial">Cheers!</FONT></B>

<BR><B><FONT SIZE=2 FACE="Arial">--</FONT></B>

<BR><FONT SIZE=2 FACE="Arial">David Hancock | dhancock@arinc.com | 410-266-4384</FONT> 
</P>

</BODY>
</HTML>