[ptt-users] testgen4web script runs in firefox but not from pushtotest

Frank Cohen fcohen at pushtotest.com
Thu Jan 17 00:48:16 PST 2008


Hi Tara:

Thanks for sending the recorded script and explaining what you are  
seeing.

> I recorded and hand edited a testgen4web script.

The hand-edits look ok to me.

> If I run the script from firefox in the testgen4web plug in, it  
> runs very slowly but makes it through completing the script with no  
> errors.

Are you thinking the slowness is from the target application or  
something in the Plug-in? If the Plug-in, click the Preferences  
button in the TestGen4Web plug-in and change the Delay value to make  
it run faster.


> If I run the script from within push to test, it gives an error on  
> step 15.
>
> Why?

The plug-in runs the script by making calls to the Firefox browser.  
TestMaker's TestGen4Web script runner is an interpreter that uses the  
HTMLUnit framework to operate the test. There are bound to be  
differences.

I can look into this if you were to provide me with a network-level  
trace of the script running in the plug-in AND running in TestMaker.  
You can use WireShark (Etheral) or the Network Monitor in TestMaker.  
Send it to me and I'll look for why the script runner is messing-up.


> Also, then push to test says the script runs successfully, but it  
> does not run successfully.


Yep. This is a bug. (Or, an unimplemented enhancement. :-)


> How can I debug this?  Can I make push to test give a verbose  
> visual output so I can see why the page is failing?
> <testgenrecord2.testgen4web>


The TestGen4Web package from SpikeSource has the ability to give a  
visual output. We turned it off in TestMaker because it is not needed  
for a load and performance test. Sorry.

-Frank








On Jan 15, 2008, at 3:43 PM, Tara Czutno wrote:

> I recorded and hand edited a testgen4web script.
>
> If I run the script from firefox in the testgen4web plug in, it  
> runs very slowly but makes it through completing the script with no  
> errors.
>
> If I run the script from within push to test, it gives an error on  
> step 15.
>
> Why?
>
> Also, then push to test says the script runs successfully, but it  
> does not run successfully.
>
> How can I debug this?  Can I make push to test give a verbose  
> visual output so I can see why the page is failing?
> <testgenrecord2.testgen4web>
> _______________________________________________
> Users mailing list
> Users at lists.pushtotest.com
> http://lists.pushtotest.com/mailman/listinfo/users



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





More information about the Users mailing list