Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.7k points)

What is the best way for automated front-end testing using GUI for a WebSite?

I have to write a testing module to test the whole website automatically using GUI whatever a user can do on the website.

I have used mocha for testing the code but it does not provide GUI.

1 Answer

0 votes
by (62.9k points)

It's worth to take a glance on selenium Webdriver.

 

This framework is one of the most popular for functional testing of web applications. Here are the most notable features of Webdriver: Direct calls to browser API. A lot of supported browsers Opportunity to develop automated tests using completely different programming languages: Java, C#, Python, etc. Ability to execute tests in "headless" mode Mature and efficient web driver's API allowing you to handle several like alerts, AJAX interactions, file upload and other

You'll additionally find that tons of third party applications and services (like browserstack) have tight integration with selenium Webdriver and ready to integrate with it out of the box.

Last but not least is Selenium Webdriver's community: it's huge and professional, allowing you to get answers quickly. You can find more information about Webdriver on the official web-site, and also browse blogs related to it.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...