CN110347587A - APP compatibility test method, device, computer equipment and storage medium - Google Patents

APP compatibility test method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110347587A
CN110347587A CN201910461985.0A CN201910461985A CN110347587A CN 110347587 A CN110347587 A CN 110347587A CN 201910461985 A CN201910461985 A CN 201910461985A CN 110347587 A CN110347587 A CN 110347587A
Authority
CN
China
Prior art keywords
measured
terminal
screenshot
page
app
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910461985.0A
Other languages
Chinese (zh)
Other versions
CN110347587B (en
Inventor
胡东闻
蔡晓昕
全佳君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN201910461985.0A priority Critical patent/CN110347587B/en
Publication of CN110347587A publication Critical patent/CN110347587A/en
Application granted granted Critical
Publication of CN110347587B publication Critical patent/CN110347587B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the present application provides a kind of APP compatibility test method, device, computer equipment and computer readable storage medium.When the embodiment of the present application realizes APP compatibility test, whether server is in idle condition by the terminal to be measured for calling presetting method detection to be in connection status with server, if terminal to be measured is in idle condition, the URL of the page to be measured is sent to terminal to be measured so that terminal to be measured shows the page to be measured by APP client, dispatching terminal to be measured makes terminal to be measured intercept the page to be measured so that terminal to be measured obtains screenshot, and terminal to be measured is made to upload screenshot, receive the screenshot that terminal to be measured uploads, judge whether to prestore the corresponding baseline chart of screenshot, baseline chart if it exists, screenshot and baseline chart are compared to judge whether screenshot meets preset condition, to obtain test result, APP compatibility is tested by traversal URL compared in traditional technology, it can be improved the simplicity and high efficiency of test.

Description

APP compatibility test method, device, computer equipment and storage medium
Technical field
This application involves APP the field of test technology more particularly to a kind of APP compatibility test method, device, computer to set Standby and computer readable storage medium.
Background technique
Test APP compatibility refers to that can APP successfully realize APP in terminal to be measured according to default purpose and display effect From the overall process for downloading, being installed to unloading.It is by tester in every hospitality for APP compatibility test in traditional technology It surveys in terminal and downloads APP, survey the test APP of terminal from installation, the entire mistake opened, be upgraded to unloading by hospitality by tester Journey.Wherein, the use of open test is to lock the tested page by way of traverse URL for APP, will lead to APP in this way The execution efficiency tested in every money terminal is low, and then causes the efficiency of entire APP compatibility test lower.
Summary of the invention
The embodiment of the present application provides a kind of APP compatibility test method, device, computer equipment and computer-readable deposits Storage media is able to solve the problem that APP compatibility test efficiency is lower in traditional technology.
In a first aspect, the embodiment of the present application provides a kind of APP compatibility test method, which comprises pass through tune Whether it is in idle condition with the terminal to be measured that presetting method detection is in connection status with server;If at the terminal to be measured In idle state, the URL of the page to be measured obtained by the first predetermined manner is sent to the terminal to be measured so that described to be measured Terminal shows the page to be measured by APP client;Dispatching the terminal to be measured by default api interface makes the end to be measured End intercepts the page to be measured so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload the screenshot;It receives The screenshot that the terminal to be measured uploads;The default mark of the page to be measured carried according to the screenshot judges whether pre- There is the corresponding baseline chart of the screenshot, the baseline chart refers to the page for meeting compliance to the terminal to be measured;If There are the baseline charts, and the screenshot and the baseline chart are compared to judge whether the screenshot meets preset condition; If the screenshot meets the preset condition, determine that the screenshot meets the compliance to the terminal to be measured;If described Screenshot is unsatisfactory for the preset condition, determines that the screenshot is unsatisfactory for the compliance to the terminal to be measured.
Second aspect, the embodiment of the present application also provides a kind of APP device for testing compatibility, comprising: detection unit is used for Whether it is in idle condition by the terminal to be measured for calling presetting method detection to be in connection status with server;Transmission unit, If being in idle condition for the terminal to be measured, the URL of the page to be measured obtained by the first predetermined manner is sent to described Terminal to be measured is so that the terminal to be measured shows the page to be measured by APP client;Scheduling unit, for by default Api interface, which dispatches the terminal to be measured, makes the terminal to be measured intercept the page to be measured so that the terminal to be measured is cut Figure, and the terminal to be measured is made to upload the screenshot;Receiving unit, the screenshot uploaded for receiving the terminal to be measured; The default mark of judging unit, the page to be measured for being carried according to the screenshot judges whether to prestore the screenshot pair The baseline chart answered, the baseline chart refer to the page for meeting compliance to the terminal to be measured;Comparing unit, if for depositing In the baseline chart, the screenshot and the baseline chart are compared to judge whether the screenshot meets preset condition;The One judging unit determines that the screenshot meets to the simultaneous of the terminal to be measured if meeting the preset condition for the screenshot Capacitive requirement;Second judging unit determines that the screenshot is unsatisfactory for institute if being unsatisfactory for the preset condition for the screenshot State the compliance of terminal to be measured.
The third aspect, the embodiment of the present application also provides a kind of computer equipments comprising memory and processor, it is described Computer program is stored on memory, the processor realizes the APP compatibility test when executing the computer program Method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the present application also provides a kind of computer readable storage medium Storage media is stored with computer program, and the computer program makes the processor execute the APP when being executed by processor simultaneous Capacitive test method.
The embodiment of the present application provides a kind of APP compatibility test method, device, computer equipment and computer-readable deposits Storage media.When the embodiment of the present application realizes APP compatibility test, tester can be with customized terminal to be measured, then will be to be measured Terminal is connected on server, and server is by the terminal to be measured for calling presetting method detection to be in connection status with server No to be in idle condition, if the terminal to be measured is in idle condition, tester can be with the customized page to be measured, then directly The URL of the page to be measured obtained by the first predetermined manner is sent to the terminal to be measured so that the terminal to be measured passes through APP Client shows the page to be measured, and dispatching the terminal to be measured by default api interface makes described in the terminal interception to be measured The page to be measured makes the terminal to be measured upload the screenshot so that the terminal to be measured obtains screenshot, receives in terminal to be measured The screenshot of biography can be obtained the accordingly result that the page to be measured that the page to be measured obtains in correspondence terminal to be measured is shown, according to The default mark for the page to be measured that the screenshot carries judges whether to prestore the corresponding baseline chart of the screenshot, the base Line chart refers to the page for meeting compliance to the terminal to be measured, if it exists the baseline chart, by the screenshot and described Baseline chart is compared by picture to judge whether screenshot meets preset condition, so that the test result precisely judged, is compared The tested page is locked by way of traversing URL in traditional technology to test compatibility of the APP on every money terminal device, is faced A variety of situations such as a plurality of terminal devices and various operating systems, resolution ratio, can be improved the simplicity of APP compatibility test Property, high efficiency and accuracy.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram of APP compatibility test method provided by the embodiments of the present application;
Fig. 2 is the flow diagram of APP compatibility test method provided by the embodiments of the present application;
Fig. 3 is another flow diagram of APP compatibility test method provided by the embodiments of the present application;
Fig. 4 is the schematic block diagram of APP device for testing compatibility provided by the embodiments of the present application;
Fig. 5 is another schematic block diagram of APP device for testing compatibility provided by the embodiments of the present application;And
Fig. 6 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
Referring to Fig. 1, Fig. 1 is the application scenarios schematic diagram of APP compatibility test method provided by the embodiments of the present application.Institute Stating application scenarios includes:
(1) terminal, terminal refer to Devices to test, namely the intelligent terminal for installing APP to be tested, multiple intelligent terminals It is placed in cabinet, is connect with cubicle interface, Cloud Server is then mapped to realize terminal and Cloud Server by cubicle interface Connection.In the embodiment of the present application, since the compatibility of APP over multiple terminals can be tested simultaneously based on private clound, than Such as, include terminal 1, terminal 2 and terminal 3 in Fig. 1, terminal 1, terminal 2 and terminal 3 are placed in cabinet simultaneously, connect by cabinet Mouth mapping is connect with Cloud Server respectively, may be implemented to test compatibility of the APP in terminal 1, terminal 2 and terminal 3 simultaneously.Institute Stating terminal can be the intelligent electronic devices such as a plurality of smart phones, smartwatch, laptop or tablet computer, in Fig. 1 Terminal connect respectively with Cloud Server.
(2) cabinet is mapped to Cloud Server by cubicle interface, while multiple intelligent terminals being connect with cubicle interface, To realize that multiple intelligent terminals are connect with Cloud Server, multiple terminals to be measured are manipulated simultaneously by Cloud Server to realize, with APP compatibility test is carried out in multiple terminals to be measured.
(3) Cloud Server, English is Elastic Compute Service, referred to as ECS, and is properly termed as Cloud Server refers to the server based on cloud computing.In the embodiment of the present application, it is based on Cloud Server, passes through reflecting for cubicle interface It penetrates and multiple terminals is connected on Cloud Server, Cloud Server can test the compatibility of APP in multiple terminals so that cloud simultaneously Server completes the step of executing APP compatibility test method, to improve the efficiency of APP compatibility test.Cloud clothes in Fig. 1 Business device is connect with cabinet and test front end respectively.
(4) test front end, tester using test front end by Cloud Server in each terminal APP compatibility into Row test, compatible test results front end is presented to tester to the APP that Cloud Server obtains on each terminal Member, tester carry out subsequent processing according to test result.
Each body of work process in Fig. 1 is as follows: personnel to be measured are by customized Devices to test such as terminal 1, terminal 2 It is placed in cabinet with terminal 3 and is attached with cabinet, then realized and connected with Cloud Server by cubicle interface mapping, meanwhile, Tester arrives the URL of the customized target pages for needing the APP for carrying out compatibility test as the URL storage of the page to be measured In Cloud Server, after starting test, server is in the end to be measured of connection status by calling presetting method detection with server Whether end is in idle condition, if the terminal to be measured is in idle condition, downloads APP client simultaneously in each terminal to be measured And installation APP client, after APP is successfully installed in terminal to be measured, send the page to be measured obtained by the first predetermined manner URL to the terminal to be measured so that the terminal to be measured show the page to be measured by APP client, pass through default API Interface, which dispatches the terminal to be measured, makes the terminal to be measured intercept the page to be measured so that the terminal to be measured obtains screenshot, and The terminal to be measured is set to upload the screenshot, server receives the screenshot that the terminal to be measured uploads, according to the screenshot The default mark of the page to be measured carried judges whether to prestore the corresponding baseline chart of the screenshot, and the baseline chart refers to Meet the page of compliance to the terminal to be measured, if it exists the baseline chart, by the screenshot and the baseline chart into Row is compared to judge whether the screenshot meets preset condition, if the screenshot meets the preset condition, determines the screenshot Meet the compliance to the terminal to be measured, if the screenshot is unsatisfactory for the preset condition, determines that the screenshot is discontented Foot is to the compliance of the terminal to be measured, and the baseline chart, is sent to test front end by surveying for the screenshot if it does not exist Examination personnel are confirmed to obtain test result.
It should be noted that only illustrating mobile phone in Fig. 1 as terminal, desktop computer is as test front end, in reality In operating process, the type of terminal is not limited to shown in Fig. 1, the terminal can also for smartwatch, laptop or The electronic equipments such as tablet computer, test front end are also not limited to desktop computer, and test front end can also be smartwatch, notebook The application scenarios of the electronic equipments such as computer or tablet computer, above-mentioned APP compatibility test method are merely illustrative the application Technical solution is not used to limit technical scheme, and above-mentioned connection relationship can also have other forms.
Fig. 2 is the schematic flow chart of APP compatibility test method provided by the embodiments of the present application.The APP compatibility is surveyed Method for testing is applied in the Cloud Server in Fig. 1, to complete all or part of function of APP compatibility test method.
Referring to Fig. 2, Fig. 2 is the flow diagram of APP compatibility test method provided by the embodiments of the present application.Such as Fig. 2 It is shown, this approach includes the following steps S201-S210:
S201, whether idle shape is in by the terminal to be measured for calling presetting method detection to be in connection status with server State.
Wherein, presetting method refers to the method that the SOT state of termination is obtained in system or programming language, by calling default side Method can know that the terminal is in idle condition still engaged condition, for example, can pass through method in Android system Android.content.Context judgement obtains the state of android terminal, in apple system or in different programming languages In all have the state that terminal is judged each by method call respectively.
Specifically, for Yao Jinhang APP in the compatibility test of the terminal to be measured such as mobile phone, tester can be with customized end to be measured End, that is, tester can determine the compatibility of the test APP in which terminal with unrestricted choice, and can simultaneously certainly A plurality of terminals to be measured are defined, and then terminal to be measured is attached by tester with server, terminal and server connection to be measured Success, starting test after, server by call presetting method detection with server be in connection status terminal to be measured whether It is in idle condition, if the terminal to be measured is in idle condition, APP client is downloaded in each terminal to be measured and is installed APP client after APP is successfully installed in terminal to be measured, carries out APP from the compatibility test for being opened to downloading.For example, test Multiple intelligent terminals to be measured can be put into cabinet first and be attached with cubicle interface by personnel, then pass through cubicle interface Terminal to be measured is attached with server, for example tester puts customized Devices to test terminal 1, terminal 2 and terminal 3 It is attached in cabinet with cabinet, Devices to test terminal 1, terminal 2 and terminal 3 and private is then made by the mapping of cubicle interface There is Cloud Server connection, realizes that manipulate Devices to test terminal 1, terminal 2 and terminal 3 simultaneously by Cloud Server exists to test APP APP pairs for opening each page from installation, one by one in Devices to test terminal 1, terminal 2 and terminal 3, being upgraded to the overall processes such as unloading The compatibility test of each terminal.
When server tests APP compatibility, first determine whether the terminal to be measured connecting with server is in empty Not busy state, that is, judge whether terminal to be measured is in and connect the engaged conditions such as phone.Oneself can be judged by terminal to be measured State after terminal to be measured the state of oneself is uploaded to server so that server knows the current state of terminal to be measured.Its In, terminal to be measured knows that the state of oneself can be by calling api interface to know the current state of terminal to be measured, for example, Android In system, it can judge to obtain mobile phone state by method Android.content.Context, using in Android The listen method of TelephonyManager object monitors cell phone incoming call state etc., is connect using the AudioManager in Android Mouth judges whether current system has music playing, and the IsMusicActive () that specifically can be used in AudioManager sentences Music etc. whether is playing in current Android phone of breaking.If terminal to be measured is not in idle state, continue to detect, Until terminal to be measured is in idle condition, if terminal to be measured is in idle condition, start to carry out APP compatibility test, into step Rapid S202.
If S202, the terminal to be measured are in idle condition, the page to be measured obtained by the first predetermined manner is sent URL is to the terminal to be measured so that the terminal to be measured shows the page to be measured by APP client.
Wherein, the first predetermined manner includes the page to be measured is stored in advance in server URL or server from external storage The URL or server that the page to be measured is obtained in equipment are by calling third party system interface to obtain the URL of the page to be measured.Than Such as, the URL for needing to carry out the page to be measured of APP compatibility test is stored in advance on the server tester, or test The URL of the page to be measured is stored on external equipment by personnel, and external equipment is connected to server so that server is set from external The standby middle URL for obtaining the page to be measured.Wherein, URL, English are Uniform Resource Locator, and Chinese is unified resource Finger URL.
Specifically, the URL of the page to be measured is stored in the lane database of server first, terminal to be measured is in if detecting Idle state reads the URL of the page to be measured from database, sends the URL to the terminal to be measured, and make the end to be measured End shows the page to be measured by URL.For example, first that the URL of each page to be measured for needing to carry out page test of APP is pre- It first stores to the database of privately owned Cloud Server, can make multiple terminals to be measured total into private clound database since URL is stored The url data is enjoyed, thus both can be with flexibly customizing equipment under test, and it again can be with the target pages of flexibly customizing APP.It carries out When APP compatibility test, if detecting, terminal to be measured is in idle condition, and privately owned Cloud Server obtains to be measured from database The URL of each of APP page to be measured is to realize the real-time calling to terminal to be measured, and terminal quick response server to be measured is to realize Flexibility to APP compatibility test, at the same privately owned Cloud Server make the terminal to be measured by URL go directly it is corresponding each to The page is surveyed, does not need terminal to be measured and traverse entire set of URL by way of traversal that response results can be quickly obtained, compared to tradition The tested page is locked by way of traversing URL in technology, the high efficiency of APP compatibility test may be implemented.
S203, dispatched by default api interface the terminal to be measured make the terminal to be measured intercept the page to be measured with So that the terminal to be measured is obtained screenshot, and the terminal to be measured is made to upload the screenshot.
Wherein, API, English are Application Programming Interface, refer to that application programming connects Mouthful, it is some functions predetermined, it is therefore an objective to application program be provided and accessed with developer based on certain software or hardware The ability of one group of routine, and be not necessarily to access source code, or understand the details of internal work mechanism, it can be pre- in APP client Api interface is first set, so that server, which dispatches AP client by api interface, manipulates the terminal.
Specifically, server is connected to by APP client due to terminal to be measured, server may be implemented by presetting Api interface operates APP client to dispatch the terminal to be measured, directly reaches each page to be measured of APP by the URL of the page to be measured Face, that is, so that terminal to be measured is opened each page to be measured of APP, while by dispatching terminal to be measured so that terminal to be measured calling is cut The api interface of figure function calls the screenshot function of terminal to be measured to intercept display image of each page to be measured in terminal to be measured, And make terminal to be measured that the screenshot of each page to be measured is uploaded to server so that APP is simultaneous in each terminal to be measured of server acquisition The screenshot of each page to be measured in capacitive test process.By taking terminal to be measured is connected to privately owned Cloud Server for smart phone as an example, Since mobile phone is connected to privately owned Cloud Server by APP, may be implemented to lead to by private clound server operation to control the mobile phone The each page to be measured of APP can be directly reached by crossing URL, that is, open each page to be measured of APP, by the screenshot for dispatching mobile phone Function is so that mobile phone carries out screenshot to each test page, and makes mobile phone that screenshot is uploaded to privately owned cloud service by method call Device, that is, each page to be measured is intercepted by the screenshot function of the api interface calling mobile phone of mobile phone screenshot function, and make mobile phone The screenshot of each page to be measured is uploaded to privately owned Cloud Server so that APP is simultaneous in each terminal to be measured of privately owned Cloud Server acquisition The screenshot of each page to be measured in capacitive test process, wherein in Android mobile phone, Android screenshotss can pass through debugging tool DDMS provides screenshotss function, and DDMS is to call the adbd (ADBdaemon) of equipment end to provide by adb Framebufferservice carry out screenshotss, framebuffer service can by call screenshotss tool screencap come Screenshotss, furthermore Android also carries another screenshots tool screenshot, it by directly read framebuffer equipment (/ Dev/graphics/fb0) carry out screenshotss, save as PNG format file, can also by the function of Capturescreen, and Capturescreen calls this function of captureScreenImplLocked to realize the screenshot function in Android mobile phone.Separately Outside, in Android mobile phone, mobile phone local picture can be uploaded to by server by the javainput in Java.
Further, the screenshot that terminal obtains can carry default mark, which can be the page to be measured The default mark in face, the default mark can be used to describe the page to be measured to be that APP client is shown on which kind of terminal device Which URL the page, be compared with the source of the conveniently recognized screenshot and by screenshot.For example, by multiple terminals to be measured Be numbered, while URL corresponding to multiple pages by APP client is numbered, by by the number of terminal to be measured and The number of the corresponding URL of the page is combined to obtain default mark of the page to be measured on this terminal device to be measured.
S204, the screenshot that the terminal to be measured uploads is received.
Specifically, each page to be measured of APP that server receives that terminal to be measured uploads shows page in each terminal to be measured The screenshot in face, and stored by screenshot reception sequence or in the display order of APP client and name.If it exists it is multiple to Terminal is surveyed, the screenshot that each terminal to be measured uploads is established corresponding file directory respectively respectively and orderly stored by server.
S205, judge whether to prestore the screenshot pair according to the default mark of the page to be measured of screenshot carrying The baseline chart answered, the baseline chart refer to the page for meeting compliance to the terminal to be measured.
Wherein, the baseline chart refers to the page for meeting compliance to the terminal to be measured, is and each page to be measured The reference base picture stored originally that face is compared, for example the screenshot stored during APP compatibility test is carried out for the first time, During APP is researched and developed, with the demand that the adjustment of APP or APP upgrade, updated every time for APP, before the update During APP compatibility test, the picture for meeting compliance tested every time can be all stored as baseline chart.
Default mark is used to describe the page to be measured is which URL that APP client is shown on which kind of terminal device The page.
Specifically, due to can generally be related to the test of the more a pages of APP during APP compatibility test, either exist In R&D process or during APP upgrades and updates, all there may be the new APP pages being originally not present therefore can deposit In the new APP page that baseline chart is not present, default mark and baseline that server carries the screenshot of acquisition by the screenshot Figure is matched, and server obtains the baseline chart of each page to be measured of pre-stored APP according to default mark from database, Server judges that each page to be measured will be to be measured if there are corresponding baseline charts for the page to be measured with the presence or absence of corresponding baseline chart The screenshot of the page and the baseline chart originally stored carry out corresponding compare to obtain the page to be measured to the terminal transparency to be measured Test result enters step S207, if baseline chart is not present in the page to be measured, enters step S206.
S206, the if it does not exist baseline chart, by the screenshot be sent to test front end by tester confirm with Obtain test result.
Specifically, if wiring diagram is not present in the page to be measured, the screenshot is sent to test front end and is carried out by tester The page to be measured is met the screenshot that test terminal transparency requires and is stored as baseline chart so that next time by confirmation to obtain test result Using the screenshot as baseline chart when progress APP compatibility test.
S207, the if it exists baseline chart screenshot and the baseline chart are compared to judge that the screenshot is It is no to meet preset condition;
If S208, the screenshot meet the preset condition, determine that the screenshot meets the compatibility to the terminal to be measured Property require;
If S209, the screenshot are unsatisfactory for the preset condition, determine that the screenshot is unsatisfactory for the terminal to be measured Compliance.
Wherein, preset condition refers to whether the screenshot meets the requirement of pixel, brightness and image background structure, if described Screenshot meets the requirement of pixel, brightness and image background structure, determines that the screenshot meets the compatibility to the terminal to be measured It is required that if the screenshot is unsatisfactory for the requirement of pixel, brightness and image background structure, determine the screenshot be unsatisfactory for it is described to Survey the compliance of terminal.
Specifically, page screenshot to be measured and corresponding baseline chart are compared to be compared the baseline chart if it exists Testing result analyzes each type and screenshot based on picture alignment algorithm to realize, realizes the accurate judgement of APP compatibility, return Result is returned to realize the accuracy of APP compatibility test result.Page screenshot to be measured and corresponding baseline chart are compared, it is first To obtain screenshot and the respective pixel of the baseline chart, brightness and image background structure first to realize the ratio of screenshot and baseline chart It is right, specifically include following procedure:
Obtain the screenshot and the respective pixel of the baseline chart, brightness and image background structure;
Judge pixel, brightness and the image background structure of the screenshot respectively with the pixel of the baseline chart, brightness and figure As whether the difference of background structure is respectively smaller than corresponding preset threshold;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image The difference of background structure is less than or equal to corresponding preset threshold, pixel, brightness and the image back of the screenshot Scape structure meets corresponding compliance respectively;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image The difference of background structure is greater than corresponding preset threshold, pixel, brightness and the image background structure point of the screenshot It is not unsatisfactory for corresponding compliance.
Further specifically, the comparison of screenshot and the baseline chart includes the comparison of following three dimensions:
1) pixel;
2) brightness;
3) picture background structure, that is, the profile of image.
Wherein, pixel and brightness carry out parsing acquisition to picture by image procossing, the comparison of picture background structure, also It is the comparison of image outline, is that image is subjected to binaryzation, that is, is that picture is converted into black and white picture, after it will convert Picture carry out image binaryzation be characterized, pass through characteristic value comparison obtain picture background structure comparison result.If should be to It page screenshot surveyed compared with baseline chart, if there is larger difference, will be highlighted in place of difference, for example, will differ greatly Correspondence ring comes out at two, and is summarized with written form and compare conclusion, so that the total of two pictures and written form come will be irised out Knot is sent to tester as comparison result, makes tester is open-and-shut to know there are problems that and problem assorted Place.Wherein, binaryzation, English are Thresholding Image processing, and the binaryzation of image, being exactly will The gray value of pixel on image is set as 0 or 255, that is, whole image is showed and significantly there was only black and white view Feel effect.Binaryzation, English Thresholding are a kind of simplest methods of image segmentation.Binaryzation can be ash Degree image is converted into bianry image.The pixel grey scale for being greater than some threshold grey scale value is set as gray scale maximum, less than this The pixel grey scale of value is set as gray scale minimum, to realize binaryzation.In Digital Image Processing, the binaryzation of image makes image Middle data volume is greatly reduced, so as to highlight the profile of target.By the pixel of the screenshot, brightness and image background structure with Pixel, brightness and the image background structure of the baseline chart respectively correspond comparison, judge pixel, brightness and the image of the screenshot It is corresponding whether background structure is respectively smaller than with the difference of the pixel of the baseline chart, brightness and image background structure respectively Preset threshold, to being compared page screenshot to be measured and corresponding baseline chart to obtain comparison result, wherein comparison result packet Include the screenshot of the page to be measured and the comparison result of corresponding baseline chart and the two.Further, send comparison result and storage to Survey page screenshot is presented to tester to test front end as baseline chart and confirms.
S210, test result is obtained.
Specifically, for there are the screenshots of baseline chart, test result, the survey are obtained by the comparison of screenshot and baseline chart The tester of test result and after tested front end confirms that the baseline chart, the screenshot is sent to described if it does not exist Test front end is confirmed by tester that obtain test result, tester is according to comparison result, if judging APP compatibility There are problem, by relevant issues and according to related research staff or maintenance personnel is sent to, make related personnel according to problem and According to being adjusted to APP, to improve the efficiency of APP compatibility and adjustment.
Above-described embodiment can be understood as the independent testing process to a terminal to be measured, and the embodiment of the present application realizes APP When compatibility test, then terminal to be measured can be connected on server by tester with customized terminal to be measured, and server is logical Cross whether the terminal to be measured for calling presetting method detection to be in connection status with server is in idle condition, if the end to be measured End is in idle condition, then tester can be directly transmitted and be obtained by the first predetermined manner with the customized page to be measured The URL of the page to be measured passes through to the terminal to be measured so that the terminal to be measured shows the page to be measured by APP client Default api interface, which dispatches the terminal to be measured, makes the terminal to be measured intercept the page to be measured so that the terminal to be measured obtains Screenshot, and the terminal to be measured is made to upload the screenshot, receiving the screenshot that terminal to be measured uploads can be obtained the page to be measured The accordingly result that the page to be measured obtained in correspondence terminal to be measured is shown, according to the page to be measured of screenshot carrying Default mark judges whether to prestore the corresponding baseline chart of the screenshot, the baseline chart refer to the terminal to be measured is met it is simultaneous The page that capacitive requires, the baseline chart, the screenshot and the baseline chart are compared by picture to judge screenshot if it exists Whether preset condition is met, thus the test result precisely judged, the baseline chart, the screenshot is sent if it does not exist Confirmed to the test front end by tester to obtain test result, compared to the side in traditional technology by traversing URL Formula locks the tested page to test compatibility of the APP on every money terminal device, in face of a plurality of terminal devices and various A variety of situations such as operating system, resolution ratio can be improved the simplicity, high efficiency and accuracy of APP compatibility test.
Fig. 1 and Fig. 3 are please referred to, Fig. 3 is that another process of APP compatibility test method provided by the embodiments of the present application is shown It is intended to.As shown in figure 3, in this embodiment, this approach includes the following steps S301-S317:
S301, the multiple of connection status are in Cloud Server by calling presetting method detection to map by cubicle interface Whether terminal to be measured is respectively at idle state, and the terminal to be measured to be in idle condition is target terminal.
Wherein, the target terminal refers to the terminal that can be carried out APP compatibility test.
Specifically, in the embodiment of the present application, by taking server is Cloud Server as an example, Cloud Server can take for private clound Business device.Customized Devices to test terminal 1, terminal 2 and terminal 3 are placed in cabinet and are attached with cabinet by personnel to be measured, so It connect Devices to test terminal 1, terminal 2 and terminal 3 with privately owned Cloud Server by the mapping of cubicle interface afterwards, realization passes through cloud Server manipulates Devices to test terminal 1, terminal 2 and terminal 3 simultaneously to test APP in Devices to test terminal 1, terminal 2 and terminal 3 On from installation, one by one open each page, compatibility test of the APP to each terminal that is upgraded to the overall processes such as unloading.
When Cloud Server tests APP compatibility, the multiple terminals to be measured connecting with Cloud Server point are first determined whether Whether it is not in idle condition, that is, judges whether each terminal to be measured is in and connect the engaged conditions such as phone, wherein treats The detection for surveying the SOT state of termination can successively detect progress in sequence, can also concurrently execute detection, that is, detection is more simultaneously The state of a terminal to be measured just detects the state of multiple terminals to be measured, if cloud if Cloud Server support concurrently executes detection simultaneously Server do not support concurrently to execute detection, the state of terminal to be measured can be detected one by one in sequence, as computer is set The promotion of standby performance, can support the concurrently execution of multitask, since the detection to each SOT state of termination to be measured is independent mistake Journey can detect the state of multiple terminals to be measured simultaneously, to improve the efficiency of APP compatibility test.Terminal to be measured can be passed through Judge terminal after the state of oneself state of oneself is uploaded to Cloud Server so that Cloud Server to know terminal to be measured current State.If terminal to be measured is not in idle state, continue to detect, until terminal to be measured is in idle condition, if end to be measured End is in idle condition, and using the terminal to be measured being in idle condition as target terminal, carries out the survey of APP compatibility to target terminal Examination, enters step S302.It should be noted that due to not being associated with mutually between multiple terminals to be measured, to each terminal to be measured The process of APP compatibility test independently carry out, Cloud Server can first test the end to be measured being in idle condition The compatibility to APP is held, and is measured after the terminal to be measured is in idle condition again to the terminal to be measured in engaged condition is to be checked The test of the terminal to be measured to APP compatibility is carried out, realizes the detection to multiple terminals to be measured according to the state of terminal to be measured point It is not handled, so that the detection compatible in each terminal to be measured to APP has flexibility.
S302, the corresponding n URL of the n page to be measured that APP is obtained from store files, wherein n is positive integer.
Specifically, if the URL of the page to be measured to be stored in the lane database of server, if detecting, terminal to be measured is in sky Not busy state reads the URL of the page to be measured from database, if APP client or APP newly developed are a new to be measured Compatibility test is carried out in equipment, since each page of APP requires to be tested, APP may include more than ten or The even up to a hundred pages to be measured of person tens, as soon as since the corresponding URL of a page to be measured, corresponding URL also have more than ten Or tens even up to a hundred, if APP upgrade etc. the compatibility test of maintainability, due to the page ratio that may be updated Less, the page to be measured for needing to carry out compatibility test is also just fewer, and the page to be measured that APP carries out compatibility test may be It is several or more than ten etc..The corresponding n URL of the n for the carrying out compatibility test page to be measured will be needed to take out from database, And the URL of the page to be measured is sent to each terminal to be measured.
S303, the n URL to the m terminals to be measured are sent so that each terminal to be measured is according to preset order The n pages to be measured are shown respectively, wherein m is positive integer;
Specifically, multiple terminals to be measured can be made to share the url data into cloud database since URL is stored, led to simultaneously It crosses Cloud Server and manipulates terminal to be measured, test while may be implemented to pass through Cloud Server while realizing to multiple terminals to be measured, It, and again can be with the target pages of flexibly customizing APP to both can be with flexibly customizing equipment under test.For example, to need to carry out The page to be measured of compatibility test has n, needs to carry out APP compatibility test in m terminals to be measured, carries out APP compatibility When test, if detecting there is m or the m-2 terminals to be measured being in idle condition in m terminals to be measured, Cloud Server is from number According to the URL for obtaining each of APP to be measured page to be measured in library, the n URL is respectively sent in the free time by total n URL In m of state or m-2 a terminals to be measured, to realize the real-time calling to terminal to be measured, each terminal quick response to be measured Cloud Server is to realize the flexibility to APP compatibility test, while Cloud Server makes the terminal to be measured by through pair of URL The page to be measured each of is answered, does not need terminal to be measured and traverse entire set of URL by way of traversal that response knot can be quickly obtained Fruit locks the tested page by way of traversing URL compared in traditional technology, the efficient of APP compatibility test may be implemented Property.The URL to the m terminals to be measured are sent, and each terminal to be measured is made to show the page to be measured by URL, So as to support the how concurrent real-time calling of multi-model, APP compatibility test can be concurrently executed in batches, is supported over thousands of on the market Money mobile device, a plurality of terminal devices concurrently execute the survey that APP compatibility test can be greatly improved on different terminal equipment Try efficiency.
S304, the notice for receiving each of each terminal upload to be measured page open to be measured.
Specifically, it after each terminal to be measured receives each of the Cloud Server transmission URL of the page to be measured, beats one by one Each URL is opened, if after terminal detects each page open to be measured, the information of APP page open to be measured is notified Cloud Server, To make Cloud Server know institute by receiving the notice of each of each terminal upload to be measured page open to be measured It states terminal to be measured and has already turned on the page to be measured, if opening failure also notifies Cloud Server, the result as compatibility test failure.
S305, according to the notice, by default api interface it is corresponding dispatch each terminal to be measured make it is each it is described to It surveys terminal and intercepts the page to be measured so that the terminal to be measured obtains screenshot, and makes the terminal to be measured according in predetermined manner Pass the screenshot.
Specifically, server is connected to by APP client due to terminal to be measured, server may be implemented by presetting Api interface operates the APP client to dispatch the terminal to be measured, so that it is each to directly reach APP by the URL of the page to be measured The page to be measured, that is, terminal to be measured is made to open each page to be measured of APP, while the API of the screenshot function by terminal to be measured Interface calls the screenshot function of terminal to be measured to intercept display image of each page to be measured in terminal to be measured so that described to be measured Terminal obtains screenshot, and the terminal to be measured is made to upload the screenshot according to predetermined manner.Wherein, there are two types of predetermined manners:
1) terminal to be measured obtains a screenshot, and the screenshot is uploaded to Cloud Server, after Cloud Server receives screenshot, By the screenshot according in name and sequential storage to the corresponding screenshot file of the terminal to be measured.
2) after all screenshots for obtaining all pages to be measured, concentration is uploaded to Cloud Server, and Cloud Server acquisition is needed After surveying the screenshot of the page, the screenshot is stored to the corresponding screenshot file of the terminal to be measured.
S306, the screenshot that each terminal to be measured uploads is received.
Specifically, Cloud Server receives the screenshot for the page to be measured that each terminal to be measured uploads, and by the page to be measured Screenshot stored respectively.The situation that each terminal to be measured in multiple terminals to be measured uploads screenshot is received for Cloud Server, Terminal uploads screenshot according to predetermined manner, and Cloud Server presses the screenshot that terminal to be measured uploads according to corresponding terminal to be measured respectively It is stored according to preset order, for example, adding terminal iidentification by sequence of pages in APP or reception sequence to distinguish not Screenshot with terminal avoids that screenshot is stored in together and is obscured, can also be improved subsequent cut to store the screenshot The efficiency that figure and baseline chart compare.
S307, judge whether to prestore the screenshot pair according to the default mark of the page to be measured of screenshot carrying The baseline chart answered.
Specifically, step S307 please refers to the step S205 in embodiment illustrated in fig. 2, by the step in Fig. 2 embodiment The content of S205 is incorporated herein by reference, and details are not described herein.
S308, the screenshot and the respective pixel of the baseline chart, brightness and image background structure are obtained;
S309, the pixel for judging the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness Corresponding preset threshold whether is respectively smaller than with the difference of image background structure;
If S310, the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and The difference of image background structure is less than or equal to corresponding preset threshold, pixel, brightness and the figure of the screenshot As background structure meets corresponding compliance respectively;
If S311, the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and At least one in the difference of image background structure be greater than corresponding preset threshold, the screenshot be unsatisfactory for it is described to Survey the compliance of terminal.
Specifically, S308-S311 please refers to the step S206 in step embodiment illustrated in fig. 2, by the step in Fig. 2 embodiment The content of rapid S206 is incorporated herein by reference, and details are not described herein.
S312, the if it does not exist baseline chart, by the screenshot be sent to test front end by tester confirm with Obtain test result.
Specifically, step S312 please refers to the step S207 in embodiment illustrated in fig. 2, by the step in Fig. 2 embodiment S207 is incorporated herein by reference, and details are not described herein.
S313, judge whether the screenshot meets the compatibility of the Devices to test according to confirmation result;
If S314, the screenshot meet the compatibility of the Devices to test, stores the screenshot of the page to be measured and to be measured set as this The baseline chart of the standby above page to be measured.
Specifically, if receiving head end test personnel judges that the screenshot meets the conclusion of the compatibility of the Devices to test, Using the screenshot of the page to be measured be stored as the baseline chart of the page to be measured for the APP next time carry out compatibility test when as Baseline chart is with reference to comparison.
S315, test result is obtained.
Specifically, for there are the screenshots of baseline chart, test result, the survey are obtained by the comparison of screenshot and baseline chart The tester of test result and after tested front end confirms that the baseline chart, the screenshot is sent to described if it does not exist Test front end is confirmed by tester that obtain test result, tester is according to comparison result, if judging APP compatibility There are problem, by relevant issues and according to related research staff or maintenance personnel is sent to, make related personnel according to problem and According to being adjusted to APP, to improve the efficiency of APP compatibility and adjustment.
S316, the test report for generating diagrammatic form by the second predetermined manner according to the test result, described second Predetermined manner includes preset frame and rendering engine and crucial renderer path.
Specifically, if the page to be measured of the APP meets compatibility to the Devices to test, show that the page to be measured is corresponding Screenshot and satisfaction are directed to the conclusion of Devices to test compatibility, if the page to be measured of the APP not meet the Devices to test Compatibility shows the screenshot of the page to be measured and is unsatisfactory for the conclusion to Devices to test compatibility, while showing the page to be measured The screenshot in face is that problem causes to be unsatisfactory for the compatibility to the Devices to test, for example, being pixel, brightness or the figure of screenshot As profile is unsatisfactory for the compatibility to the Devices to test, so as to the rapid orientation problem of tester and the problem is fed back to rapidly Corresponding maintenance personnel or research staff, to carry out the adjustment of APP compatibility test.If the screenshot of the page to be measured be corresponding with Baseline chart can show screenshot baseline chart corresponding with the screenshot together, and will highlight in place of the difference of the two Where outstanding problem.The screenshot of multiple pages to be measured of APP if it exists, the corresponding test result of its screenshot is suitable according to presetting Sequence is shown.Due to test result report simple, intuitive, tester can be according to test result report quick positioning question, Neng Goushi The intuitive of existing APP compatibility test result can be improved compared to the APP compatibility test conclusion of character property to APP compatibility The treatment effeciency of test result.
Further, the method that chart is generated in Android system is numerous, for example, encountering chart in Android APP exploitation Pattern, generally first inquire the Open Framework on GitHub, this frame MPAndroidChart frame uses ready-made open source Frame can save the cost of exploitation, improve the efficiency of exploitation.Meanwhile generation chart can also pass through rendering engine and key Renderer path (Critical Rendering Path).The thing that rendering engine is done is that request content is presented to us, default Support HTML, XML and picture type, render engine renders process is as follows after being loaded into html file by network module, this Commonly referred to as crucial renderer path (Critical Rendering Path):
1) it constructs dom tree (DOM tree): parsing html document from top to bottom and generate DOM node tree (DOM tree), It is content tree (contenttree);
2) building CSSOM (CSS Object Model) tree: load parsing pattern generates CSSOM tree;
3) it executes JavaScript: loading and execute JavaScript code (including inline code or external connection JavaScript file);
4) it constructs render tree (rendertree): according to dom tree and CSSOM tree, generating render tree (render tree);
Render tree refers to the series of rectangular shown in order on the screen, these rectangles have font, color and size Etc. perceptual properties.
5) it is laid out (layout): the correct position according to render tree by each node layout of node tree on the screen;
6) draw (painting): traversal render tree draws all nodes, is applicable in corresponding pattern for each node, this One process is completed by UI rear module.
S317, basis preset key to the issue word analysis test result to obtain the statistical result of the test result.
Wherein, it presets key to the issue word and refers to that APP has the keyword of compatibility being related to, including the APP page The keywords such as title, back gauge, brightness, the pixel of font and the APP page, can be by APP compatibility by default key to the issue word The problem of involved in test, is sorted out and is counted, according to the problems in classification and the APP compatibility test of statistics, after being The exploitation and maintenance of continuous APP is offered reference, to improve the efficiency of subsequent APP exploitation and maintenance.
Specifically, the problem of test that will be obtained in multiple APP compatibility test that multiple terminals carry out into Row classification.Aiming at the problem that certain Mobile phone or common problem existing for a plurality of mobile phones, and APP is summarized according to classification data The rule of compatibility issue is sampled analysis by machine learning to realize, and according to test result Rule Summary to be asked Topic classification.It is the ratio of the title of the APP page, position, big for example, for a system, a type or a screen size etc. The titles problem such as small, brightness, color is put together, sum up APP title setting relevant criterion, it is subsequent can be according to summary Rule carries out APP compatibility test and pays close attention to, and the accuracy rate and efficiency of APP compatibility test can be improved, or APP Exploitation and maintenance offer reference.By constantly collecting test result collection, tied by machine learning sampling analysis, and according to analysis Fruit Rule Summary can be improved the intelligence to APP compatibility test, further mention to realize intellectual analysis test result The efficiency of high APP compatibility test, to make in face of the tinkling of jades mobile device met the eye on every side and various operating systems, resolution Rate, compatibility test will become easy-to-use, simple, efficient, high-accuracy and intelligence.
In the embodiment of the present application, APP compatibility test is carried out by Cloud Server, Cloud Server detects be connected to first Whether the terminal to be measured on privately owned Cloud Server is in idle condition, if terminal to be measured is not at idle state, Cloud Server after Continuous detection is until terminal to be measured is in idle condition, if terminal to be measured is in idle condition, Cloud Server is obtained from database The URL of each of the APP to be measured page to be measured, by dispatch terminal to be measured screenshot function so that terminal to be measured to each test sheets Face carries out screenshot, and makes terminal to be measured that screenshot is uploaded to Cloud Server, and Cloud Server obtains pre-stored from database The baseline chart of each page to be measured of APP, Cloud Server judge that each page to be measured with the presence or absence of corresponding baseline chart, will be not present The screenshot of the page to be measured of baseline chart is sent to tester and confirms, at the same by the Devices to test meet compatibility to The screenshot for surveying the page is stored as the baseline chart of the page to be measured for joining when carrying out compatibility test the APP next time as baseline chart Comparison is examined, page screenshot to be measured and corresponding baseline chart are compared to obtain Determination as a result, sending Determination result Tester is presented to test front end with the screenshot to prestore baseline chart to confirm.Therefore, the embodiment of the present application proposes A kind of integrative solution for APP compatibility test solves the universal pain spot and difficult point of App compatibility test, and Multiple terminals to be measured may be implemented based on corporate servers while carrying out APP compatibility test, set in face of the tinkling of jades movement met the eye on every side Standby and various operating systems and resolution ratio, APP compatibility test will become simple, efficient and intelligent, and can do raising The efficiency and quality of APP compatibility test, specifically there is following benefit:
1) user can be with the tested page of customized APP, real-time calling terminal to be measured, to realize the quick sound of terminal to be measured It answers;
2) it concurrently can execute the APP compatibility test of multiple terminals to be measured in batches and precisely return the result.
3) handling time can be saved, the cost of APP compatibility test is saved, improves the efficiency of APP test.
It should be noted that APP compatibility test method described in above-mentioned each embodiment, can according to need will be different The technical characteristic for including in embodiment re-starts combination, with obtain combination after embodiment, but all this application claims Within protection scope.
Referring to Fig. 4, Fig. 4 is the schematic block diagram of APP device for testing compatibility provided by the embodiments of the present application.Correspond to Above-mentioned APP compatibility test method, the embodiment of the present application also provide a kind of APP device for testing compatibility.As shown in figure 4, the APP Device for testing compatibility includes the unit for executing above-mentioned APP compatibility test method, which can be configured in service In the computer equipments such as device.Specifically, referring to Fig. 4, the APP device for testing compatibility 400 includes detection unit 401, sends Unit 402, scheduling unit 403, receiving unit 404, judging unit 405, comparing unit 406, the first judging unit 407 and second Judging unit 408.
Wherein, detection unit 401, for by calling presetting method detection and server to be in the end to be measured of connection status Whether end is in idle condition;
Transmission unit 402, if being in idle condition for the terminal to be measured, what transmission was obtained by the first predetermined manner The URL of the page to be measured is to the terminal to be measured so that the terminal to be measured shows the page to be measured by APP client;
Scheduling unit 403 makes described in the terminal interception to be measured for dispatching the terminal to be measured by default api interface The page to be measured is so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload the screenshot;
Receiving unit 404, the screenshot uploaded for receiving the terminal to be measured;
The default mark of judging unit 405, the page to be measured for being carried according to the screenshot judges whether to prestore There is the corresponding baseline chart of the screenshot, the baseline chart refers to the page for meeting compliance to the terminal to be measured;
The screenshot and the baseline chart are compared to judge for the baseline chart if it exists for comparing unit 406 Whether the screenshot meets preset condition;
First judging unit 407 determines that the screenshot meets to described if meeting the preset condition for the screenshot The compliance of terminal to be measured;
Second judging unit 408 determines that the screenshot is unsatisfactory for pair if being unsatisfactory for the preset condition for the screenshot The compliance of the terminal to be measured.
In one embodiment, the detection unit 401, for by calling presetting method detection to reflect by cubicle interface It penetrates the multiple terminals to be measured for being in connection status with Cloud Server and whether is respectively at idle state, and to be in idle condition Terminal to be measured is target terminal.
Referring to Fig. 5, Fig. 5 is another schematic block diagram of APP device for testing compatibility provided by the embodiments of the present application. As shown in figure 5, in this embodiment, the APP device for testing compatibility 400 further include:
Acquiring unit 409, the corresponding n URL of the n page to be measured for obtaining APP from store files, wherein n is Positive integer;
Transmission unit 402, for sending the n URL to the terminal to be measured so that the terminal to be measured is according to default Sequence shows the n pages to be measured respectively;
The scheduling unit 403 includes:
Receiving subelement 4031, for receiving the notice of each of the terminal upload to be measured page open to be measured;
Subelement 4032 is dispatched, for making by the default api interface scheduling terminal to be measured described according to the notice Terminal to be measured intercepts the page to be measured so that the terminal to be measured obtains screenshot, and makes the terminal to be measured according to predetermined manner Upload the screenshot.
In one embodiment, the transmission unit 402, for send URL to m terminals to be measured of n with Each terminal to be measured is set to show the n pages to be measured respectively according to preset order, wherein m is positive integer;
The receiving subelement 4031, for receiving each of each terminal upload to be measured page open to be measured Notice;
The scheduling subelement 4032, for according to the notice, by the corresponding scheduling of default api interface it is each it is described to Surveying terminal makes each terminal to be measured intercept the page to be measured so that the terminal to be measured obtains screenshot, and makes described to be measured Terminal uploads the screenshot according to predetermined manner.
Please continue to refer to Fig. 5, as shown in figure 5, in this embodiment, the comparing unit 406 includes:
Subelement 4061 is obtained, for obtaining the screenshot and the respective pixel of the baseline chart, brightness and image background Structure;
Judgment sub-unit 4062 judges pixel, brightness and the image background structure point of the screenshot for judgment sub-unit Corresponding preset threshold whether is not respectively smaller than with the difference of the pixel of the baseline chart, brightness and image background structure;
First determine subelement 4063, if for the pixel of the screenshot, brightness and image background structure respectively with it is described The difference of the pixel of baseline chart, brightness and image background structure is less than or equal to corresponding preset threshold, determines Pixel, brightness and the image background structure of the screenshot meet corresponding compliance respectively;
Second determine subelement 4064, if for the pixel of the screenshot, brightness and image background structure respectively with it is described At least one in the difference of the pixel of baseline chart, brightness and image background structure is greater than corresponding preset threshold, sentences The fixed screenshot is unsatisfactory for the compliance to the terminal to be measured.
Please continue to refer to Fig. 5, as shown in figure 5, in this embodiment, the APP device for testing compatibility 400 further include:
Generation unit 410, for generating the test report of diagrammatic form, institute by the second predetermined manner according to test result Stating the second predetermined manner includes preset frame and rendering engine and crucial renderer path;
Statistic unit 411 presets key to the issue word analysis test result for basis to obtain the system of the test result Count result.
It should be noted that it is apparent to those skilled in the art that, above-mentioned APP device for testing compatibility It, can be for convenience of description and simple with reference to the corresponding description in preceding method embodiment with the specific implementation process of each unit Clean, details are not described herein.
Meanwhile in above-mentioned APP device for testing compatibility the division of each unit and connection type be only used for for example, In other embodiments, APP device for testing compatibility can be divided into as required to different units, APP compatibility can also be surveyed Trial assembly sets middle each unit and takes the different order of connection and mode, to complete whole or the portion of above-mentioned APP device for testing compatibility Divide function.
Above-mentioned APP device for testing compatibility can be implemented as a kind of form of computer program, which can be with It is run in computer equipment as shown in FIG. 6.
Referring to Fig. 6, Fig. 6 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer Equipment 600 can be desktop computer, and perhaps the computer equipments such as server are also possible to component or portion in other equipment Part.
Refering to Fig. 6, which includes processor 602, memory and the net connected by system bus 601 Network interface 605, wherein memory may include non-volatile memory medium 603 and built-in storage 604.
The non-volatile memory medium 603 can storage program area 6031 and computer program 6032.The computer program 6032 are performed, and processor 602 may make to execute a kind of above-mentioned APP compatibility test method.
The processor 602 is for providing calculating and control ability, to support the operation of entire computer equipment 600.
The built-in storage 604 provides environment for the operation of the computer program 6032 in non-volatile memory medium 603, should When computer program 6032 is executed by processor 602, processor 602 may make to execute a kind of above-mentioned APP compatibility test method.
The network interface 605 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Fig. 6 The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme The restriction of computer equipment 600 thereon, specific computer equipment 600 may include more more or fewer than as shown in the figure Component perhaps combines certain components or with different component layouts.For example, in some embodiments, computer equipment can Only to include memory and processor, in such embodiments, reality shown in the structure and function and Fig. 6 of memory and processor It is consistent to apply example, details are not described herein.
Wherein, the processor 602 is for running computer program 6032 stored in memory, to realize following step It is rapid: whether to be in idle condition by the terminal to be measured for calling presetting method detection to be in connection status with server;If described Terminal to be measured is in idle condition, send the URL of the page to be measured obtained by the first predetermined manner to the terminal to be measured with The terminal to be measured is set to show the page to be measured by APP client;Dispatching the terminal to be measured by default api interface makes The terminal to be measured intercepts the page to be measured so that the terminal to be measured obtains screenshot, and makes described in the terminal upload to be measured Screenshot;Receive the screenshot that the terminal to be measured uploads;According to the default mark for the page to be measured that the screenshot carries Judge whether to prestore the corresponding baseline chart of the screenshot, the baseline chart, which refers to, meets compliance to the terminal to be measured The page;The screenshot and the baseline chart are compared to judge whether the screenshot meets the baseline chart if it exists Preset condition;If the screenshot meets the preset condition, determine that the screenshot satisfaction wants the compatibility of the terminal to be measured It asks;If the screenshot is unsatisfactory for the preset condition, determine that the screenshot is unsatisfactory for the compliance to the terminal to be measured.
In one embodiment, the processor 602 is described by calling presetting method detection to be in server in realization When the step whether terminal to be measured of connection status is in idle condition, following steps are implemented:
The multiple to be measured of connection status is in Cloud Server by calling presetting method detection to map by cubicle interface Whether terminal is respectively at idle state, and the terminal to be measured to be in idle condition is target terminal.
In one embodiment, the processor 602 is realizing the page to be measured for sending and obtaining by the first predetermined manner The URL in face to the terminal to be measured so that the terminal to be measured by APP client show the page to be measured the step of before, Also perform the steps of
The corresponding n URL of the n page to be measured of APP is obtained from store files, wherein n is positive integer;
The processor 602 is in the URL for realizing the page to be measured for sending and obtaining by the first predetermined manner to described When terminal to be measured is so that the terminal to be measured shows the step of the page to be measured by APP client, following step is implemented It is rapid:
The n URL are sent to the terminal to be measured so that the terminal to be measured shows n institute according to preset order respectively State the page to be measured;
The processor 602 described dispatch the terminal to be measured by default api interface and makes the terminal to be measured realizing The page to be measured is intercepted so that the terminal to be measured obtains screenshot, and the step of making the terminal to be measured upload the screenshot When, implement following steps:
Receive the notice of each of the terminal upload to be measured page open to be measured;
According to the notice, by default api interface dispatch the terminal to be measured keep the terminal interception to be measured described to The page is surveyed so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload the screenshot according to predetermined manner.
In one embodiment, the processor 602 realize a URL of the transmissions n to the terminal to be measured so that When the terminal to be measured shows the step of the n pages to be measured according to preset order respectively, following steps are implemented:
The n URL to m terminals to be measured are sent so that each terminal to be measured is shown respectively according to preset order Show the n pages to be measured, wherein m is positive integer;
The processor 602 is realizing the logical of each of the reception terminal upload to be measured page open to be measured When the step known, following steps are implemented:
Receive the notice of each of each terminal upload to be measured page open to be measured;
The processor 602 is described according to the notice in realization, and dispatching the terminal to be measured by default api interface makes The terminal to be measured intercepts the page to be measured so that the terminal to be measured obtains screenshot, and makes the terminal to be measured according to default When mode uploads the step of the screenshot, following steps are implemented:
According to the notice, each end to be measured is made by the corresponding each terminal to be measured of scheduling of default api interface End intercepts the page to be measured so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload institute according to predetermined manner State screenshot.
In one embodiment, the processor 602 realize it is described by the screenshot and the baseline chart be compared with When judging whether the screenshot meets the step of preset condition, following steps are implemented:
Obtain the screenshot and the respective pixel of the baseline chart, brightness and image background structure;
Judge pixel, brightness and the image background structure of the screenshot respectively with the pixel of the baseline chart, brightness and figure As whether the difference of background structure is respectively smaller than corresponding preset threshold;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image The difference of background structure is less than or equal to corresponding preset threshold, determines pixel, brightness and the figure of the screenshot As background structure meets corresponding compliance respectively;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image The difference of background structure is greater than corresponding preset threshold, determines pixel, brightness and the image background knot of the screenshot Structure is unsatisfactory for corresponding compliance respectively.
In one embodiment, if the processor 602 is unsatisfactory for the preset condition in the realization screenshot, determine The screenshot was unsatisfactory for after the step of compliance to the terminal to be measured, was also performed the steps of
The test report of diagrammatic form, the second predetermined manner packet are generated by the second predetermined manner according to test result Include preset frame and rendering engine and crucial renderer path.
In one embodiment, if the processor 602 is unsatisfactory for the preset condition in the realization screenshot, determine The screenshot was unsatisfactory for after the step of compliance to the terminal to be measured, was also performed the steps of
According to default key to the issue word analysis test result to obtain the statistical result of the test result.
It should be appreciated that in the embodiment of the present application, processor 602 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or Person's processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, It is that can be completed by computer program, which can be stored in a computer readable storage medium.The computer Program is executed by least one processor in the computer system, to realize the process step of the embodiment of the above method.
Therefore, the application also provides a kind of computer readable storage medium.The computer readable storage medium can be non- The computer readable storage medium of volatibility, the computer-readable recording medium storage have computer program, the computer program Processor is set to execute following steps when being executed by processor:
A kind of computer program product, when run on a computer, so that computer executes in the above various embodiments The step of described APP compatibility test method.
The computer readable storage medium can be the internal storage unit of aforementioned device, such as the hard disk or interior of equipment It deposits.What the computer readable storage medium was also possible to be equipped on the External memory equipment of the equipment, such as the equipment Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the computer readable storage medium can also both include the inside of the equipment Storage unit also includes External memory equipment.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is set The specific work process of standby, device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The computer readable storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various computer readable storage mediums that can store program code such as magnetic or disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond scope of the present application.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
Step in the embodiment of the present application method can be sequentially adjusted, merged and deleted according to actual needs.This Shen Please the unit in embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the application Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, It can store in one storage medium.Based on this understanding, the technical solution of the application is substantially in other words to existing skill The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that an electronic equipment (can be individual Computer, terminal or network equipment etc.) execute each embodiment the method for the application all or part of the steps.
The above, the only specific embodiment of the application, but the bright protection scope of the application is not limited thereto, and is appointed What those familiar with the art within the technical scope of the present application, can readily occur in various equivalent modifications or Replacement, these modifications or substitutions should all cover within the scope of protection of this application.Therefore, the protection scope Ying Yiquan of the application Subject to the protection scope that benefit requires.

