Posted on April 13, 2022Categories Apple, Development, JavaScript, TechnologyTags , , , , , , ,   Leave a comment on MacOS Monterey Node Port 9000 Refused

MacOS Monterey Node Port 9000 Refused

I’ve been working on a React App for months that connects on localhost port 9000. Recently the app stopped working after an upgrade to Monterey. Turns out the upgrade also required a number of services to be re-installed via brew. One of those services, php-fpm, is now taking over port 9000 automatically on startup despite not having explicitly set the updated PHP version to run at start. As such, opening http://localhost:9000/ on the browser was routing to PHP apps and … Continue reading “MacOS Monterey Node Port 9000 Refused”

Posted on September 25, 2017Categories JavaScript, Programming Languages, Quality AssuranceTags , , , , ,   Leave a comment on Selenium : Hiding Login Credentials In An Automated Test

Selenium : Hiding Login Credentials In An Automated Test

With most web automation and testing tasks you are going to want to login to a secure system.   You are also going to want to keep your login credentials out of the testing code repository.    For my test suite that is being rewritten with Selenium for the MySLP service I am employing a basic JavaScript module methodology along with some git ignore rules to keep my credentials private. In this example I have also added the ability to … Continue reading “Selenium : Hiding Login Credentials In An Automated Test”

Posted on September 24, 2017Categories JavaScript, Programming Languages, Quality Assurance, TechnologyTags , , , ,   Leave a comment on Selenium Web App Test: Are My Web Parts There?

Selenium Web App Test: Are My Web Parts There?

As per my previous articles, I am building new test cases using Selenium as a replacement for my older Selenium IDE tests.  Selenium IDE is no longer supported by Firefox 55+ and the next generation doesn’t appear as though it will be ready any time soon.  If you are going to continue testing your web apps with Selenium, now is the time to learn Webdriver. This is a continuation of the Selenium automated web testing series.   You can  use … Continue reading “Selenium Web App Test: Are My Web Parts There?”

Posted on September 22, 2017Categories Quality AssuranceTags , , , , , , , , , ,   Leave a comment on A Simple Selenium Script Example Using JavaScript and Safari

A Simple Selenium Script Example Using JavaScript and Safari

In my previous articles I showed how to enable Safari for web automation (hint: developer menu Allow Remote Automation) and how to get your Node.js environment setup on MacOS to begin writing automated web application scripts.    This example is a very basic script to show how to perform a basic web page load (the MySLP site in this case) with some parameter passing that can be expanded in later examples. Enironment Preparation My test environment is running on MacOS … Continue reading “A Simple Selenium Script Example Using JavaScript and Safari”

Posted on September 21, 2017Categories Programming Languages, Quality AssuranceTags , , , , , , 5 Comments on Testing Web Apps With Selenium and JavaScript

Testing Web Apps With Selenium and JavaScript

It turns out I’ve been making the setup of Selenium 2 (Selenium Server + Webdriver) far too complicated.   As noted in my prior article, getting the client side of the equation setup with Safari is as simple as going to the developer menu and selecting “Allow Remote Automation”. The server side of things is almost as easy.  I’ve opted to build my tests in JavaScript since that is the “way of the web app world” these days and because … Continue reading “Testing Web Apps With Selenium and JavaScript”