vendredi 1 février 2019

JavaScript testing a smart card authenticated website?

note: it does look like this type of question has been asked before, but I do not see an answer given.

I'm looking for a way to run javascript tests on a website that requires smart card authentication to access. A fully automated approach would be nice, but is not required. Potential approaches that come to mind are:

1) via a tool that can handle smart card authentication

2) go ahead and manually authenticate, and then turn the browser over to a testing tool that can run the tests on the browser window that I manually opened.

Perhaps there are other approaches that could work as well, but those are what I thought of.

Does anyone know of any javascript testing tools that could work in such a scenario?

(My back up plan is to write the tests in plain old javascript, and then call it from the developer tools after logging in.)

Aucun commentaire:

Enregistrer un commentaire