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,

--
Mit freundlichen Grüßen
------------------------------------------------------------------------
Michael Habbert

Senior Developer
Netpioneer GmbH, Beiertheimer Allee 18, D-76137 Karlsruhe
Geschäftsführer: Axel Jahn
HRB: 107521 Handelsregister Mannheim

Tel: 0721 / 920 60 21
Fax: 0721 / 920 60 30
E-Mail: [EMAIL PROTECTED]
www: http://www.netpioneer.de
<?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")]

Reply via email to