Method and system for testing double-kernel browser

A testing method and browser technology, applied in the direction of software testing/debugging, can solve problems such as low testing efficiency, and achieve the effect of improving testing efficiency and shortening testing time.

Active Publication Date: 2014-03-12
深圳市雅阅科技有限公司
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Based on this, it is necessary to provide a more efficient dual-core browser testing method and system for the problem of low test efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for testing double-kernel browser
  • Method and system for testing double-kernel browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] like figure 1 As shown, it is a flow chart of steps of the dual-core browser testing method of an embodiment, including:

[0039] Step S101, inputting a preset URL address into an address bar of a browser through a UI-based automated testing tool.

[0040] Common UI-based automated testing tools include UIAutomation, FoneMonkey, Sikuli, etc.

[0041] Step S102, the browser selects a kernel to display the webpage information corresponding to the URL address according to the webpage information corresponding to the URL address and the preset selection logic.

[0042] In an embodiment, the preset selection logic may be a selection made according to the content of the webpage corresponding to the current URL address, or a selection made in response to a user operation. That is, which kernel is used by the browser to open the webpage, on the one hand, it can be judged by the browser based on the content of the received page, and in another case, the webpage can be supporte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method for testing a double-kernel browser comprises the steps that a preset URL address is input into a location bar of the browser through an automatic testing tool based on a UI; according to webpage information and preset selection logic which correspond to the URL address, a kernel is selected by the browser so that the webpage information corresponding to the URL address can be displayed; the currently-used kernel of the browser is obtained by the browser through a preset standard control and kernel information is displayed through the standard control; the kernel information displayed by the standard control on the browser is obtained through the automatic testing tool based on the UI; the obtained kernel information is compared with preset expected kernel information corresponding to the URL address, so that a log is generated. The invention further provides a system for testing the double-kernel browser. According to the method and system for testing the double-kernel browser, the invisible logic is displayed through the standard control on the UI so that the current kernel can be judged by the automatic testing tool based on the UI according to the attribute of the standard control, an automatic test can be conducted, the testing time can be shortened, and the testing efficiency can be improved.

Description

technical field [0001] The invention relates to software testing technology, in particular to a dual-core browser testing method and system. Background technique [0002] The Internet allows people to quickly obtain all kinds of information they want, and the most direct source is the web browser. People enter the desired page and obtain the required information by entering the URL or clicking the link. [0003] The web page information comes from various data sources, and the web page information creation form of each data source will be different, so web browsers with different kernels appear. [0004] In order to realize the compatibility of different webpage information, dual-core browsers have appeared so that different forms of webpage information can be displayed correctly. [0005] When designing a dual-core browser, a core selection logic needs to be preset, which is used to analyze and select a core that is considered to match the current web page information for...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 苏瑞薄川川
Owner 深圳市雅阅科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products