Headless testing

Ask general questions here.
rainer
Posts: 1
Joined: Tue Dec 16, 2014 2:36 pm

Headless testing

Post by rainer » Tue Dec 16, 2014 2:51 pm

Hi,
are there plans to add headless testing ability to Ranorex some day? Similar to CasperJS/PhanomJS?

Yes, I know, it's not really GUI testing. But sometimes it helps in smaller or restricted dev environments without the ability to easily setup virtual environments.

Thanks,
rainer

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Headless testing

Post by krstcs » Tue Dec 16, 2014 5:08 pm

Why are you wanting to do headless testing? What benefit do you see from it? You mention some generalities, but nothing specific.

As you say, Ranorex is designed for GUI testing, which means that it isn't designed specifically for headless testing. You can do it in code, but there are probably better tools. And since Ranorex wasn't designed for it, you would need to dive down pretty deep into the code to get it to work right.

You mention being restricted. What do you mean by that (security, environment, resources)?

If you are testing web sites, your best bet would be to look into something like Selenium, which is designed for headless operations.

If you are doing Win32/WPF testing, headless won't get you much considering that Windows requires that the system be unlocked and have a realized desktop for any interactions with any software, regardless of the test tool used.

If you are testing services, SoapUI is probably the better tool.
Shortcuts usually aren't...