Claims (10)

1. a kind of APP compatibility test method, which is characterized in that the described method includes:
Whether it is in idle condition by the terminal to be measured for calling presetting method detection to be in connection status with server;
If the terminal to be measured is in idle condition, the URL of the page to be measured obtained by the first predetermined manner is sent to described Terminal to be measured is so that the terminal to be measured shows the page to be measured by APP client;
Dispatching the terminal to be measured by default api interface makes the terminal to be measured intercept the page to be measured so that described to be measured Terminal obtains screenshot, and the terminal to be measured is made to upload the screenshot;
Receive the screenshot that the terminal to be measured uploads;
The default mark of the page to be measured carried according to the screenshot judges whether to prestore the corresponding baseline of the screenshot Figure, the baseline chart refer to the page for meeting compliance to the terminal to be measured;
The baseline chart if it exists the screenshot and the baseline chart is compared to judge it is default whether the screenshot meets Condition;
If the screenshot meets the preset condition, determine that the screenshot meets the compliance to the terminal to be measured;
If the screenshot is unsatisfactory for the preset condition, determine that the screenshot is unsatisfactory for wanting the compatibility of the terminal to be measured It asks.
2. APP compatibility test method according to claim 1, which is characterized in that described by calling presetting method detection The step of whether terminal to be measured for being in connection status with server is in idle condition include:
Multiple terminals to be measured that connection status is in Cloud Server are mapped by cubicle interface by calling presetting method to detect Whether idle state is respectively at, and the terminal to be measured to be in idle condition is target terminal.
3. APP compatibility test method according to claim 1, which is characterized in that described send passes through the first predetermined manner The URL of the obtained page to be measured is to the terminal to be measured so that the terminal to be measured shows the page to be measured by APP client Before the step of face, further includes:
The corresponding n URL of the n page to be measured of APP is obtained from store files, wherein n is positive integer;
The URL for sending the page to be measured obtained by the first predetermined manner is to the terminal to be measured so that the terminal to be measured The step of showing the page to be measured by APP client include:
N URL are sent to the terminal to be measured so that the terminal to be measured shown respectively according to preset order n it is described to Survey the page;
It is described so that the terminal to be measured is intercepted the page to be measured so that described by the default api interface scheduling terminal to be measured Terminal to be measured obtains screenshot, and the step of making the terminal to be measured upload the screenshot includes:
Receive the notice of each of the terminal upload to be measured page open to be measured;
According to the notice, dispatching the terminal to be measured by default api interface makes the terminal to be measured intercept the page to be measured Face is so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload the screenshot according to predetermined manner.
4. APP compatibility test method according to claim 3, which is characterized in that the transmission n URL are to described Terminal to be measured is so that the terminal to be measured includes: the step of showing the n pages to be measured respectively according to preset order
The n URL to m terminals to be measured are sent so that each terminal to be measured shows n according to preset order respectively A page to be measured, wherein m is positive integer;
It is described to receive the step of terminal to be measured each of uploads the notice of the page open to be measured and include:
Receive the notice of each of each terminal upload to be measured page open to be measured;
It is described according to the notice, by default api interface dispatch the terminal to be measured keep the terminal interception to be measured described to The page is surveyed so that the terminal to be measured obtains screenshot, and makes the step of terminal to be measured is according to the predetermined manner upload screenshot Include:
According to the notice, cut each terminal to be measured by the corresponding each terminal to be measured of scheduling of default api interface The page to be measured is taken so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload described cut according to predetermined manner Figure.
5. APP compatibility test method according to claim 1, which is characterized in that described by the screenshot and the baseline Figure is compared to judge that the step of whether screenshot meets preset condition includes:
Obtain the screenshot and the respective pixel of the baseline chart, brightness and image background structure;
Judge that pixel, brightness and the image background structure of the screenshot are carried on the back with the pixel of the baseline chart, brightness and image respectively Whether the difference of scape structure is respectively smaller than corresponding preset threshold;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image background The difference of structure is less than or equal to corresponding preset threshold, determines pixel, brightness and the image back of the screenshot Scape structure meets corresponding compliance respectively;
If the pixel of the screenshot, brightness and image background structure respectively with the pixel of the baseline chart, brightness and image background At least one in the difference of structure is greater than corresponding preset threshold, determines that the screenshot was unsatisfactory for the end to be measured The compliance at end.
6. APP compatibility test method according to claim 1, which is characterized in that if the screenshot be unsatisfactory for it is described Preset condition, after determining the step of screenshot is unsatisfactory for the compliance to the terminal to be measured, further includes:
The test report of diagrammatic form is generated by the second predetermined manner according to test result, second predetermined manner includes pre- If frame and rendering engine and crucial renderer path.
7. APP compatibility test method according to claim 1, which is characterized in that if the screenshot be unsatisfactory for it is described Preset condition, after determining the step of screenshot is unsatisfactory for the compliance to the terminal to be measured, further includes:
According to default key to the issue word analysis test result to obtain the statistical result of the test result.
8. a kind of APP device for testing compatibility characterized by comprising
Whether detection unit is in empty for the terminal to be measured by calling presetting method detection to be in connection status with server Not busy state;
Transmission unit sends the page to be measured obtained by the first predetermined manner if being in idle condition for the terminal to be measured The URL in face is to the terminal to be measured so that the terminal to be measured shows the page to be measured by APP client;
Scheduling unit makes the terminal to be measured intercept the page to be measured for dispatching the terminal to be measured by default api interface Face is so that the terminal to be measured obtains screenshot, and the terminal to be measured is made to upload the screenshot;
Receiving unit, the screenshot uploaded for receiving the terminal to be measured;
Judging unit, the default mark of the page to be measured for being carried according to the screenshot judge whether to prestore described cut Scheme corresponding baseline chart, the baseline chart refers to the page for meeting compliance to the terminal to be measured;
Comparing unit the screenshot and the baseline chart is compared for the baseline chart if it exists to judge described cut Whether figure meets preset condition;
First judging unit determines that the screenshot met to the end to be measured if meeting the preset condition for the screenshot The compliance at end;
Second judging unit, if being unsatisfactory for the preset condition for the screenshot, determine the screenshot be unsatisfactory for it is described to Survey the compliance of terminal.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and is connected with the memory Processor;The memory is for storing computer program;The processor is based on running and storing in the memory Calculation machine program, to execute as described in claim any one of 1-7 the step of APP compatibility test method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program makes the processor execute the APP as described in any one of claim 1-7 when being executed by processor simultaneous The step of capacitive test method.
CN201910461985.0A 2019-05-30 2019-05-30 APP compatibility testing method and device, computer equipment and storage medium Active CN110347587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910461985.0A CN110347587B (en) 2019-05-30 2019-05-30 APP compatibility testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910461985.0A CN110347587B (en) 2019-05-30 2019-05-30 APP compatibility testing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110347587A true CN110347587A (en) 2019-10-18
CN110347587B CN110347587B (en) 2023-08-22

