The js file is blocked by WatchGuard.
Please simplify further to make the smallest possible test (this means
please remove all unnecessary steps) allowing to reproduce the problem
in a standalone way (ie only html, no jsp).
Once you've got it you can open a WebTest issue. This will allow you to
attach all files.
Marc.
Michael Habbert wrote:
Marc Guillemot wrote:
Strange.
Can you provide the smallest html page and webtest allowing to
reproduce the problem?
[...]
Hi Marc,
It took some time, but finally:
here my files. I hope they are usefull for you to track down the issue.
Thanks,
------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE project [
<!ENTITY config SYSTEM "../modules/config.xml">
<!ENTITY login SYSTEM "../modules/login.xml">
<!ENTITY logout SYSTEM "../modules/logout.xml">
]>
<project name="Auslagerung von Task checkForSrcElement"
default="checkForSrcElement">
<!--
==================================================================================================
-->
<!-- == CHECKSORTINGANDPAGING
== -->
<!--
==================================================================================================
-->
<target name="checkForSrcElement">
<property name="webtest.resultfile"
value="summary-checkForSrcElement.xml" />
<webtest name="checkSrcElement: Click Button and check JavaScript
event.srcElement.">
&config;
<steps>
<storeProperty description="set userid" name="chewi.user"
value="imanager" propertyType="dynamic" />
<storeProperty description="set password" name="chewi.password"
value="pass" propertyType="dynamic" />
<storeProperty description="set CFS-user true" name="setCFSuser"
value="false" propertyType="dynamic" />
&login;
<invoke description="start" url="/checkForSrcElement.jsp"/>
<!-- first row tests -->
<setInputField name="loginName" value="some username" />
<setInputField name="password" value="some password" />
<clickButton description="Click Login button"
label="${button.save}" />
<invoke description="goto auftragnehmer netpioneer"
url="/initDesktop.do" />
&logout;
</steps>
</webtest>
</target>
</project>
------------------------------------------------------------------------
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/thl-format.tld" prefix="format" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ page contentType="text/html; charset=utf-8"%>
<script type="text/javascript"
src="<format:context/>/adds/convertCurlyQuotes.js"></script>
<!-- ======================= Inhalt ======================= -->
<html>
<body>
<html:form action="/login.do" method="POST">
<table cellpadding="0" cellspacing="0" border="0" class="tabelle" width="450" >
<tr>
<td class="tabellenkopf" colspan="2" width="99%" align="center">
Username:
</td>
<td class="tabellenkopf" colspan="2" width="99%" align="center">
<html:text property="loginName" size="20" maxlength="40" tabindex="1"
style="width:150px;"/>
</td>
</tr>
<tr>
<td class="tabellenkopf" colspan="2" width="99%" align="center">
Password:
</td>
<td class="tabellenkopf" colspan="2" width="99%" align="center">
<html:password property="password" size="20" maxlength="40" tabindex="2"
style="width:150px;"/>
</td>
</tr>
<tr>
<td>
<html:submit styleClass="button"><bean:message key="button.save"
/></html:submit>
</td>
</tr>
</table>
</html:form>
</body>
</html>
------------------------------------------------------------------------
[Attachment denied by WatchGuard SMTP proxy (type "application/x-javascript", filename
"convertCurlyQuotes.js")]
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest