Answer the question
In order to leave comments, you need to log in
How to test javascript interface?
Good morning.
Tell me, what are the libraries for functional testing of javascript interfaces? Something at the input: click on the button, check that a window has popped up, enter text in the field, send the form, check the answer ...
At first I tried to do this through selenium from the server - a thankless task. The code is too complex.
I thought, since this case works on the client, then it is most likely necessary to test it on the client. But I did not find any libraries for this. Who uses what? Please share. The code is written in jquery.
Answer the question
In order to leave comments, you need to log in
Hmm... It seemed to me that "testers" are doing all this, i.e. people.
Testing, roughly speaking, can be divided into two types:
1. Unit and end-to-end testing (code testing) - there are many solutions, for example, karma and jasmine .
2. GUI testing - I can only remember selenium and a tutorial from Yandex
why not use selenium on the client? he is essentially a bot, once on the client and works
Gremlins.js I think this is what you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question