Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: How can I test a javascript-enhanced web application on Linux?

by pernod (Chaplain)
on Mar 13, 2005 at 11:59 UTC ( #439082=note: print w/replies, xml ) Need Help??

in reply to How can I test a javascript-enhanced web application on Linux?

I have faced the same problems, and found som half-baked solutions that at least takes me part of the way ...

iOpus (No realtion to iPod, AFAIK) has a scripting-plugin for Internet Explorer (costs 30$, but they provide a 30 day trial download) that lets you record a browsing session. Using these recorded macros (as they call them), you can test a user scenario such as logging on or entering a form. The macros can be called from the command line and return a success value, and can therefore be baked into a Test::More regime. The main drawback is that it is an Internet Invader only solution, and as far as I know, the macros can not be run from other OS'es. From their website it looks like their latest version can be scripted from Perl, but I haven't tried this myself so I don't know if this can help in any way.

Another possible solution is to use MaxQ, which does something similar to iOpus. This one uses a proxy for recording browsing sessions, though. It will therefore not really capture anything javascript, since this is purely client side. MaxQ is open source, written in Java and browser sessions are scriptet with the Java implementation of Python called Jython.

But in the end, perrin is of course right in that you have to test all browsers quirks and weaknesses to verify that your scripts works. I don't know any way to automate this yet, so I really hope someone provides you with a solution. In the meantime, take a look at Peter-Paul Koch's website about browser independent javascripting. Best javascript resource I've found to date ...

Good luck!

Mischief. Mayhem. Soap.

  • Comment on Re: How can I test a javascript-enhanced web application on Linux?

Replies are listed 'Best First'.
Re^2: How can I test a javascript-enhanced web application on Linux?
by tphyahoo (Vicar) on Mar 14, 2005 at 10:11 UTC
    Last I checked, only the stripped down version cost $30. The "professional" version, which allows scripts of unlimited length, and windows scripting host control, and other useful stuff, was in the hundreds. The different versions of iopus Internet Macros vary widely in functionality and price, so be sure to read the fine print on the feature comparison page. I do think it's worth checking this product out, as it could be very useful in certain situations.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439082]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2019-08-25 00:24 GMT
Find Nodes?
    Voting Booth?

    No recent polls found