Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Joost (Canon)
on Mar 12, 2005 at 22:58 UTC ( [id://439017]=note: print w/replies, xml ) Need Help??


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

I heard some good stories about crossover office. It runs internet explorer on linux. Apparently, it might be possible to run Win32::IE::Mechanize on it. Haven't tried it, though.

Another way to go about it, is to install windows and the tests on a virtual PC like vmware, and run the webapp on the native linux system. VMWare works very well, as long as you have enough memory (I'd recommend at least 1 Gb for a linux system with windows XP under vmware).

Yet another way, is to port Win32::IE::Mechanize to mozilla, and I would be grateful for the person(s) to accomplish the task, but AFAIK mozilla is not as easy to script as Explorer, so it's probably going to take a lot of time.

  • 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 dpavlin (Friar) on Mar 13, 2005 at 13:56 UTC
    I heard some good stories about crossover office. It runs internet explorer on linux. Apparently, it might be possible to run Win32::IE::Mechanize on it. Haven't tried it, though.
    Here is a node How to install Win32::OLE under Linux? which might help. I'm using it to make SOAP service from macros in Excel. While this works, I wouldn't recommend such combination for writing intensive tests of JavaScript web application (it just seems too slow and flaky).

    When writing jsFind I opted to create separate html page with tests (which takes a long time to execute) and run that manually in different browsers. This served me well (and enabled me to test JavaScript in different browsers), but than again I didn't have to check interaction with web application and it's interactive approach.

    I'm very interesed in solution to this particular problem. Please keep us posted about progress.


    2share!2flame...
      Thanks, I think actually I'll try this approach first, adapting your instructions for installing Win32::OLE to Wine. I hadn't even considered being able to run IE under Linux. (It's even a little disappointing to do that..)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found