Can't record test in Windows

Hi!
when I try to record a test using Katalon Studio in Internet Explorer or Chrome, Katalon records no actions.
Can you help me, please? (I already disabled UAC)
Thanks

Now, it doesn’t also record in Firefox.
Can you please help?
Can it be any configuration? Am I missing something?
Thanks

Maybe the logs can help…

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-16 12:12:10.070

!MESSAGE

!STACK 0

java.lang.NullPointerException

at com.kms.katalon.composer.webui.recorder.core.RecordSession.handleForFirefoxAddon(RecordSession.java:73)

at com.kms.katalon.objectspy.core.InspectSession.runSeleniumWebDriver(InspectSession.java:187)

at com.kms.katalon.objectspy.core.InspectSession.run(InspectSession.java:152)

at java.lang.Thread.run(Thread.java:745)

I just reported the same issue here https://forum.katalon.com/discussion/1804/unable-to-record-on-windows? - not sure where to write now :frowning:

Can you provide your environment such as Firefox/ Chrome version and screenshot?

Recently downloaded Katalon Studio onto Windows to try it out. My issue may match this issue. I cannot record into a test case as Firefox opens but never responds after that. I used the Katalon Recorder to create a test case and imported that code into Studio to try and run a test case. The Studio test case run fails with same error and Studio test case recording does:

I have no firewall between Katalon Studio PC and web server , so no blocking occurring on port 7055.

Build info: version: ‘2.53.0’, revision: ‘35ae25b’, time: ‘2016-03-15 17:00:58’

System info: host: ‘tester’, ip: ‘172.18.31.170’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’

Driver info: driver.version: CFirefoxDriver)

Unable to open browser with url: ‘https://mytest.com/’ (Root cause: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:

.lz4 DEBUG Save changes

1516289835095 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835096 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835098 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835098 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835099 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835102 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835103 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835106 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835112 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835144 DeferredSave.addons.json DEBUG Starting write

1516289835154 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835154 DeferredSave.webext.sc.lz4 DEBUG Save changes

1516289835249 DeferredSave.addons.json DEBUG Write succeeded

1516289835305 addons.xpi INFO Mapping {5AB8F5AC-9644-11E6-89DF-D9D3C6AD2208} to C:\Users\tester\AppData\Local\Temp\anonymous1516289830308webdriver-profile\extensions\{5AB8F5AC-9644-11E6-89DF-D9D3C6AD2208}.xpi

1516289835306 addons.xpi DEBUG Existing add-on {5AB8F5AC-9644-11E6-89DF-D9D3C6AD2208} in app-profile

1516289835306 addons.xpi INFO Mapping activity-stream@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\activity-stream@mozilla.org.xpi

1516289835307 addons.xpi INFO Mapping aushelper@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\aushelper@mozilla.org.xpi

1516289835307 addons.xpi INFO Mapping e10srollout@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\e10srollout@mozilla.org.xpi

1516289835308 addons.xpi INFO Mapping firefox@getpocket.com to C:\Program Files (x86)\Mozilla Firefox\browser\features\firefox@getpocket.com.xpi

1516289835309 addons.xpi INFO Mapping followonsearch@mozilla.com to C:\Program Files (x86)\Mozilla Firefox\browser\features\followonsearch@mozilla.com.xpi

1516289835310 addons.xpi INFO Mapping formautofill@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\formautofill@mozilla.org.xpi

1516289835310 addons.xpi INFO Mapping onboarding@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\onboarding@mozilla.org.xpi

1516289835310 addons.xpi INFO Mapping screenshots@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\screenshots@mozilla.org.xpi

1516289835310 addons.xpi INFO Mapping shield-recipe-client@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\shield-recipe-client@mozilla.org.xpi

1516289835310 addons.xpi INFO Mapping webcompat@mozilla.org to C:\Program Files (x86)\Mozilla Firefox\browser\features\webcompat@mozilla.org.xpi

1516289835312 addons.xpi DEBUG Existing add-on activity-stream@mozilla.org in app-system-defaults

1516289835314 addons.xpi DEBUG Existing add-on aushelper@mozilla.org in app-system-defaults

1516289835319 addons.xpi DEBUG Existing add-on e10srollout@mozilla.org in app-system-defaults

1516289835320 addons.xpi DEBUG Existing add-on firefox@getpocket.com in app-system-defaults

1516289835322 addons.xpi DEBUG Existing add-on followonsearch@mozilla.com in app-system-defaults

1516289835322 addons.xpi DEBUG Existing add-on formautofill@mozilla.org in app-system-defaults

1516289835323 addons.xpi DEBUG Existing add-on onboarding@mozilla.org in app-system-defaults

1516289835323 addons.xpi DEBUG Existing add-on screenshots@mozilla.org in app-system-defaults

1516289835324 addons.xpi DEBUG Existing add-on shield-recipe-client@mozilla.org in app-system-defaults

1516289835324 addons.xpi DEBUG Existing add-on webcompat@mozilla.org in app-system-defaults

1516289835329 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

1516289835330 addons.xpi DEBUG Existing add-on {972ce4c6-7e08-4474-a285-3208198ce6fd} in app-global

1516289835330 addons.xpi DEBUG getInstallState changed: false, state: {}

1516289840024 DeferredSave.webext.sc.lz4 DEBUG Starting write

1516289840029 DeferredSave.webext.sc.lz4 DEBUG Write succeeded

Firefox version: 57.0.4 (64-bit) Quantum

From .log:

Thu Jan 18 11:36:50 EST 2018

java.net.ConnectException: Connection timed out: connect

at java.net.DualStackPlainSocketImpl.connect0(Native Method)

at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:589)

at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)

at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)

at sun.net.NetworkClient.doConnect(NetworkClient.java:180)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)

at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:264)

at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1148)

at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)

at com.kms.katalon.console.utils.ServerAPICommunicationUtil.sendAndReceiveData(ServerAPICommunicationUtil.java:135)

at com.kms.katalon.console.utils.ServerAPICommunicationUtil.invoke(ServerAPICommunicationUtil.java:45)

at com.kms.katalon.console.utils.ServerAPICommunicationUtil.getJsonInformation(ServerAPICommunicationUtil.java:122)

at com.kms.katalon.console.utils.VersionUtil.getLatestVersion(VersionUtil.java:31)

at com.kms.katalon.console.utils.VersionUtil.hasNewVersion(VersionUtil.java:15)

at com.kms.katalon.core.application.LifeCycleManager$3.run(LifeCycleManager.java:211)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

When Katalon Studio and instantiated Firefox are running there is no 7055 listening to connect to:

C:\>netstat -na |findstr 7055

C:\I>

Vinh Nguyen said:

Can you provide your environment such as Firefox/ Chrome version and screenshot?

Hi!
Here it goes:

**OS **Windows 8.1 Pro

Katalon Studio Version Katalon_Studio_Windows_64-5.2.0.1

## Environment (for Web testing)

Browser

Google Chrome Version 63.0.3239.132

Firefox Quantum 57.0.4

Thanks in advance!

Hi!
I’ve been trying everything that crosses my mind, in order to put Katalon recording, so I’m not sure if the thing that solved my problem was stop using the proxy, but I believe so! :slight_smile:
Hope this helps someone! :slight_smile: