Automatic testing method based on Selenium and TestNG
A technology for automated testing and testing scenarios, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as inconvenient data-driven testing, inconvenient failure re-run, practical application difficulties, etc., to achieve data-driven The effect of testing, facilitating maintenance and reducing maintenance costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0014] The automated testing method based on Selenium and TestNG described in this implementation combines the Web application testing tool Selenium with the open source automated testing framework TestNG, and uses the hierarchical form of test data, page objects and methods, and test scenarios to build a good Web automated testing framework for data-driven testing, dependency testing, and multi-thread testing.
[0015] Taking the visit to Baidu as an example, the automated testing method is described in detail below, which specifically includes the following steps:
[0016] Step 1: Create a new java project, create a new libs directory, copy the required jar packages to the libs directory, and import the jar packages into the compilation path of the project; the jar packages used include all jar packages of Selenium and all jar packages of feed4testng package, and guice-3.0.jar;
[0017] Step 2: Create a new directory, where the data directory stores test data, object stores...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com