Forum Discussion

BRijsdijk's avatar
11 years ago

web testcase error: unsupportedBrowserTypeException

Having the same problem as here:
viewtopic.php?f=2&t=20699

Installing the 32 bit version did not resolve the problem at hand.

Going Pro 32 bit (trial) did not resolve the problem at hand.

With this code I was able to see what browsertype is being used:
import com.teamdev.jxbrowser.*;
BrowserType browserType = BrowserFactory.getDefaultBrowserType();
if (browserType == BrowserType.Mozilla) {
return "2" // Mozilla engine is default for the current operating system
}
if (browserType == BrowserType.Safari) {
return "3" // Safari engine is default for the current operating system
}
if (browserType == BrowserType.IE) {
return "1" // IE engine is default for the current operating system
}


Followed by this code to set Mozilla15 as the default browser:
(Mozilla, Mozilla15, Safari and IE are supported by jxbrowser.)
BrowserFactory.setDefaultBrowserType(BrowserType.Mozilla15)


When opening a http test request and going to the html tab the righthand panal is grey (so soapUI doesn't support Mozilla15 it seems?).
If I set Mozilla or IE I get the above first mentioned problem that my browsertype is not supported.

So wondering how I can set the version number to "spoof" my way around this check.

1 Reply

  • I'm having the same issue, on a Mac so I can't just download a 32 bit version. My error is an unsupportedBrowserTypeException, claiming Mozilla can't work with my OS (it's a new Mac and the most recent version of SOAP UI, and note that Firefox is not my default browser). So I'm also curious about solutions to or explanations of this issue.