I am facing issue while running script on Firefox browser though same script runs fine on chrome. Firefox browser is not opening at all.
My script:
WebUI.openBrowser(‘https://testapp.com/’)
WebUI.maximizeWindow()
//Admin SIgn In
WebUI.setText(findTestObject(‘Sign In/input_useremail’), ‘kkachhi+admin@test.com’)
WebUI.setText(findTestObject(‘Sign In/input_userpassword’), ‘Kal@3333’)
WebUI.click(findTestObject(‘Sign In/button_Sign in’))
Below is the error:
Test Cases/Sign In FAILED because (of) Unable to open browser with url: ‘https://testapp.com/’ (Root cause: org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:45764 [localhost/127.0.0.1] failed: Connection refused: connect
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘KALYANIK’, ip: ‘172.19.19.84’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’
Driver info: driver.version: CFirefoxDriver)
Test Cases/Sign In.run:22
Note: Allowed access to both firefox.exe & katalon.exe to communicate through windows firewall