Skip to content

Month: February 2018

Selenium Solved: Null Responses for HTTP Session Requests

Recently I was updating the UI tests in a project now Selenium Webdriver plays nice with .NET Core. And came across a strange error: View the code on Gist. What made this a strange error is it is a failure to communicate with the Webdriver Server, not my underlying application and because of this failure in communication Webdriver could not manipulate my website. The Fix After some googling, this turns out to be a straightforward fix – my project uses the Chromedriver server as it’s Webdriver for tests and simply the Chromedriver server executable I had locally was out of date when…

QA Interview Question: When Would You Not Use BDD Tests Like Specflow?

The Question When would you not use BDD tests like Specflow? This is a question I have often asked and been asked in interviews and it is a great one because it challenges the candidate to be critical of a practice which has a lot of a good press and isn’t something the candidate is likely to have a prepared answer for. Behavior Driven Development tests using tools like Specflow and Cucumber are a useful means to create tests but should the technique always be applied? Skills Assessed Critical Analysis Industry Awareness Explaining Concepts Peer-Driven Debate Answering the Question Like most interview questions…

Upgrading From IdentityServer 3 to IdentityServer 4

Upgrading from IdentityServer 3 to 4 isn’t too tricky but there are some traps you can fall into if you are not careful. Type Changes Scopes are now API Resources Scopes in IdentityServer 3 were used to define a resource and the secret required to get access to that resource. Now, this class has been updated to an API Resource as an example of how the new object might look like: View the code on Gist. As you can see above the Scopes are now handled as a property of an API Resource. Clients now request an API Resource and…