12 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:
Followed by this code to set Mozilla15 as the default browser:
(Mozilla, Mozilla15, Safari and IE are supported by jxbrowser.)
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.
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.