LISA Supports UI testing with Selenium with help of json scripts developed using SE Builder. Does LISA support headless testing with Selenium integration?
The json scripts once imported into CA Application Test can be executed like any other automated tests as long as browser/selenium dependencies are met. What exactly are you looking to achieve?
When we trigger the Selenium test from LISA in ITR or once we stage the test and execute, it seems to launch a browser instance and execute the test. Is there a way we can execute the test without the test launching a browser instance.
By the way how Selenium works, it must interact with a browser somewhere so a browser launch is a must. The key point is where the browser will be. There may be some technology can help that, e.g. Xvfb/Xdummy on Linux. But it is more like OS environment setting. What LISA supports is the ability to connect to remote Selenium server, so one solution is to use a remote Selenium sever (via property selenium.remote.url) then you won't visually see a browser launch on your local machine which means a browser instance gets launched somewhere else.
What about using phantomJS as the Selenium Driver? (I never used with LISA..only by itself long long time ago, so I can't say if it truly works but it's just another wire protocol implementation I would imagine)
phantomJS is pretty nice, it's a headless webkit implementation/fork..again, never used it with LISA (or even Selenium for that matter, only by itself long long time ago but I hear they have a pretty OK Selenium Driver support)
I would give them a try if xvfb (which usually works pretty well..) does not fit your needs
github for the phantomJS selenium driver - detro/ghostdriver · GitHub
Selenium requires interactivity with the desktop, so the only way you can run your Selenium test against a Simulator Service is to run it headless (browser runs in the background and will not interact with user).
On the Simulator Service, updated the Properties, chose the Log On tab, Check the "Allow the service to interact with desktop" box, but to do this you will need to use a Local System as Logon. Restart the Simulator Service.
This will allowed to run your Selenium test against the remote Simulator service.
You can then go to the Portal and view any screen shot you have.
Retrieving data ...