Family

ID=68174436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910461985.0A Active CN110347587B (en) 2019-05-30 2019-05-30 APP compatibility testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110347587B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459831A (en) * 2020-04-08 2020-07-28 广东三维家信息科技有限公司 Test system and test method
CN111984529A (en) * 2020-07-22 2020-11-24 华帝股份有限公司 APP software compatibility automatic test method
CN112164132A (en) * 2020-10-17 2021-01-01 蔡娟 Game compatible processing method based on big data and cloud computing center
CN112181807A (en) * 2020-09-08 2021-01-05 支付宝(杭州)信息技术有限公司 Application program inspection method, device and equipment
CN112667519A (en) * 2021-01-13 2021-04-16 北京字节跳动网络技术有限公司 Page testing method and device, electronic equipment and computer readable storage medium
CN113076243A (en) * 2021-03-26 2021-07-06 成都安恒信息技术有限公司 Method for optimizing image recognition automated testing cost
CN113076236A (en) * 2021-04-16 2021-07-06 北京京东拓先科技有限公司 Page loading monitoring method and device
WO2021159736A1 (en) * 2020-09-27 2021-08-19 平安科技(深圳)有限公司 Application compatibility test method and apparatus, and computer device
CN113342627A (en) * 2021-05-31 2021-09-03 深圳前海微众银行股份有限公司 Application service monitoring method and monitoring system of terminal
CN113506291A (en) * 2021-07-29 2021-10-15 上海幻电信息科技有限公司 Compatibility testing method and device
CN113934642A (en) * 2021-11-19 2022-01-14 四川启睿克科技有限公司 Software compatibility testing method based on dynamic and static combination
CN114153729A (en) * 2021-11-30 2022-03-08 北京达佳互联信息技术有限公司 Webpage testing method and device, electronic equipment and storage medium
CN114185624A (en) * 2021-12-30 2022-03-15 深圳前海微众银行股份有限公司 Report loading update detection method, device, equipment and storage medium
CN114466401A (en) * 2022-03-02 2022-05-10 北京新氧科技有限公司 Image transmission method and electronic device
CN114721961A (en) * 2022-04-24 2022-07-08 重庆长安汽车股份有限公司 Graphical user interface vision test system and method of remote vehicle control software

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
US20110239104A1 (en) * 2010-03-24 2011-09-29 Fujitsu Limited Facilitating Automated Validation of a Web Application
CN103546907A (en) * 2012-07-11 2014-01-29 深圳市世纪光速信息技术有限公司 System and method for testing wireless application protocol webpage
CN107908552A (en) * 2017-10-30 2018-04-13 阿里巴巴集团控股有限公司 A kind of test method based on link, device and equipment
CN108121647A (en) * 2016-11-26 2018-06-05 上海亿账通互联网科技有限公司 The browser compatibility test method and device of the HTML5 pages
CN108920380A (en) * 2018-07-20 2018-11-30 百度在线网络技术(北京)有限公司 Test method, device, server, equipment and the storage medium of the software compatibility
CN109408362A (en) * 2018-08-21 2019-03-01 中国平安人寿保险股份有限公司 Application compatibility test method, device, system and storage medium
CN109491888A (en) * 2018-09-29 2019-03-19 中国平安人寿保险股份有限公司 Application compatibility test method, device and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
US20110239104A1 (en) * 2010-03-24 2011-09-29 Fujitsu Limited Facilitating Automated Validation of a Web Application
CN103546907A (en) * 2012-07-11 2014-01-29 深圳市世纪光速信息技术有限公司 System and method for testing wireless application protocol webpage
CN108121647A (en) * 2016-11-26 2018-06-05 上海亿账通互联网科技有限公司 The browser compatibility test method and device of the HTML5 pages
CN107908552A (en) * 2017-10-30 2018-04-13 阿里巴巴集团控股有限公司 A kind of test method based on link, device and equipment
CN108920380A (en) * 2018-07-20 2018-11-30 百度在线网络技术(北京)有限公司 Test method, device, server, equipment and the storage medium of the software compatibility
CN109408362A (en) * 2018-08-21 2019-03-01 中国平安人寿保险股份有限公司 Application compatibility test method, device, system and storage medium
CN109491888A (en) * 2018-09-29 2019-03-19 中国平安人寿保险股份有限公司 Application compatibility test method, device and computer readable storage medium

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459831A (en) * 2020-04-08 2020-07-28 广东三维家信息科技有限公司 Test system and test method
CN111459831B (en) * 2020-04-08 2023-09-22 广东三维家信息科技有限公司 Test system and test method
CN111984529A (en) * 2020-07-22 2020-11-24 华帝股份有限公司 APP software compatibility automatic test method
CN112181807A (en) * 2020-09-08 2021-01-05 支付宝(杭州)信息技术有限公司 Application program inspection method, device and equipment
WO2021159736A1 (en) * 2020-09-27 2021-08-19 平安科技(深圳)有限公司 Application compatibility test method and apparatus, and computer device
CN112164132A (en) * 2020-10-17 2021-01-01 蔡娟 Game compatible processing method based on big data and cloud computing center
CN112667519B (en) * 2021-01-13 2023-07-21 抖音视界有限公司 Page test method and device, electronic equipment and computer readable storage medium
CN112667519A (en) * 2021-01-13 2021-04-16 北京字节跳动网络技术有限公司 Page testing method and device, electronic equipment and computer readable storage medium
CN113076243A (en) * 2021-03-26 2021-07-06 成都安恒信息技术有限公司 Method for optimizing image recognition automated testing cost
CN113076243B (en) * 2021-03-26 2024-05-17 成都安恒信息技术有限公司 Method for optimizing automatic testing cost of image recognition
CN113076236A (en) * 2021-04-16 2021-07-06 北京京东拓先科技有限公司 Page loading monitoring method and device
CN113342627A (en) * 2021-05-31 2021-09-03 深圳前海微众银行股份有限公司 Application service monitoring method and monitoring system of terminal
CN113506291A (en) * 2021-07-29 2021-10-15 上海幻电信息科技有限公司 Compatibility testing method and device
CN113506291B (en) * 2021-07-29 2024-03-26 上海幻电信息科技有限公司 Compatibility testing method and device
CN113934642A (en) * 2021-11-19 2022-01-14 四川启睿克科技有限公司 Software compatibility testing method based on dynamic and static combination
CN113934642B (en) * 2021-11-19 2024-05-14 四川启睿克科技有限公司 Software compatibility testing method based on dynamic and static combination
CN114153729A (en) * 2021-11-30 2022-03-08 北京达佳互联信息技术有限公司 Webpage testing method and device, electronic equipment and storage medium
CN114185624A (en) * 2021-12-30 2022-03-15 深圳前海微众银行股份有限公司 Report loading update detection method, device, equipment and storage medium
CN114466401A (en) * 2022-03-02 2022-05-10 北京新氧科技有限公司 Image transmission method and electronic device
CN114466401B (en) * 2022-03-02 2024-03-22 北京新氧科技有限公司 Image transmission method and electronic equipment
CN114721961A (en) * 2022-04-24 2022-07-08 重庆长安汽车股份有限公司 Graphical user interface vision test system and method of remote vehicle control software

