Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Summary of learning points for personal Web automated testing

Shulou Source: shulou.com Published: 2022-06-03 02:29:05 10月03日 Update

"immeasurable, unfathomable" is a passage from "Han Feizi's main Road". The same is true for automated testing, where the development of the web system is complete, and testers test the page to find bug. This process, in fact, needs to be used as a test for us to fumble forward.

What is web automated testing?

Is web page automated testing. Input data, click and other operations to the web object through the software, and compare the expected results with the actual results, including the test report.

Principle of Web automatic testing

By calling the IE COM interface and HTML DOM, use automated testing tools to operate on IE browsers and WEB test objects. The automated testing framework can operate the controls in Web, simulate user input, click and other operations, and realize Web automated testing.

Front-end automation testing can be tried in several directions:

Interface regression test

The most basic part of the front-end test, whether the interface is normal or not.

Function test

Because interaction is involved, this part of the test will be more complex than the interface test, testing whether the functional operation is normal or not.

Performance testing

Page performance is getting more and more attention, and performance needs to be continuously concerned during the development process, otherwise it is easy to decline as the business iterates.

Page feature detection

Some dynamic areas cannot be tested by interface comparison, and there are no functional exceptions, but may not meet the requirements.

Web Automated testing tool

Selenium is arguably the most comprehensive open source automation tool for testing WEB, built in programming languages such as Java,C#,PHP,Python. The Selenium test runs directly in the browser, just like a real user is working on it.

TestWriter is for functional, regression, and compatibility testing, and supports the c # and java languages. TestWiter can test not only web but also mobile phones.

Webdriver is an automated testing software being used by GOOGLE, which is based on an automated testing class library of Selenium. It aims to improve many problems in Selenium and provides a very easy-to-use and readable API.

QUnit automates unit testing, including qunit.js as a runner and test framework, and the qunit.css file, seating test suite page displays the test results style.

Tags: Testing automation functions interfaces pages tools performance results front end objects frameworks testing tools browsers users languages software processes development browsing input Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB vpn Microsoft Huawei