In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is Selenium". In daily operation, I believe many people have doubts about what Selenium is. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what is Selenium?" Next, please follow the editor to study!
Selenium introduction
Selenium is an application that supports web-based. As agile development is gradually popular in Internet enterprises and requires high interaction and timely response in the software development process, test automation has undoubtedly become the best answer for testing.
Advantages of automated testing
Automated testing has many advantages in improving the efficiency of software testing teams.
1. Do regression testing quickly
two。 Quick feedback on test results
3. Can support almost unlimited iterative execution of test cases
4. Can effectively support the idea of agile and extreme programming.
5. Custom defect report
History of Selenium
In 2004, Jason Huggins, an employee of ThoughtWorks, developed a set of javascript libraries to drive interactions in different browsers. This set of js libraries is Selenium Core. Selenium Core completes the automatic testing of js drivers as the most basic function of Selenium IDE and Selenium RC.
In 2006, Simon Stewart, an Google test engineer, in order to solve the problems encountered in using Selenium for a long time, mainly the homologous problems caused by browsers to js resources and the improvement of security by browsers, led to great restrictions on selenium core. In this case, Simon tewart began to develop WebDriver to interact with browsers by using browser and operating system native methods to solve the pain points of Selenium.
In 2008, WebDriver and Selenium merged, namely Selenium WebDriver (Selenium2.0), to combine their respective strengths to make up for their disadvantages.
Selenium tool kit
What we usually call Selenium refers to a collection of tools, each with its own specific role.
Selenium2
From the perspective of the history of Selenium, Selenium WebDriver (Selenium2) is the development direction of Selenium. Selenium2 provides users with a more object-oriented api, and it is fully compatible with the interface of WebDriver.
Selenium1
Selenium1 (Selenium RC or Remote Control), the core of Selenium1 is Selenium Core, which is also a javascript library, which completes the selenese instructions sent by the client based on browser js injection. Later, the architecture of Selenium RC will be analyzed. Because of its official abandonment and various disadvantages, it will not be explained too much.
Selenium IDE
Selenium IDE (Integrated Development Environment), a plug-in for firefox browser, is used to record test scripts. Scripts recorded by it can be exported and generated in various compatible programming language scripts, such as java, python, ruby, php, etc., which can be used as a good starter choice for beginners, but for students with certain development experience, it is recommended to learn Selenium2 api directly to complete more complex test scenarios.
Selenium Grid
When we have more test scripts, or when we need to test between different platforms, we can use Selenium Grid, which provides Selenium with the function of distributed test execution, which can greatly improve the efficiency of test execution.
At this point, the study of "what is Selenium" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.