Answer the question
In order to leave comments, you need to log in
Is it problematic to maintain and write UI-tests on JS + Selenium Web Driver?
Добрый день!
Недавно натолкнулся на такую вещь как Nightwatch.js : end2end testing framework. (nightwatchjs.org )
Наш проект написан на C# ASP.NET
Задача:
1. написать парочку тестов ( UI ) которые будут открывать сайт и прокликивать его, заполнять формы, загружать разные объекты ( картинки, zip).
2. Нужен низкий порог входа в написание автотестов, простой синтаксис тестов
3. Команда QA не знает языков программирования. ( имеют только общие представления)
4. Легкость и быстрота конфигурирования среды для запуска тестов
Вопрос: стоит -ли писать автотесты на JS или же выбрать стандартную вещь, такую как Selenide ( Java) например ?
P.S. возможно получилось сумбурно :(
Всем Спасибо!
Answer the question
In order to leave comments, you need to log in
Here it is bursting to ask, why JS, if the project is written in C#?
Selenium supports working with web drivers in C# as well.
"Write autotests" assumes the basics of programming.
To enable people who are unfamiliar with programming in some language to write autotests, you can use different frameworks, which still have to be configured and adapted to the project. And this is a constant process. And all this requires knowledge and skills in programming and not only.
further on the points:
1. It takes 15-30 minutes even on pure Selenium without frameworks.
2. I didn’t write for C#, but for Java I use Selinide (the syntax is simple, and fairly stable tests are obtained). BUT!!! Without shamanism, only clean projects pass without any beautiful and complex web elements and transitions.
3. Autotests should not be written by monkitesters or functionalists without programming experience. You can't do anything here.
4. To start, just download the webdriver and bind the API in the required language from the available language. 2-10 tests can be written this way, but for high-quality and stable tests, you will need to finish your helpers (and this means writing and adding code).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question