Has anyone used jsUnit to test complex frameset interactions and such? We're writing a complex intranet application with lots of javascript and I want to write...
Get your setUpPage() function to monitor the readyState of the SVG object. Although I'm not sure it changes state as expected. If readyState is good enough,...
... /jsunit/tests/jsUnitTestLoadData.html and jsUnitTestLoadStaff.html are tests that require an asynchronous load of test documents before the body of the...
Thanks. I discovered that workaround in the archives, but it's a real nuisance because that means I have to create a new test page for every call. I'm using...
I'm working on running a jsUnit test suite from ant and right now, I'm leaning toward Jorg's jsUnit package (for various reasons). It seems like it will work...
Helo Joel, ... I am a little confused. You indicate, that you're looking for my JsUnit version, but it seems that you're searching for a solution with Edward's...
I've just committed changes to build.xml, test-to-ecmascript.xsl and test-to-jsunit.xsl which generate tests that are designed to be run with JSUnit 1.3.3....
... No, not correct. Someone suggested using: <target name="all"> <!-- we must test our javascript against internet explorer --> <exec executable="C:/Program...
Hello Joel, ... OK, now I see. Unfortunately I have no real solution for this. Basically I thought, ant would evaluate the return value to prove the success of...
How can I do a wait in a test in Jorg's jsUnit? I pop up a new window, but I need to wait until that new window is rendered before I proceed with my tests....
Hi Joel, ... did you try Automation? See Google for remote scripting the IE: "InternetExplorer.Application +reference". Running WSH and using Automation I can...
Hello Joel, ... yesterday. I'm still trying to figure out how to replace >the ResultPrinter easily--doesn't seem to be working the way I would expect. Well, I...
... This is what I've done: We only have to support IE 5.5+ so I used xmlHttp to do a request to a servlet that would wait for a specified amount of time. It...
I checked with the moderator and he mentioned it would be okay for me to post this. We would like someone specifically with jsUnit experience so I thought it...
I played a little bit trying to get the Palm WebBrowser 2.0 simulator to run JSUnit, but didn't have much success. I'll also try the Internet Explorer 5.5 for...
1. There is a problem on line 293 of JsUnitCore.js that raises an exception when displaying the test files in the browser. The following change will avoid the...
... Yes, I've seen that cause problems and intended to submit this for the next release. if (top && top.xbDEBUG && top.xbDEBUG.on && top.testManager) ... The...
... I've only tested with PDA simulators. I believe the browser on the Palm simulator has a 306x276 pixel content area. The Win CE emulator can be configured...
Hello everyone, I tried to use JSUnit in Mozilla 1.3 to test a library I wrote. I got the JSUnit program setup, and it finds the page, but no unit tests. I...
A follow up: I figured out that Mozilla can only handle one script element per page (why? I dunno). Therefore, if I place scripts before the test scripts code,...
Hello, I'm using JsUnit for my testing, and it's great. However, I'm confused as to the correct usage of the "fail" function. I tried doing the following: ...
Hi Amanda, ... Edward's JsUnit is throwing a JsUnitException instance. So you've to check in the catch statement for this type of object: try{ fail("Should...
I am new to Unit Testing and jsunit. Is there a tutorial site where I can learn how to apply jsunit to my ASP/Jscript application to achieve unit testing. ...