[ptt-users] Javascript exceptions causing test to run very slow

Frank Cohen fcohen at pushtotest.com
Wed Feb 13 16:58:36 PST 2008


Hi David:

Thanks for explaining the issue you are running into.

Are you using PushToTest TestMaker 5.0 or 5.1?

5.1 uses a new TestGen4Web ScriptRunner internally. It uses the  
default htmlunit log level value. I would be happy to open a ticket  
to enhance the runner with a log-level input parameter.

Let me know the version number and I'll open the ticket.

Thanks.

-Frank






On Feb 13, 2008, at 1:30 PM, Dave Colwell wrote:

> I am new to PoshToTest and am running a proof of concept against my  
> application.  Using the testgen4web Firefox plug in, I create a  
> test which simply logs in and out of the application.  The dojo.js  
> javascript library is loaded as part of the interaction.  I receive  
> no complaints using Firefox, but get numerous  
> com.gargoylesoftware.htmlunit.ScriptException’s regarding undefined  
> functions.  These appear to be valid complaints, yet do not hinder  
> the execution of my application in a browser.  The problem I have  
> is that the PushToTest Controller outputs the entire contents of  
> the dojo.js file for each exception, generating about 36,000 lines  
> of output.  This single functional test that should take about 15  
> seconds to execute takes 10 minutes to complete before reporting  
> “Test is successfull”.
>
>
>
> Ideas?  I’m wondering if turning the htmlunit log level to error  
> would do the trick, but can’t find a configuration file.  I also  
> noticed that htmlunit has released version 1.14 which includes many  
> javascript improvements.  I did actually replace the 1.13 jar with  
> the latest, but experience the same results.
>
>
>
> Thank you,
>
> David
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users



--
Frank Cohen, http://www.PushToTest.com, phone 408 871 0122
PushToTest, the open-source test automation company






More information about the Users mailing list