a. Web application “http://ABC/Login” works only in Chrome browser
b. Web application “http://XYZ/Login” works only in IE browser.
These two web application are entirely different but they have minimal integration.
Scenario to Test:
- Open “ABC” application in chrome browser and create a request “qwerty” and submit it.
- Open “XYZ” application in IE browser and process the request “qwerty” and submit it.
- Open “ABC” application in chrome browser and close the “qwerty” request .
My Question is : Is there a way to open XYZ application only in IE ; irrespective of the browser being selected for execution in Katalon.
Great question.
I’m certain you can use selenium code to accomplish this - though I don’t know the APIs you need right out of my head.
If you imagine doing this a lot, I’d advise you wrap the functionality in a class and create a few custom keywords (methods) to provide a reusable set of features.
Perhaps if @Brandon_Hein is listening he can share a few pointers?
1 Like
Yes, you can do this with selenium:
File file = new File("{katalon_studio_install}/configuration/resources/drivers/iedriver_win64/IEDriverServer.exe");
System.setProperty("webdriver.ie.driver", file.getAbsolutePath());
WebDriver driver = new InternetExplorerDriver();
Keep in mind that you’ll have to use pure selenium for the IE browser instance. WebUI calls will not work.
2 Likes