Hi Alex, What version of WebTest are you using? I've got R_1783 installed with the following test steps:
<invoke url="http://www.statefarm.com/" /> <setInputField htmlid="sZip" value="93117"/> <clickButton htmlid="getRateQuoteGo" /> I end up on the State Farm Fast Estimate! page. John Spann Software Engineer Citrix Online | 6500 Hollister Avenue | Goleta, CA 93117 T: +1 805 690 3489 | M: +1 805 729 0008 [email protected]<x-msg://29/[email protected]> http://www.citrixonline.com<http://www.citrixonline.com/> [cid:[email protected]] Access Your PC From Anywhere: www.gotomypc.com<http://www.gotomypc.com/> Online Meetings Made Easy: www.gotomeeting.com<http://www.gotomeeting.com/> Remote Support Made Easy: www.gotoassist.com<http://www.gotoassist.com/> Web Events Made Easy: www.gotowebinar.com<http://www.gotowebinar.com/> On Oct 9, 2009, at 11:30 AM, Alex Ignatov wrote: Hey guys, I’m still trying to resolve a problem and I REALLY need a solution fast because I’m supposed to be giving a demonstration of Webtest for State Farm! The problem doesn’t occur when I try to create the same test in Selenium or Sahi (which is why I think it should be solveable).. When I have Webtest click a certain button on http://www.statefarm.com<http://www.statefarm.com/> (type in the zip code and hit submit for an auto rate quote), a ‘please wait’ screen comes up which preloads the next page with this code: <script type="text/javascript" language="javascript"> function launchDoOnLoad() { dialogs.modal.open("SFX_waiting_modal"); //ddui.preload(); document.getElementById("MainForm").submit(); } </script> </head> <body onload="launchDoOnLoad();" class="sfx_icon sfx_header_curved sfx_headerButtons_hide sfx_headerNavBar_hidesfx_no_icon sfx_layout_wide sfx_secondaryArea_hide"> <form id="MainForm" name="MainForm" method="post" action="/apps/autoquoteapply/execute.do?applicationName=Auto&city=Chicago&effectiveDate=20091008&endEffectiveDate=20091107&postalCode=60630&productId=PLJ37454G00®ionalOffice=01&stateAbbreviation=IL&orderScoreIndicator=true"> So basically a form is just submitted when the page is preloaded. PROBLEM: Webtest only recognizes the ‘Please Wait’ page, and not the page which the browser redirects to. If you can help me out with this, I would greatly appreciate it! Alex
<<inline: image001.png>>

