Update of /cvsroot/jwebunit/jWebUnit/testcases/JavaScriptEventsTest
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16948/testcases/JavaScriptEventsTest

Modified Files:
        FormOnSubmit.html index.html 
Log Message:
Moved javascript test to javascript testcase.

Index: FormOnSubmit.html
===================================================================
RCS file: 
/cvsroot/jwebunit/jWebUnit/testcases/JavaScriptEventsTest/FormOnSubmit.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FormOnSubmit.html   26 Dec 2005 11:47:25 -0000      1.1
--- FormOnSubmit.html   26 Dec 2005 12:19:14 -0000      1.2
***************
*** 1,9 ****
  <html>
  <body>
! <form method="GET" action="#" 
        onSubmit="javascript:window.open('../params.jsp', 'child');"
        onReset="javascript:window.open('../params.jsp', 'child');">
! <input id="b1" type="button" value="click me" 
!       onClick="javascript:window.open('TargetPage.html', 'child');" />
  <input type="reset" />
  <input type="submit" />
--- 1,9 ----
  <html>
  <body>
! <form method="GET" action="javascript:void(0)" 
        onSubmit="javascript:window.open('../params.jsp', 'child');"
        onReset="javascript:window.open('../params.jsp', 'child');">
! <input name="b1" id="b1" type="button" value="click me" 
!       onClick="javascript:window.open('../params.jsp', 'child');" />
  <input type="reset" />
  <input type="submit" />

Index: index.html
===================================================================
RCS file: /cvsroot/jwebunit/jWebUnit/testcases/JavaScriptEventsTest/index.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index.html  26 Dec 2005 11:47:25 -0000      1.1
--- index.html  26 Dec 2005 12:19:14 -0000      1.2
***************
*** 6,13 ****
  <body>
  <h1>Javascript Test</h1>
! <form>
  <input type="button" onclick="gotoNext()" value="Next" id="next">
  </form>
  <a id="linkNext" href="javascript:void(0)" 
onclick="javascript:gotoNext()">Next using link</a>
  </body>
  </html>
\ No newline at end of file
--- 6,17 ----
  <body>
  <h1>Javascript Test</h1>
! <form method="GET" name="indexform" action="../params.jsp">
! <input name="color" value="blue">
  <input type="button" onclick="gotoNext()" value="Next" id="next">
  </form>
  <a id="linkNext" href="javascript:void(0)" 
onclick="javascript:gotoNext()">Next using link</a>
+ <br />
+ <a id="SetColorGreen" href="nothing.html" 
+       onClick="javascript:document.indexform.color.value='green';return 
false;">green</a>
  </body>
  </html>
\ No newline at end of file



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to