当前位置:网站首页>Browser compatibility testing system, method and process
Browser compatibility testing system, method and process
2022-07-18 04:38:00 【Tian Tian Tian circle】
Browser compatibility test method , Include :
step 1: Operate in the user interface , Upload test script or call history script ;
step 2: The user selects the browser to test , The test system will be stored in Docker The corresponding image in the image module is called to the container management module ;
step 3: The container management module starts in step 2 Planned in Docker image , And check the environment of the startup results ;
step 4: The test system uploads the test script to the test system through the file management module , And call the browser in the container to test , And feed back the test progress in real time ;
step 5: The test system obtains the test results through the result processing module , And feed it back to the user interface . Users can view through the interactive interface , Manage and download test results .
According to another embodiment of the present invention , The above steps 3 It also includes the environmental detection of the startup results .
According to another embodiment of the present invention , The above steps 4 It also includes storing test results .
According to another embodiment of the present invention , The above result processing module obtains the test results from the storage .
The browser compatibility test system and method of the invention utilize the browser compatibility test method based on Docker The operating environment is completely isolated from the outside world , Maintain data isolation and reduce the occupation of test resources , say concretely :
1) Effectively reduce the consumption of hardware resources . Improve resource utilization ;
2) Effectively isolate data interference and pollution in the same environment ;
3) Test scripts can be run in parallel in multiple environments , So as to improve the test efficiency .
Specific implementation methods :
The invention is described in more detail below in combination with embodiments , However, the embodiment of the invention is not limited to this .
Browser compatibility testing system includes :
User interface , Used to enter user instructions , Upload test scripts , Manage historical scripts and historical test data , Realize interaction with users ;
File management module , It is used to manage the upload script and upload it to the container of the deployment test environment ;
Docker Image module , Pre generated for storage container engine Docker image . Docker The image contains the test environment of the container started at run time , And the operation instructions of running the target test script when the container starts ;
Container management module , It is used to manage and run the test environment of each tested browser Docker Mirror boot container , To run the target test script in the container's test environment , And realize the connection of the test terminal to the host to test the browser , Users can start multiple containers in parallel through this module for testing ;
The result processing module is used to obtain the result file generated by the container in the process of running the test script , Analyze it and process it into a more readable test report , And feed it back to the user interface for display and download .
Use Docker Container integration method , stay Docker Deploy the browser to be tested and the components required for script testing to form Docker Integrated test environment , Then upload test scripts and test commands through the interactive interface to conduct test operations .
The test script includes : Command menu generation , Test data script, etc .
The host deploys the test system and uses Docker Image to build a separate test environment .
Users can manage test scripts through the front-end interactive interface , test result , Test data, etc .
Browser compatibility test methods include :
step 1: Operate on the user interface , Configure relevant test parameters , Upload scripts or call historical scripts to test ;
step 2: The user selects the browser to test , The test system will be stored in Docker Corresponding in the image module Docker The image is called to the container management module in preparation for startup ;
step 3: The container management module starts in step 2 Arranged in Docker image , And perform some environmental tests on the startup results , To ensure that the container is properly started for use by the test system ;
step 4: The test system uploads the test script to Docker Containers , And call the browser in the container to test , Real time feedback of test progress , And store the test results
step 5: The test system obtains the steps through the result processing module 4 Test results stored in , And feed back to the user interface , Users can view through the interactive interface , Manage and download test results .
in summary , The test server of the invention obtains a pre generated container engine Docker Mirror image , This image contains the test environment of the container started at run time , And the operation instructions to start the target test script at run time . Container start up ; Mirror image , Start a container to run the target test script provided by the client through the interactive interface in the container test environment , To realize the automatic test of the browser to be tested ; After the test is completed , Get the process of the container running the target test script . The generated log file is used to analyze the test results of the application to be tested ; Last , The test system feeds back the test results and log data to the interactive interface , For display and download .
be based on Docker The operating environment of is completely isolated from the outside world , The invention runs the automatic test script in the container , It not only realizes the test of the tested browser , It also ensures that the test script will not damage the file system of the host .
Each embodiment in this specification focuses on differences from other embodiments , And the same or similar parts between the various embodiments can refer to each other . Mentioned in this manual “ One embodiment ”,“ Another embodiment ”,“ An embodiment ” And the like refer to specific features described in connection with the embodiments , The structure or characteristics are included in the general description of this application . An embodiment , The same expression appearing in multiple places in the specification does not necessarily refer to the same embodiment .
Although the invention has been described with reference to a plurality of illustrative embodiments of the invention , But it should be understood , Those skilled in the art can design many other modifications and implementations , And these modifications and embodiments will fall within the scope of the present invention . The scope and spirit of the application disclosure principle .. More specifically , Within the scope of the disclosure and claims of this application , You can combine the components of the layout and / Or make various modifications and improvements to the layout . In addition to modifying and improving components and / Or outside the layout , Other uses are also obvious to those skilled in the art .
Article reprint link :http://www.51testing.com/html/97/n-4477597.html
边栏推荐
- PAT 甲级 A1102 Invert a Binary Tree
- PAT 甲级 A1079 Total Sales of Supply Chain
- 盒子模型与元素定位
- 【第二十四题】逻辑闭环(北理工/北京理工大学/程序设计方法与实践/小学期 )
- Pat grade a a1004 counting leaves
- 荷兰蒂尔堡大学、联邦大学 | Neural Data-to-Text Generation Based on Small Datasets: Comparing the Added Value of Two Semi-Supervised Learning Approaches on Top of a Large Language Model(基于小数据集的神经数据到文本生成)
- Audio and video SDP add bit rate
- 笔记-树的遍历
- 机器学习引言
- Is it safe to open Huatai Securities account by mobile phone?
猜你喜欢
随机推荐
Send your code into space and develop "the greatest work" with Huawei cloud
PAT 甲级 A1094 The Largest Generation
简单题目汇总
一种新的UI测试方法:视觉感知测试
PAT 甲级 A1004 Counting Leaves
PAT 甲级 A1086 Tree Traversals Again
最近总结出来的一种万能暴力破解法
工业以太网交换机的产品性能有哪些呢?
【第二十一题】成语接龙(北理工/北京理工大学/程序设计方法与实践/小学期 )
Notes tree traversal
《天天数学》连载60:二月二十九日
程序运行问题排查和解决:an instance of ‘std::logic_error‘what(): basic_string::_M_construct null not valid
工业交换机如何进入web管理界面?
开源数据质量解决方案——Apache Griffin入门宝典
Pat grade a A1020 tree Traversals
#导入Word文档图片# 阻塞与非阻塞IO操作
2022-07-15日报:Meta宣布推出Make-A-Scene:可基于文字和草图控制AI图像生成
RS2022/云检测:考虑域偏移问题的卫星图像半监督云检测Semi-Supervised Cloud Detection in Satellite Images by Considering the
高性能算力中心 — RDMA — NVIDIA SHARP
Intel IPU








