Katalon test stuck on "Running" - google-chrome

Katalon test running stuck on Running with all the browser options
Katalon stuck on running
Any clue on how to solve this?
I am using a simple open browser script

Maybe Chrome version and ChromeDriver version are incompatible. Refer to this page on how to update ChromeDriver in Katalon Studio: https://docs.katalon.com/display/KD/Update+or+Replace+Web+Browser+Drivers+and+Selenium

If it's stuck, there are solutions.
Close katalon and re-run it.
Open the 'Task Manager' and delete chrome driver from background process.
Update chromedriver.exe file.

If you are using any Katalon profiles, please change those from defaults
Ex :

If you are using Katalone studio then all you have to do is you have to close the Chrome browser on which the script is being run by the Katalone studio and it will start working from where stopped.

Related

How to update Puppeteer's Chromium?

I have a problem with chromium when I run my tests through the puppeteer.
What happens is that my tests require the microphone to be enabled the moment I log in to the application, even after adding:
'--use-fake-ui-for-media-stream', '--no-sandbox', '--disable-setuid-sandbox'] : ['--use-fake-ui-for-media-stream'
Before working normally, after changing the machine it stopped working and I don't know if it is related to the version of the chromium that is started:
This is the version of chromium when testing starts:
Version 77.0.3844.0
And my version of the puppeteer is:
```"puppeteer": "^1.19.0"````
Has anyone ever experienced this? If so, how do I update the chromium?
Thanks,

VS2017 Chrome Browser Debugger "Object reference not set to the instance of an object"

I am having trouble debugging my web project using the Chrome Browser. I can only use IE to do my debugging. I did some "googling" to resolve this problem, and came across a few Microsoft threads that said to update to the latest version of VS2017, which I did. I use version 15.9.13 and Visual Studio 2017 tells me I am "up to date" when I check for further updates.
When I first updated VS 2017, it started working, and I could debug using Chrome (finally!). But now it has stopped working again.
I saw in other threads where people suggested deleting the .vs folder, which I did, but had no luck with that.
Google Chrome is up to date at Version 75.0.3770.100
I debug and run my application as "Administrator" so that shouldn't be the problem either. I also close all browsers before running the debugger, so Chrome isn't running elsewhere when I try to debug.
Is there any explanation why Chrome cannot launch when using debugger? I would really like to use Chrome because of it's superior "dev tools" and inspection tools. Any suggestions? Was sad to have it working only one day.
Having configured the same environment like yours(VS version and Chrome version) but can't reproduce the issue.I would think if something is broken in VS or maybe third-party extension is the causes this issue.
Please try:
VS repair and a reinstall of Chrome(don't forget to backup the bookmarks)
Uninstall or disable third-party vs extensions, this won't take effect until restart vs
Navigate to %LocalAppData%\Microsoft\VisualStudio\15.xxx directory, delete all ComponentModelCache folders in all 15.xxx folders.
Open your project in vs, changed the target browser from Chrome to IE. Then F5 and wait until it is finish. Stop it and change the browser back to Chrome. After that the error disappeared.
Also, create a new asp.net web app and debug it with Chrome browser to check if the issue persists. Hope it helps.

Chrome debugger in Visual Studio Code gets stuck

If I try to start debugging in Visual Studio Code, I get the following error:
No matter what launch.json I use I always get this error. Tried a lot of launch.json configuration. Don't know why it tries to load localhost:9876/debug.html when I set the url to localhost:8100.
My app is running on 8100 port. Debugger for Chrome is plugin is installed. How could I get rid of this error?
The fix was quite easy. For a long time I did not make a restart to my computer. After a computer restart the debug is working now.

Installing Polymer for the first time

I Right-click or CTRL+click on the icon-toggle/demo folder and choose Run according to these instructions and I get:
Unable to deploy the current selection; please select an application to deploy.
I ran in to the same issue. All i t took to fix it was restarting the Chrome Dev Editor.

Screenshot taken using Selenium and Chromedriver in Task Scheduler is Blank/Black

I'm using Selenium to automate Google Chrome to take screenshots. And I use Task Scheduler to run this application automatically at specified time daily.
The problem is that the screenshots taken is blank/black. However, if I manually run this app by double click its icon, the screenshots gotten is good.
The version of Selenium and Google Chrome I used is all the latest stable. Selenium 2.35 and Google Chrome 29. And I am using C# bindings.
Anyone knows what's wrong with Task Scheduler and how to fix this blank/black screenshot issue?
Is it possible that you recently update the version of your Selenium? The ChromeDriver 2.x has an issue with blank screenshots: https://code.google.com/p/chromedriver/issues/detail?id=309.