Also Published As

Publication number Publication date
CN110347587B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN110347587A (en) APP compatibility test method, device, computer equipment and storage medium
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
US9021367B2 (en) Metadata capture for screen sharing
CN108958992A (en) test method and device
CN112187558B (en) Data verification method and device and electronic equipment
CN109828906A (en) UI automated testing method, device, electronic equipment and storage medium
CN109359194A (en) Method and apparatus for predictive information classification
US11954013B2 (en) Method of testing applet performance, electronic device, and computer-readable medium
CN109684008A (en) Card rendering method, device, terminal and computer readable storage medium
CN110059011A (en) Interface test method, device, medium and electronic equipment
CN109656799A (en) Test method and device
CN109582317A (en) Method and apparatus for debugging boarding application
CN108959087A (en) test method and device
CN110362488A (en) A kind of page test method, device, electronic equipment and storage medium
CN111813685B (en) Automatic test method and device
CN109992496A (en) A kind of data processing method and device for automatic test
CN110457049A (en) Realize method, apparatus, electronic equipment and the storage medium of plug-in unit automation
CN109299124A (en) Method and apparatus for more new model
CN108282542A (en) Remote operation method and device for test equipment
CN108959294A (en) A kind of method and apparatus accessing search engine
CN110471859A (en) Service test method, device, medium and electronic equipment
CN110851211A (en) Method, apparatus, electronic device, and medium for displaying application information
WO2014098308A1 (en) Method for displaying unified app information based on open app store, and computer readable recording medium therefor
CN110489326B (en) IDS-based HTTPAPI debugging method device, medium and equipment
WO2023151397A1 (en) Application program deployment method and apparatus, device, and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant