[Http-webtest-general] wt script file - email address in params
Brought to you by:
m_ilya,
richardanderson
From: Sean O'N. <so...@ci...> - 2003-07-01 03:21:35
|
I am using the WebTest module and have created a test script to submit a web form. One of the text box fields on the web form requires entry of an email address. On submit, the form will process the page and send an email to the address submitted with the form. When I include the email address in the params section of the script, the script succeeds, but no email is sent. Here is a code snipet and the script test results: test_name = Submit Test click_button = Submit params = ( name => Joe email => js...@my... ) regex_require = ( Email confirmation sent ) end_test Here is a snipet from the script run results: URL: http://www.somedomain.com/form1.plx?name=Joe <http://www.somedomain.com/form1.plx?name=Joe&email=jsmith%40mydomain.co m> &email=jsmith%40mydomain.com Is this problem due to the params section of code not interpreting the "@" sign as a literal? Do I need to use some combo of quotes around the email address in params? Thanks in advance, Sean O. |