[Webtest] [webtest][JIRA] Created: (WT-123) Canoo can't find an image button
shawkat ali (JIRA)
webtest@lists.canoo.com
Wed, 30 Nov 2005 09:59:10 +0100 (CET)
Canoo can't find an image button
--------------------------------
Key: WT-123
URL: http://webtest-community.canoo.com/jira/browse/WT-123
Project: WebTest
Type: Bug
Versions: 1.7
Environment: J2EE
Reporter: shawkat ali
Hi
I am currently testing an application(using struts) using canoo on a trial basis. The action is to click on an image button and see the result.
The image tag as read in html is as follows:
<td align="center">
<input type="hidden" name="mode" value="creation">
<a href="javascript:validerSiteCreation();" class="Lien">
<input type="button" name="Rechercher" value="Valider">
</a>
</td>
My xml file in canoo is given below for the click on the image button:
<!--Click on valider link-->
<!clickButton description="Click the valider button" name="Rechercher" />
The error message obtained is:
[testSpec] WARN warning, warning: message=[Calling eval() with anything other than a primitive string value will simply return the value. Is this what you intended?] sourceName=[/projet_sav_1.1_lot1/web/js/stm31.js;jsessionid=97B6E074F8075BEA01C7F4D34408095E] line=[69] lineSource=[null] lineOffset=[0]
[testSpec] WARN loadJavaScriptFromUrl, Expected content type of text/javascript or application/x-javascript for remotely loaded javascript element http://172.16.45.82:10080/projet_sav_1.1_lot1/web/js/sav.jsp;jsessionid=97B6E074F8075BEA01C7F4D34408095E but got [text/html]
[testSpec] WARN warning, warning: message=[Calling eval() with anything other than a primitive string value will simply return the value. Is this what you intended?] sourceName=[/projet_sav_1.1_lot1/web/js/stm31.js] line=[69] lineSource=[null] lineOffset=[0]
[testSpec] WARN loadJavaScriptFromUrl, Expected content type of text/javascript or application/x-javascript for remotely loaded javascript element http://172.16.45.82:10080/projet_sav_1.1_lot1/web/js/sav.jsp but got [text/html]
[testSpec] WARN warning, warning: message=[Calling eval() with anything other than a primitive string value will simply return the value. Is this what you intended?] sourceName=[/projet_sav_1.1_lot1/web/js/stm31.js] line=[69] lineSource=[null] lineOffset=[0]
[testSpec] WARN loadJavaScriptFromUrl, Expected content type of text/javascript or application/x-javascript for remotely loaded javascript element http://172.16.45.82:10080/projet_sav_1.1_lot1/web/js/sav.jsp but got [text/html]
BUILD FAILED
C:\MIDCJ2EEDS\workspace\Bank\canoo\BankIntegrationTest.xml:18: Test failed.
Test step verifyCheckbox (C:\MIDCJ2EEDS\workspace\Bank\canoo\UseCases\common\createSite.xml:53: ) named "Verify that option is not selected" failed with message "No suitable form found having field named "fonctionSite""
Can anyone help me on this issue please.
Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira