I am trying to use Katalon Studio to run a test on a website that uses PIV-I authentication. I can manually open the browser, log in, put in my credentials and access the page; in fact, I am even able to use Katalon Recorder to access the website. However, when I kick off a script with Katalon Studio it opens the browser under remote control. I wouldn’t think this would be a problem except this version of the Firefox browser does not save the security device information needed to use the PIV-I driver therefore preventing me from accessing the site. Is there a setting in either Katalon Studio or Firefox that can change this? I haven’t been able to find anything yet. I also have a similar thread on Firefox’s support site as well to see if there is something with Firefox I can change.
I am using Firefox v58 and Katalon Studio 5.3.1 on Windows 7
Thank you in advance for any support on this issue.
No, but you can run script on Firefox by creating a separate profile.
Create a new profile:
- Open Run (windows key + R) and type firefox.exe –p and click OK
- Give a suitable name and click OK.
Then place this code in the script, before navigating to the URL
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
WebUIDriverType executedBrowser = DriverFactory.getExecutedBrowser()
case WebUIDriverType.FIREFOX_DRIVER: // “Firefox”
ProfilesIni profile = new ProfilesIni();
FirefoxProfile FF = profile.getProfile(“Automation_Profile”);
FirefoxOptions options = new FirefoxOptions().setProfile(FF);
WebDriver driver = new FirefoxDriver(options);
// let Katalon Studio to use the WebDriver created here
Hope this will help
I just want to suggest one thing in addition to the above reply that if you face any problem kind of problem visit and get a solution from here I found the results browser related or and understand detail study of our mistakes and how to rectify it, by the way, got the solution for mozilla firefox critical error message from here so I suggest to you geo and learn from there.