Is IE11 webdriver support in linux for selenium testing? - linux

I for now do need to run IE 11 in Ubuntu 16.04 for selenium test cases.
Using Wine and PlayOnLinux can be helpful but there is no IE 11 as far as I know

Internet Explorer is a product of Microsoft and It can only work properly with Windows OS.
There is no any official way suggested by the Microsoft to install the Internet Explorer on Ubuntu OS.
There are some tricks or hacks available with the help of that somehow you can manage to install the older version of IE on your Ubuntu OS but it's performance will be very low. It can get hang or crashed frequently. Also Ubuntu does not has the appropriate directory structure, environment and other settings which are necessary to run IE properly.
The best work around for using IE on Ubuntu OS is to install any Windows OS using virtual machine. Than you can try to access that Windows OS from your Ubuntu OS and try to run your tests with IE browser.
There is also no selenium Web driver support for IE on Linux OS.

Related

How do I run Internet Explorer on a Windows computer from a Linux VM based on the same computer?

I'm working on a Linux virtual machine on a Windows computer and doing tests on a website using RobotFramework. I would like to open the Internet Explorer browser on this windows computer from my Linux RobotFramework script.
Do you know a way to do this? Thank you.
Previously, I already tried to use Grid Selenium but that did not suit me because the option "timeout" of "open browser" did not work under ExetendedSelenium2library.
The Internet Explorer on your Windows machine hosting the Linux VM is a Windows-compatible binary, so cannot be executed natively under Linux. You can execute Windows-compatible binaries via Wine however, but compatibility is not very good. It's much more common to run Windows in a virtual machine in order to run Internet Explorer, not the other way around.

Problems enabling hyper-v for Windows 10 Pro

Does anyone have any ideas how to enable Hyper-v and containers on Windows 10 Pro 64bit with compatible hardware (according to msinfo32) and all requirements met ie BIOS virtualisation enabled, >4GB RAM and so on. Despite all this none of the commands in powershell or cmd succeed. They complain that one or more parent features must be enabled. There is no error when enabling via Windows features but after the restart Hyper-v regresses to disabled. This question seems to come up a lot and I have tried a wide range of “solutions” but no fix so far. My main goal here is to run Docker for Windows.
Fixed with Windows Defender Fresh start. Not ideal but not as bad as a full reinstall. Worked immediately after this.

Download the Internet Explorer on SUSE-Linux server

I am interested in downloading the Internet Explorer on my SUSE-linux server which is telnet'd from my local linux machine.
I need to install the Wireshark and SNMP browsing tools on the server and would like to therefore have an internet explorer installed on the server.
Please help me with the installation.
Internet Exploder only runs on Windows machines. You might be wanting to install all of this on a Windows Server and then run these tools against a Linux machine, but you're not going to natively be successful loading IE on a Linux Server.
There is an option that I'll mention you can check out Crossover Office from Codeweavers, it's got the ability to run the appropriate WINE drivers and environment so that you could do what you are asking, but there is no guarantee that the overall scheme of running Wireshark will work.

Is it possible to run Magento TAF (Test Automation Framework) on Linux?

I'm trying to configure Magento TAF on Ubuntu, following the Installation Guide pdf.
I read on it...
Current version limitations:
Remote tests executing
UNIX running Usage
Firefox profile through configuration file
...but I feel skeptical :)
There is a main shell script prepared (runtests.sh)
if I configure everything and I execute selenium RC and runtests.sh, firefox browser opens... (but stands on empty page).
Furthermore: there are several inconsistences on the Installation Guide, that's why I suspect that Linux restrictions perhaps are deprecated. For example: on page 2 says...
At the base level, Magento Test Automation Framework will require the
following software: (...)Selenium RC 2.0.3
... but on page 4...
Download and install Selenium RC 1.0.3 (...).The latest available
version is 2.x, Download Selenium RC (Now available NEW 2.0b), but
automated test cases will probably not work with it.
The question: Is it possible to run Magento TAF on Linux?
Thanks!
Yes, it is possible.
I had the same problem using Selenium Grid in version 1.x.
Download Selenium Driver (Selenium 2). I got the tests running in Debian without modifying runtests.sh.
If you plan to test with several OS / browsers you can find a quick start tutorial for Selenium Grid 2. This may be helpful if you host your Magento code on a linux webserver. It's much easier now to set up the grid than it was with Selenium 1, fortunately.
Launch the server with
java -jar selenium-server-standalone-2.15.0.jar -role hub
By default, the server will run on port 4444. You can start the server on a Linux box without a desktop environment (e.g. a development web server).
Then you set up boxes with desktop environment (e.g. a Windows machine and a Linux machine). Now you download the server standalone library for every machine and start the client:
java -jar selenium-server-standalone-2.15.0.jar -role node -hub http://192.168.1.2:4444/grid/register
You have to change the IP to the IP of your Selenium server (and change the port if you did so in the first command). By default, the client will run on port 5555. If you want to use another port for the client or if you wish to start several client instances, you can define custom ports using the -port switch.
Note: don't care too much about the software versions mentioned in the document at all. It seems to be a bit outdated.
The latest public release works fine on Ubuntu/Debian pretty much out of the box, but the documentation is Windows-orientated.
We got the tests running on a headless Selenium installation using Google Chrome on Ubuntu server 11.04 64bit. Screen-shots are only possible when using Firefox, but Selenium requires version 3.6 of Firefox, so we'll need to downgrade the Mozilla browser to enable that.
[Update: March 27th 2012] We tried again with Firefox 10 after upgrading our packages and to our biggest surprise, it worked! We've now got screen-shots!
I wrote a tutorial (updated March 27th 2012) that outlines installing a fresh headless Selenium environment with Magento TAF on Ubuntu Server. Hope that helps.
Yes, this is possible.
I made a init script selenium-headless that simplifies running the TAF on a server.
The TAF project is under development, this is just a preview was published. The team wanted to share ideas and give valuable benefits (automatic tests) for everyone, who is developing for Magento. TAF will have changes, it will be restructured and polished before the official release.
The docs are outdated a little, they give general overview of the tests usage. Currently TAF can be run on both Windows and Linux, and both Selenium 1 and 2 can be used to run them.
Summary
Yes, TAF can be run on Linux.
Do not mind documentation inconsistences
If tests do not run - re-check your configuration and Selenium installation.
P.S. And sorry for issues - this version is just a working draft. It will be improved, documentation will be proof-read and informative messages will be provided.
Thanks for using TAF, anyway :)

How to test browser Compatibility in Linux

I used Microsoft XP as operation system for web design and development for 1 year. But now I am switching to Ubuntu (linux).
For Windows OS we have Microsoft’s SuperPreview for testing compatibility in different versions of IE.
Please specify the list of such utilities or tools which provide such support in Linux, specifically for Ubuntu.
If you want to test IE compatibility on Linux, you have a few options:
Windows on a Virtual Machine (eg: VirtualBox) with multiple IEs installed
IEs4Linux
Wine + Winetricks
In order of personal preference (VM is my favorite option).
Other than that, you can use install Firefox, Opera and Chrome on Ubuntu. There's no native version of Safari, but you should be fine since it uses the same rendering engine as Chrome (WebKit).

Resources