





技术领域technical field
本申请涉及自动化测试技术领域,具体而言,涉及一种网页程序测试方法、装置、设备及存储介质。The present application relates to the technical field of automated testing, and in particular, to a web page program testing method, apparatus, device, and storage medium.
背景技术Background technique
网页程序测试中,可通过测试脚本打开浏览器,模拟Web元素的点击、拖动等操作,实现基于浏览器的网页程序测试。In the web page program test, the browser can be opened through the test script, and the operations such as clicking and dragging of web elements can be simulated, so as to realize the web page program test based on the browser.
在基于网页的多角色的测试中,在多台服务器上完成多角色测试时,资源浪费较大,成本较高。在单台服务器上完成多角色测试时,需要在不同角色之间进行频繁切换,每次切换时均需退出当前角色,才能进入下一个角色对其进行测试,在测试一个多角色场景时,存在至少一个角色需在多个不同时间进行测试,导致角色之间的切换需要进行多次,每次均需执行大量重复、冗余的测试操作,测试效率较低,同时,测试脚本在测试的过程中,若存在其中一个步骤出错,该多角色场景的测试需重新开始,测试脚本的健壮性较差,并且,该多角色场景的测试脚本难以复用。In the web-based multi-role test, when the multi-role test is completed on multiple servers, the resources are wasted and the cost is high. When completing a multi-role test on a single server, it is necessary to frequently switch between different roles. Each time you switch, you need to exit the current role before you can enter the next role to test it. When testing a multi-role scenario, there are At least one role needs to be tested at different times, resulting in the need to switch between roles multiple times. Each time, a large number of repetitive and redundant test operations need to be performed, and the test efficiency is low. At the same time, the test script is in the process of testing. , if there is an error in one of the steps, the test of the multi-role scene needs to be restarted, the robustness of the test script is poor, and the test script of the multi-role scene is difficult to reuse.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于,针对上述现有技术的不足,提供一种网页程序测试方法、装置、设备及存储介质,以解决现有技术中的多个角色的网页程序测试的测试效率较低,测试脚本健壮性较差的技术问题。The purpose of the present invention is to provide a web page program testing method, device, equipment and storage medium for the deficiencies of the above-mentioned prior art, so as to solve the low test efficiency of web page program testing of multiple roles in the prior art, and the test Technical issues with poor script robustness.
为实现上述目的,本申请实施例采用的技术方案如下:To achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
第一方面,本申请实施例提供一种网页程序测试方法,该方法包括:In a first aspect, an embodiment of the present application provides a web page program testing method, the method comprising:
获取多个角色对应的测试脚本,其中,所述多个角色对应的测试脚本为预设网页程序中所述多个角色的业务操作对应的测试脚本;Acquiring test scripts corresponding to multiple roles, wherein the test scripts corresponding to the multiple roles are test scripts corresponding to business operations of the multiple roles in the preset webpage program;
由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在所述多个浏览器页面中分别执行所述多个角色对应的测试脚本,得到所述多个角色对应的测试结果。Drive objects by multiple pre-built web pages, open multiple browser pages at the same time, and execute the test scripts corresponding to the multiple roles in the multiple browser pages respectively, and obtain the test results corresponding to the multiple roles .
可选地,所述由预先构建的多个网页驱动对象,同时开启多个浏览器页面,包括:Optionally, the object is driven by multiple pre-built web pages, and multiple browser pages are simultaneously opened, including:
由所述多个网页驱动对象,分别采用多个调试端口,同时开启所述多个浏览器页面。The objects are driven by the plurality of webpages, respectively use a plurality of debugging ports, and simultaneously open the plurality of browser pages.
可选地,所述由所述多个网页驱动对象,分别采用多个调试端口,同时开启所述多个浏览器页面,包括:Optionally, the plurality of webpage-driven objects respectively use a plurality of debugging ports to simultaneously open the plurality of browser pages, including:
由所述多个网页驱动对象,分别采用所述多个调试端口,同时开启同一预设浏览器的多个页面作为所述多个浏览器页面;所述多个调试端口为所述同一预设浏览器的多个调试端口。Drive the object by the multiple webpages, respectively use the multiple debugging ports, and simultaneously open multiple pages of the same preset browser as the multiple browser pages; the multiple debugging ports are the same preset Multiple debug ports for browsers.
可选地,所述由所述多个网页驱动对象,分别采用多个调试端口,同时开启所述多个浏览器页面,包括:Optionally, the plurality of webpage-driven objects respectively use a plurality of debugging ports to simultaneously open the plurality of browser pages, including:
由所述多个网页驱动对象,分别采用所述多个调试端口,同时开启多个浏览器的页面作为所述多个浏览器页面;所述多个浏览器为具有同一内核的多个不同的浏览器,所述多个调试端口为所述多个浏览器的调试端口。The objects are driven by the multiple webpages, respectively use the multiple debugging ports, and simultaneously open multiple browser pages as the multiple browser pages; the multiple browsers are multiple different browsers with the same kernel. A browser, the multiple debugging ports are the debugging ports of the multiple browsers.
可选地,所述由所述多个网页驱动对象,分别采用多个调试端口,同时开启所述多个浏览器页面之前,所述方法还包括:Optionally, before the objects are driven by the plurality of webpages, respectively use a plurality of debugging ports, and before the plurality of browser pages are simultaneously opened, the method further includes:
根据输入的多个对象创建脚本,构建所述多个网页驱动对象,每个对象创建脚本中包括:一个调试端口。According to the input multiple object creation scripts, the multiple webpage-driven objects are constructed, and each object creation script includes: a debug port.
可选地,所述方法还包括:将每个角色对应的测试结果中的用户数据和缓存数据分别存储至所述每个角色所对应网页驱动对象所指定的第一预设地址和第二预设地址中。Optionally, the method further includes: storing the user data and cached data in the test result corresponding to each role to the first preset address and the second preset address specified by the webpage driving object corresponding to each role respectively. set address.
可选地,所述由预先构建的多个网页驱动对象,同时开启多个浏览器页面之前,所述方法还包括:Optionally, before the objects are driven by multiple pre-built web pages and multiple browser pages are simultaneously opened, the method further includes:
根据输入的多个对象创建脚本,构建所述多个网页驱动对象,每个对象创建脚本中包括:一个所述第一预设地址和一个所述第二预设地址。According to the inputted multiple object creation scripts, the multiple webpage-driven objects are constructed, and each object creation script includes: one of the first preset addresses and one of the second preset addresses.
第二方面,本申请实施例提供一种网页程序测试装置,包括:In a second aspect, an embodiment of the present application provides a web page program testing device, including:
获取模块,用于获取多个角色对应的测试脚本,其中,所述多个角色对应的测试脚本为预设网页程序中所述多个角色的业务操作对应的测试脚本;an acquisition module, configured to acquire test scripts corresponding to multiple roles, wherein the test scripts corresponding to the multiple roles are test scripts corresponding to business operations of the multiple roles in the preset webpage program;
执行模块,用于由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在所述多个浏览器页面中分别执行所述多个角色对应的测试脚本,得到所述多个角色对应的测试结果。The execution module is used to drive objects by multiple pre-built web pages, open multiple browser pages at the same time, and execute the test scripts corresponding to the multiple roles in the multiple browser pages respectively, and obtain the multiple browser pages. The test result corresponding to the character.
第三方面,本申请实施例提供一种计算机设备,包括:存储介质和处理器,所述存储介质存储有所述处理器可执行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面的一种网页程序测试方法。In a third aspect, an embodiment of the present application provides a computer device, including: a storage medium and a processor, where the storage medium stores a computer program executable by the processor, and the processor implements the above when executing the computer program A web page program testing method of the first aspect.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被读取并执行时,实现上述第一方面的一种网页程序测试方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is read and executed, a web page of the first aspect described above is implemented Program testing method.
相对现有技术而言,本申请具有以下有益效果:Compared with the prior art, the present application has the following beneficial effects:
本申请实施例提供的一种网页程序测试方法、装置、设备及存储介质,通过获取多个角色对应的测试脚本,多个角色对应的测试脚本为预设网页程序中多个角色的业务操作对应的测试脚本,由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在多个浏览器页面中分别执行多个角色对应的测试脚本,得到多个角色对应的测试结果,使得多个角色之间的操作和测试互不影响,不需要在多个角色业务场景的测试中频繁进行不同角色和系统之间的切换,可有效提高测试效率,同时,每个角色都在对应的浏览器中独立操作与测试,若存在某个角色流程执行出错,不会影响其他角色,使得测试脚本的健壮性得以提高,并且,若某个角色的业务操作处于多个业务场景中,在对多个业务场景中的该角色进行测试时,可以复用该角色对应的测试脚本,提高了测试脚本的可复用性。In a web page program testing method, device, device, and storage medium provided by the embodiments of the present application, by acquiring test scripts corresponding to multiple roles, the test scripts corresponding to the multiple roles are corresponding to the business operations of the multiple roles in the preset web page program. The test script is driven by multiple pre-built web pages, opens multiple browser pages at the same time, and executes the test scripts corresponding to multiple roles in the multiple browser pages respectively, and obtains the test results corresponding to the multiple roles, so that The operations and tests between multiple roles do not affect each other, and there is no need to frequently switch between different roles and systems in the test of multiple roles' business scenarios, which can effectively improve the test efficiency. At the same time, each role is in the corresponding Independent operation and testing in the browser, if there is a role process execution error, it will not affect other roles, which improves the robustness of the test script, and if the business operation of a role is in multiple business scenarios, it will not affect the other roles. When testing the role in multiple business scenarios, the test script corresponding to the role can be reused, which improves the reusability of the test script.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的一种网页程序测试方法的流程示意图;1 is a schematic flowchart of a web page program testing method provided by an embodiment of the present application;
图2为本申请实施例提供的一种开启多个浏览器页面方法的流程示意图;2 is a schematic flowchart of a method for opening multiple browser pages according to an embodiment of the present application;
图3为本申请实施例提供的另一种网页程序测试方法的流程示意图;3 is a schematic flowchart of another web page program testing method provided by an embodiment of the present application;
图4为本申请实施例提供的另一种网页程序测试方法的流程示意图;4 is a schematic flowchart of another web page program testing method provided by an embodiment of the present application;
图5为本申请实施例提供的一种网页程序测试装置的示意图;FIG. 5 is a schematic diagram of a webpage program testing apparatus provided by an embodiment of the present application;
图6为本申请实施例提供的一种计算机设备的示意图。FIG. 6 is a schematic diagram of a computer device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
需要说明的是,在不冲突的情况下,本发明的实施例中的特征可以相互结合。It should be noted that the features in the embodiments of the present invention may be combined with each other without conflict.
在医疗信息化的多个角色业务场景中,每个角色都需要对应的信息化系统和权限,并且,每个角色在对应的信息化系统中存在唯一的账号和密码。由于该业务场景中多个角色均需要进行操作,并且每个角色可能需要进行多次操作,因此,对医疗信息化的多个角色业务场景进行测试时,需要在不同角色之间进行频繁地切换,每一次切换均需要退出当前角色的账号并在新的系统上登录其他角色的账号,流程较为繁琐。In the multi-role business scenario of medical informatization, each role requires a corresponding informatization system and authority, and each role has a unique account and password in the corresponding informatization system. Since multiple roles in this business scenario need to be operated, and each role may need to perform multiple operations, when testing the business scenario of multiple roles in medical informatization, it is necessary to frequently switch between different roles , every time you switch, you need to log out of the account of the current role and log in to the account of other roles on the new system, which is a cumbersome process.
示例地,该医疗信息化的多个角色业务场景可为:患者办理住院登记,护士为患者安排住院后,医生为患者开立药品,患者服用药品。在该业务场景中,涉及六个步骤,第一个步骤为住院部的医院工作人员在医院信息管理系统(Hospital Information System,HIS)中为患者办理入院登记,该住院部的医院工作人员可为第一个角色;第二个步骤为住院部的护士在护士站对应系统中为患者安排床位等,即为患者办理住院,该住院部的护士可为第二个角色;第三个步骤为住院部的医生在医生站对应系统中为患者开立药品医嘱,该住院部的医生可为第三个角色;第四个步骤为住院部的护士在护士站对应系统中签收住院部的医生的药品医嘱,并向药房申请发药;第五个步骤为药房部的药师在药房对应系统上进行发药,该药房部的药师可为第四个角色;第六个步骤为住院部的护士在护士站对应系统中安排患者执行药品服务。For example, the multiple role business scenarios of the medical informatization may be: patients register for hospitalization, nurses arrange hospitalization for patients, doctors prescribe medicines for patients, and patients take medicines. In this business scenario, six steps are involved. The first step is for the hospital staff of the inpatient department to register the patient in the Hospital Information System (HIS). The hospital staff of the inpatient department can The first role; the second step is for the nurse in the inpatient department to arrange beds for the patient in the corresponding system of the nurse station, that is, to handle hospitalization for the patient, and the nurse in the inpatient department can play the second role; the third step is hospitalization In the corresponding system of the doctor station, the doctor of the inpatient department issues a medicine order for the patient, and the doctor of the inpatient department can be the third role; the fourth step is for the nurse of the inpatient department to sign for the medicine of the doctor in the inpatient department in the corresponding system of the nurse station Doctor's order, and apply to the pharmacy for dispensing; the fifth step is for the pharmacist of the pharmacy department to dispense drugs on the corresponding system of the pharmacy, and the pharmacist of the pharmacy department can be the fourth role; the sixth step is for the nurse of the inpatient department The station corresponding system arranges patients to perform drug services.
上述医疗信息化的多个角色业务场景在测试时,首先需要打开医院信息管理系统,登录住院部的医院工作人员的账号,对该角色的操作进行测试;其次,退出住院部的医院工作人员的账号以及系统,打开住院部的护士所在的护士站对应系统,登录住院部的护士的账号,对该角色的操作进行测试;然后,退出住院部的护士的账号以及系统,打开住院部的医生所在的医生站对应系统,登录住院部的医生的账号,对该角色的操作进行测试;再次,退出住院部的医院的账号以及系统,继续打开住院部的护士所在的护士站对应系统,登录住院部的护士的账号,对该角色的操作进行测试;而后,退出住院部的护士的账号以及系统,打开药房部的药师所在的药房对应系统,登录药房部的药师的账号,对该角色的操作进行测试;最后,退出药房部的药师的账号以及系统,继续打开住院部的护士所在的护士站对应系统,登录住院部的护士的账号,对该角色的操作进行测试。When testing the multiple role business scenarios of the above medical informatization, firstly, you need to open the hospital information management system, log in to the account of the hospital staff in the inpatient department, and test the operation of the role; Account and system, open the corresponding system of the nurse station where the nurse in the inpatient department is located, log in to the account of the nurse in the inpatient department, and test the operation of the role; then, log out of the account and system of the nurse in the inpatient department, and open the location of the doctor in the inpatient department. The corresponding system of the doctor station of the inpatient department, log in to the account of the doctor in the inpatient department, and test the operation of the role; again, log out of the hospital account and system of the inpatient department, continue to open the corresponding system of the nurse station where the nurse of the inpatient department is located, and log in to the inpatient department. Then, log out of the account and system of the nurse in the inpatient department, open the corresponding system of the pharmacy where the pharmacist of the pharmacy department is located, log in to the account of the pharmacist in the pharmacy department, and perform the operation of the role. Test; finally, log out of the account and system of the pharmacist in the pharmacy department, continue to open the corresponding system of the nurse station where the nurse in the inpatient department is located, log in to the account of the nurse in the inpatient department, and test the operation of the role.
在上述业务场景中,四个角色均需要进行操作,对应测试时,四个角色之间进行切换,均需要执行退出登录以及登录的操作,测试的效率较低。住院部的护士进行了不连续的三次操作,对应测试时,三次均需要先打开住院部的护士所在的护士站对应系统,登录住院部的护士的账号,再对操作进行测试,该测试操作存在大量重复的动作,测试操作的冗余性较高,降低了测试的效率。在上述业务场景的多个步骤中,若某一个步骤出错,整个流程需要重新开始,因此,对于已经测试过的一些步骤对应的测试结果无法复用,上述业务场景的测试脚本的健壮性较差。上述医疗信息化的多个角色业务场景仅为示例,实际业务场景的流程比上述流程更加复杂,设计的角色可能更多,步骤也可能更多,使得测试效率较为低下。In the above business scenario, all four roles need to be operated. During the corresponding test, when switching between the four roles, it is necessary to perform logout and login operations, and the test efficiency is low. The nurses in the inpatient department performed three discontinuous operations. For each of the three tests, the corresponding system of the nurse station where the nurses in the inpatient department were located should be opened first, and the account of the nurses in the inpatient department should be logged in, and then the operation should be tested. The test operation exists. A large number of repeated actions, the redundancy of the test operation is high, and the efficiency of the test is reduced. In the multiple steps of the above business scenario, if a step fails, the whole process needs to be restarted. Therefore, the test results corresponding to some steps that have been tested cannot be reused, and the robustness of the test script of the above business scenario is poor. . The above business scenarios of multiple roles in medical informatization are just examples. The actual business scenarios are more complicated than the above processes, and there may be more roles and steps to be designed, which makes the test efficiency relatively low.
而本申请的方案中,可以使多个角色分别登录在多个浏览器页面中,多个角色的操作以及测试均分别在各自对应的浏览器页面上进行,即,多个角色之间的操作以及测试互不影响,不需要在测试脚本中执行角色切换,频繁进行不同角色和系统之间切换的问题就可以得到解决,同时,由于多个角色在多个独立的浏览器页面中独立管理,若某一角色的流程执行出错,不会影响其他角色,可以提高测试脚本的健壮性。However, in the solution of the present application, multiple roles can be logged into multiple browser pages respectively, and operations and tests of multiple roles are performed on their corresponding browser pages, that is, operations between multiple roles And the tests do not affect each other, there is no need to perform role switching in the test script, and the problem of frequent switching between different roles and systems can be solved. At the same time, since multiple roles are independently managed in multiple independent browser pages, If the process execution of a role goes wrong, it will not affect other roles, which can improve the robustness of the test script.
为了提高多个角色业务场景中各个角色的测试效率以及测试脚本的健壮性,本申请的方案中,提供一种网页程序测试方法,使得多个角色分别登录在多个浏览器页面中,多个角色的操作以及测试均分别在各自对应的浏览器页面上进行。In order to improve the testing efficiency of each role and the robustness of the test script in the multiple role business scenarios, the solution of the present application provides a web page program testing method, so that multiple roles are respectively logged in multiple browser pages, and multiple Role operations and tests are performed on their respective browser pages.
如下通过具体示例,对本申请实施例提供的一种网页程序测试方法进行解释说明。图1为本申请实施例提供的一种网页程序测试方法的流程示意图。如图1所示,该方法包括:A web page program testing method provided by the embodiments of the present application will be explained below through specific examples. FIG. 1 is a schematic flowchart of a web page program testing method provided by an embodiment of the present application. As shown in Figure 1, the method includes:
S101,获取多个角色对应的测试脚本。S101, acquiring test scripts corresponding to multiple roles.
测试脚本可以被自动化测试工具执行,在本申请实施例中,该自动化测试工具可以为Selenium,Selenium可以用于WEB应用程序测试,即网页程序测试。Selenium测试直接运行在浏览器中,测试脚本通过打开浏览器,模拟WEB元素的点击、拖动等操作,就像真正的用户进行业务操作一样,进而实现网页程序的自动化测试。The test script can be executed by an automated testing tool. In the embodiment of the present application, the automated testing tool can be Selenium, and Selenium can be used for WEB application testing, that is, web page program testing. The Selenium test runs directly in the browser. The test script simulates the click and drag operations of WEB elements by opening the browser, just like a real user performs business operations, and then realizes the automated testing of web programs.
在本申请实施例中,自动化测试工具还可以为QTP(Quick Test Professional)、RFT(IBM Rational Test Professional)等自动化WEB应用程序测试工具,在本申请实施例中不作具体限制。In the embodiment of the present application, the automated test tool may also be an automated WEB application test tool such as QTP (Quick Test Professional), RFT (IBM Rational Test Professional), etc., which is not specifically limited in the embodiment of the present application.
多个角色对应的测试脚本为预设网页程序中多个角色的业务操作对应的测试脚本。示例地,如上述业务场景,第一个角色(住院部的医院工作人员)的业务操作为在医院信息管理系统中为患者办理入院登记,那么该角色对应的测试脚本为该业务操作对应的测试脚本;第二个角色(住院部的护士)由于存在多个业务操作,可以对应多个测试脚本,其中,每个测试脚本对应一个业务操作,其他角色对应的测试脚本与上述角色对应的测试脚本的说明类似,在此不作过多赘述。The test scripts corresponding to the multiple roles are the test scripts corresponding to the business operations of the multiple roles in the preset web page program. Illustratively, as in the above business scenario, the business operation of the first role (hospital staff in the inpatient department) is to handle admission registration for patients in the hospital information management system, then the test script corresponding to this role is the test corresponding to the business operation. Script; the second role (the nurse in the inpatient department) can correspond to multiple test scripts due to the existence of multiple business operations, wherein each test script corresponds to a business operation, and the test scripts corresponding to other roles are the test scripts corresponding to the above roles The description is similar, so it is not repeated here.
本申请实施例中,测试脚本可为Java语言,当然还可以为其它语言,在本申请实施例中不作具体限制。如下以测试脚本为Java语言为例对本申请的技术方案进行解释说明。In the embodiment of the present application, the test script may be the Java language, and certainly may be other languages, which are not specifically limited in the embodiment of the present application. The technical solution of the present application is explained below by taking the test script as Java language as an example.
S102,由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在多个浏览器页面中分别执行多个角色对应的测试脚本,得到多个角色对应的测试结果。S102 , multiple pre-built web pages are used to drive objects, simultaneously open multiple browser pages, and execute test scripts corresponding to multiple roles on the multiple browser pages respectively to obtain test results corresponding to multiple roles.
在自动化测试工具Selenium中,可依托网页驱动对象开启浏览器页面,进而在开启的浏览器页面中执行测试脚本,得到测试结果。In the automated testing tool Selenium, the browser page can be opened by relying on the webpage-driven object, and then the test script can be executed in the opened browser page to obtain the test result.
Selenium操作浏览器时需要网页驱动对象进行协助,示例地,该网页驱动对象可为通过WebDriver类构建的对象,该对象可以被Selenium运行,测试时,自动开启浏览器页面,并且返回该页面的内容。Selenium needs the assistance of a web-driven object when operating a browser. For example, the web-driven object can be an object constructed by the WebDriver class, and the object can be run by Selenium. During testing, the browser page is automatically opened and the content of the page is returned. .
在本申请实施例中,预先构建了多个网页驱动对象,可以同时开启多个浏览器页面,可在每个浏览器页面执行该浏览器页面对应的角色的测试脚本,得到该角色的业务操作对应的测试结果。多个浏览器页面分别执行多个角色对应的测试脚本,彼此之间互不影响。In the embodiment of the present application, multiple webpage-driven objects are pre-built, multiple browser pages can be opened at the same time, and the test script of the role corresponding to the browser page can be executed on each browser page to obtain the business operation of the role corresponding test results. Multiple browser pages respectively execute test scripts corresponding to multiple roles without affecting each other.
示例地,如上述业务场景,存在四个角色,针对四个角色可以预先构建四个网页驱动对象,得到四个互相独立的浏览器页面,此时,第一个角色可在第一个网页驱动对象对应的浏览器页面中执行第一个角色对应的测试脚本,即该浏览器页面只负责模拟住院部的医院工作人员的业务操作;第二个角色可在第二个网页驱动对象对应的浏览器页面中执行第二个角色对应的测试脚本,即该浏览器页面只负责模拟住院部的护士的业务操作;其他角色对应的网页驱动对象、对应的浏览器页面、对应执行的测试脚本、对应模拟的业务操作的说明与上述角色对应内容的说明类似,在此不作过多赘述。For example, in the above business scenario, there are four roles, and four webpage-driven objects can be pre-built for the four roles to obtain four independent browser pages. At this time, the first role can be driven in the first webpage. Execute the test script corresponding to the first role in the browser page corresponding to the object, that is, the browser page is only responsible for simulating the business operations of the hospital staff in the inpatient department; the second role can drive the browsing corresponding to the object on the second webpage Execute the test script corresponding to the second role on the browser page, that is, the browser page is only responsible for simulating the business operations of the nurses in the inpatient department; The description of the simulated business operation is similar to the description of the content corresponding to the above roles, and will not be repeated here.
在本申请实施例中,可通过执行测试脚本,对多个浏览器页面中的多个角色的业务操作进行内容测试、界面测试、功能测试、性能测试、兼容性测试、安全性测试等,在本申请实施例中不作具体限制。通过测试结果可以尽可能地多发现多个角色的业务操作对应的浏览器端和服务器端程序中的错误并及时加以修正,以保证多个角色的业务操作对应的程序的质量。In this embodiment of the present application, content testing, interface testing, function testing, performance testing, compatibility testing, security testing, etc. may be performed on the business operations of multiple roles in multiple browser pages by executing test scripts. There is no specific limitation in the embodiments of the present application. Through the test results, as many errors as possible in the browser-side and server-side programs corresponding to the business operations of multiple roles can be found and corrected in time to ensure the quality of the programs corresponding to the business operations of multiple roles.
本申请实施例提供的一种网页程序测试方法,通过获取多个角色对应的测试脚本,多个角色对应的测试脚本为预设网页程序中多个角色的业务操作对应的测试脚本,由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在多个浏览器页面中分别执行多个角色对应的测试脚本,得到多个角色对应的测试结果,使得多个角色之间的操作和测试互不影响,不需要在多个角色业务场景的测试中频繁进行不同角色和系统之间的切换,可有效提高测试效率,同时,每个角色都在对应的浏览器中独立操作与测试,若存在某个角色流程执行出错,不会影响其他角色,使得测试脚本的健壮性得以提高,并且,若某个角色的业务操作处于多个业务场景中,在对多个业务场景中的该角色进行测试时,可以复用该角色对应的测试脚本,提高了测试脚本的可复用性。In a web page program testing method provided by an embodiment of the present application, by acquiring test scripts corresponding to multiple roles, the test scripts corresponding to the multiple roles are the test scripts corresponding to the business operations of the multiple roles in the preset web page program. multiple webpage-driven objects, open multiple browser pages at the same time, and execute the test scripts corresponding to multiple roles in multiple browser pages respectively, and obtain the test results corresponding to multiple roles, so that the operation between multiple roles It does not affect each other with the test, and does not need to frequently switch between different roles and systems in the test of multiple role business scenarios, which can effectively improve the test efficiency. At the same time, each role is independently operated and tested in the corresponding browser. , if there is a role process execution error, it will not affect other roles, so that the robustness of the test script can be improved, and if the business operation of a role is in multiple business scenarios, the When a role is tested, the test script corresponding to the role can be reused, which improves the reusability of the test script.
在上述图1所示的一种网页程序测试方法的基础上,本申请实施例还提供了一种开启多个浏览器页面的实现方法。可选地,上述方法S102,由预先构建的多个网页驱动对象,同时开启多个浏览器页面,包括:由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面。On the basis of the web page program testing method shown in FIG. 1 , an embodiment of the present application further provides an implementation method for opening multiple browser pages. Optionally, in the above method S102, using multiple pre-built web pages to drive objects and simultaneously opening multiple browser pages includes: using multiple web pages to drive objects, respectively using multiple debugging ports, and simultaneously opening multiple browser pages.
在多个角色业务场景中,若对浏览器不进行任何设置,则在单台服务器上,构建多个网页驱动对象后,每个浏览器页面打开时都会自动关闭之前启动的浏览器页面并重新启动浏览器,使得最终只能得到一个最新打开的浏览器页面,另外多个角色对应的浏览器页面都依次被关闭,因此,无法达到同时开启多个浏览器页面,这是由于使用WebDriver类构建的多个网页驱动对象,每次都会以同一个默认的调试端口开启浏览器,使得无法同时开启多个浏览器页面。因此,多个网页驱动对象需分别采用多个调试端口,才可同时开启多个浏览器页面,进而在多个浏览器页面中分别执行多个角色对应的测试脚本。In a multi-role business scenario, if you do not configure any browser settings, on a single server, after building multiple webpage-driven objects, each browser page will automatically close the previously launched browser page and restart the Start the browser, so that only one newly opened browser page can be finally obtained, and the browser pages corresponding to multiple roles are closed in turn. Therefore, it is impossible to open multiple browser pages at the same time. This is because the WebDriver class is used to build The multiple webpage-driven objects of , will open the browser with the same default debug port every time, making it impossible to open multiple browser pages at the same time. Therefore, multiple webpage-driven objects need to use multiple debug ports respectively, so that multiple browser pages can be opened at the same time, and then test scripts corresponding to multiple roles are respectively executed in the multiple browser pages.
多个浏览器页面可对应多个调试端口,并且,每个浏览器页面的调试端口与其它调试端口不同。示例地,上述多个角色业务场景中,存在四个角色,即同时打开四个互相独立的浏览器页面,若第一个角色对应第一个浏览器页面,第二个角色对应第二个浏览器页面,第三个角色对应第三个浏览器页面,第四个角色对应第四个浏览器页面,其中,第一个浏览器页面对应的调试端口可为9000,第二个浏览器页面对应的调试端口可为9001,第三个浏览器页面对应的调试端口可为9002,第四个浏览器页面对应的调试端口可为9003,可以理解的是,该调试端口的表述仅为示例,在本申请实施例中不作具体限制。Multiple browser pages may correspond to multiple debug ports, and the debug port of each browser page is different from other debug ports. For example, in the above multiple roles business scenario, there are four roles, that is, four independent browser pages are opened at the same time. If the first role corresponds to the first browser page, the second role corresponds to the second browser page. browser page, the third role corresponds to the third browser page, and the fourth role corresponds to the fourth browser page, wherein the debugging port corresponding to the first browser page can be 9000, and the second browser page corresponds to The debug port can be 9001, the debug port corresponding to the third browser page can be 9002, and the debug port corresponding to the fourth browser page can be 9003. There is no specific limitation in the embodiments of the present application.
本申请实施例提供的一种开启多个浏览器页面的方法,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面,使得多个角色对应的多个浏览器页面的多个调试端口不同,每个浏览器页面打开时不会影响其他浏览器页面,保证多个浏览器可以同时存在,使得多个浏览器之间可以互相独立。In a method for opening multiple browser pages provided by an embodiment of the present application, objects are driven by multiple webpages, and multiple debugging ports are respectively used to open multiple browser pages at the same time, so that multiple browser pages corresponding to multiple roles are enabled. The multiple debug ports of the browser are different, each browser page will not affect other browser pages when opened, ensuring that multiple browsers can exist at the same time, so that multiple browsers can be independent of each other.
在上述实施例的基础上,本申请实施例还提供了另一种开启多个浏览器页面的实现方法。可选地,上述方法,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面,包括:由多个网页驱动对象,分别采用多个调试端口,同时开启同一预设浏览器的多个页面作为多个浏览器页面。其中,多个调试端口为同一预设浏览器的多个调试端口。On the basis of the above embodiments, the embodiments of the present application further provide another implementation method for opening multiple browser pages. Optionally, in the above method, the objects are driven by multiple webpages, respectively use multiple debugging ports, and simultaneously open multiple browser pages, including: driving objects by multiple webpages, respectively using multiple debugging ports, and opening the same preset at the same time. Multiple pages of a browser as multiple browser pages. The multiple debug ports are multiple debug ports of the same preset browser.
在本申请实施例中,该预设浏览器可以为任意一种浏览器。Selenium操作预设浏览器时需要预设浏览器驱动进行协助,其中,预设浏览器驱动可以为实现WebDriver有线协议的一个单独的服务,预设浏览器驱动可以用BrowserDriver进行表示。通过预设浏览器驱动构建一个网页驱动对象webdriver1可为:WebDriver webdriver1=new BrowserDriver(),还可为:BrowserDriver webdriver1=new BrowserDriver(),在本申请实施例中不作具体限制。通过BrowserDriver构建另一个网页驱动对象webdriver2可为:WebDriverwebdriver2=new BrowserDriver(),还可为:BrowserDriver webdriver2=newBrowserDriver(),其他网页驱动对象的构建与上述网页驱动对象的构建方法类似,在此不作过多赘述。In this embodiment of the present application, the preset browser may be any browser. Selenium needs the assistance of a preset browser driver when operating the preset browser, wherein the preset browser driver may be a separate service implementing the WebDriver wired protocol, and the preset browser driver may be represented by BrowserDriver. Constructing a web page driver object webdriver1 by using a preset browser driver may be: WebDriver webdriver1=new BrowserDriver(), or may be: BrowserDriver webdriver1=new BrowserDriver(), which are not specifically limited in the embodiments of the present application. Constructing another webpage driver object webdriver2 through BrowserDriver can be: WebDriverwebdriver2=new BrowserDriver(), and can also be: BrowserDriver webdriver2=newBrowserDriver(), the construction of other webpage driver objects is similar to the construction method of the above webpage driver objects, which will not be described here. More to say.
在本申请实施例中,预设浏览器可以为任意一种浏览器,则预设浏览器对象可以为任意一种浏览器驱动对象,预设浏览器与预设浏览器对象互相对应。In this embodiment of the present application, the preset browser may be any kind of browser, and the preset browser object may be any kind of browser-driven object, and the preset browser and the preset browser object correspond to each other.
本申请实施例提供的一种开启多个浏览器页面的方法,由多个网页驱动对象,分别采用多个调试端口,同时开启同一预设浏览器的多个页面作为多个浏览器页面,其中,多个调试端口为同一预设浏览器的多个调试端口,使得开启的多个浏览器页面可为同一个预设浏览器对应的多个不同调试端口的页面。In a method for opening multiple browser pages provided by an embodiment of the present application, a plurality of webpages are used to drive objects, respectively use multiple debugging ports, and simultaneously open multiple pages of the same default browser as multiple browser pages, wherein , the multiple debug ports are multiple debug ports of the same preset browser, so that the opened multiple browser pages can be pages of multiple different debug ports corresponding to the same preset browser.
在上述实施例的基础上,本申请实施例还提供了另一种开启多个浏览器页面的实现方法。可选地,上述方法,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面,包括:由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器的页面作为多个浏览器页面。其中,多个浏览器为具有同一内核的多个不同的浏览器,多个调试端口为多个浏览器的调试端口。On the basis of the above embodiments, the embodiments of the present application further provide another implementation method for opening multiple browser pages. Optionally, in the above method, a plurality of webpages are used to drive objects, respectively use multiple debugging ports, and simultaneously open multiple browser pages, including: driving objects by multiple webpages, respectively using multiple debugging ports, and opening multiple browser pages at the same time. browser pages as multiple browser pages. Wherein, the multiple browsers are multiple different browsers with the same core, and the multiple debugging ports are the debugging ports of the multiple browsers.
若多个浏览器页面对应的浏览器的类型不同,但是内核相同,在不采用多个调试端口的情况下,每个浏览器页面打开时都会自动关闭之前启动的浏览器页面,因此,需采用多个调试端口,才能同时开启多个浏览器的页面作为多个浏览器页面。If the types of browsers corresponding to multiple browser pages are different, but the kernel is the same, without using multiple debug ports, each browser page will automatically close the previously launched browser page when it is opened. Therefore, it is necessary to use Multiple debug ports are required to open multiple browser pages at the same time as multiple browser pages.
示例地,第一浏览器和第二浏览器为两个内核相同的浏览器,在多个角色业务场景中存在两个角色、两个不同浏览器的页面,该两个不同浏览器的页面可为第一浏览器的页面和第二浏览器的页面,可根据第一浏览器对应的第一浏览器驱动构建其中一个网页驱动对象,根据第二浏览器对应的第二浏览器驱动构建另一个网页驱动对象;若在多个角色业务场景中存在多个角色、多个不同浏览器的页面,该多个不同浏览器的页面中部分个页面可为第一浏览器的页面,其它页面可为第二浏览器的页面,即每一个网页驱动对象都可通过第一浏览器驱动或者第二浏览器驱动进行构建,构建方法如上述实施例所述,在此不作过多赘述。For example, the first browser and the second browser are two browsers with the same core. In a multiple role business scenario, there are two roles and two pages of different browsers. The pages of the two different browsers can be For the page of the first browser and the page of the second browser, one of the webpage-driven objects can be constructed according to the first browser driver corresponding to the first browser, and the other one can be constructed according to the second browser driver corresponding to the second browser. A webpage-driven object; if there are multiple roles and multiple pages of different browsers in multiple role business scenarios, some pages of the multiple pages of different browsers may be pages of the first browser, and other pages may be pages of the first browser. The page of the second browser, that is, each webpage-driven object can be constructed by the first browser driver or the second browser driver, and the construction method is as described in the above-mentioned embodiment, which is not repeated here.
若存在多个内核相同的浏览器,在多个角色业务场景中存在多个角色、多个不同浏览器的页面,每一个网页驱动对象都可通过多个内核相同的浏览器中的任意一个浏览器对应的浏览器驱动进行构建,构建方法如上述实施例所述,在此不作过多赘述。If there are multiple browsers with the same core, there are multiple roles and multiple pages of different browsers in the business scenario of multiple roles, and each webpage-driven object can be browsed through any one of the multiple browsers with the same core. The browser driver corresponding to the browser is used for construction, and the construction method is as described in the above-mentioned embodiment, which is not repeated here.
本申请实施例提供的一种开启多个浏览器页面的方法,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器的页面作为多个浏览器页面,多个浏览器为具有同一内核的多个不同的浏览器,多个调试端口为多个浏览器的调试端口,使得开启的多个浏览器页面可为多个不同浏览器对应的多个不同调试端口的页面。A method for opening multiple browser pages provided by an embodiment of the present application includes multiple webpage-driven objects, using multiple debugging ports respectively, and simultaneously opening multiple browser pages as multiple browser pages. For multiple different browsers with the same kernel, the multiple debugging ports are the debugging ports of multiple browsers, so that the multiple opened browser pages can be pages corresponding to multiple different debugging ports of multiple different browsers.
在上述实施例的基础上,本申请实施例还提供了另一种网页程序测试的实现方法。可选地,上述方法S102之前,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面之前,还包括:根据输入的多个对象创建脚本,构建多个网页驱动对象。其中,每个对象创建脚本中包括:一个调试端口。On the basis of the above embodiments, the embodiments of the present application further provide another implementation method for web page program testing. Optionally, before the above method S102, multiple webpage-driven objects are used respectively, and multiple debug ports are respectively used, and before multiple browser pages are opened at the same time, the method further includes: creating a script according to the input multiple objects, and constructing multiple webpage-driven objects. . Among them, each object creation script includes: a debug port.
图2为本申请实施例提供的一种开启多个浏览器页面方法的流程示意图。如图2所示,该方法包括:FIG. 2 is a schematic flowchart of a method for opening multiple browser pages according to an embodiment of the present application. As shown in Figure 2, the method includes:
S201,根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个调试端口。S201, construct a plurality of webpage-driven objects according to the inputted multiple object creation scripts, and each object creation script includes: a debug port.
在构建网页驱动对象时,由于要指定不同的调试端口,因此,不仅需要通过浏览器对应的浏览器驱动构建,还需要对象创建脚本指定调试端口。When building a webpage-driven object, since different debug ports need to be specified, it is not only necessary to use the browser-driven construction corresponding to the browser, but also the object creation script to specify the debug port.
示例地,Selenium操作浏览器时,通过浏览器驱动BrowserDriver构建一个网页驱动对象webdriver1可为:WebDriver webdriver1=new BrowserDriver(),在此基础上,指定一个调试端口后的构建一个网页驱动对象webdriver1可为:For example, when Selenium operates a browser, the browser driver BrowserDriver to build a web page driver object webdriver1 can be: WebDriver webdriver1=new BrowserDriver(), on this basis, after specifying a debug port to build a web page driver object webdriver1 can be :
BrowserOptions options=new BrowserOptions();BrowserOptions options=new BrowserOptions();
options.setExperimentalOption("debuggerAddress","localhost:9000");options.setExperimentalOption("debuggerAddress","localhost:9000");
WebDriver webdriver1=new BrowserDriver(options);WebDriver webdriver1=new BrowserDriver(options);
其中,BrowserOptions可表示为一个配置浏览器启动属性的类,通过这个类,可以为浏览器配置相关参数,在本申请实施例中,可通过BrowserOptions类创建对应的对象options,可使用setExperimentalOption方法在对象options中设置浏览器的调试端口(debuggerAddress)。在本申请实施例中,使用BrowserOptions类的对象options初始化BrowserDriver,可为网页驱动对象webdriver1设置调试端口9000。Among them, BrowserOptions can be represented as a class that configures browser startup properties. Through this class, relevant parameters can be configured for the browser. In this embodiment of the present application, the corresponding object options can be created through the BrowserOptions class, and the setExperimentalOption method can be used in the object Set the browser's debug port (debuggerAddress) in options. In the embodiment of the present application, the BrowserDriver is initialized by using the object options of the BrowserOptions class, and the debugging port 9000 can be set for the webpage driver object webdriver1.
根据上述方法即可构建一个网页驱动对象,由于通过debuggerAddress指定了浏览器的调试端口,可使用指定调试端口9000开启浏览器页面。使用相同的方法,可以根据多个角色构建多个不同调试端口的网页驱动对象,多个网页驱动对象对应多个不同调试端口的浏览器页面。According to the above method, a webpage-driven object can be constructed. Since the debugging port of the browser is specified through the debuggerAddress, the browser page can be opened using the specified debugging port 9000. Using the same method, multiple webpage-driven objects with different debugging ports can be constructed according to multiple roles, and multiple webpage-driven objects correspond to multiple browser pages with different debugging ports.
S202,由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面。S202 , the objects are driven by multiple webpages, respectively use multiple debugging ports, and simultaneously open multiple browser pages.
上述多个角色业务场景中,存在四个角色,则上述S201中可根据输入的四个对象创建脚本,构建四个网页驱动对象,每个对象创建脚本中包括:一个调试端口,示例地,第一个角色对应的第一个对象创建脚本中的调试端口可以为9000,第二个角色对应的第二个对象创建脚本中的调试端口可以为9001,第三个角色对应的第三个对象创建脚本中的调试端口可以为9002,第四个角色对应的第四个对象创建脚本中的调试端口可以为9003。根据四个角色对应的四个对象创建脚本中的四个不同的调试端口,可构建具有四个不同调试端口的四个网页驱动对象,进而可分别采用四个调试端口,同时开启四个不同调试端口的四个浏览器页面。In the above-mentioned multiple role business scenarios, there are four roles, then in the above-mentioned S201, a script can be created according to the four input objects, and four webpage-driven objects can be constructed, and each object creation script includes: a debugging port, for example, the first The debug port in the first object creation script corresponding to one role can be 9000, the debug port in the second object creation script corresponding to the second role can be 9001, and the third object creation corresponding to the third role The debug port in the script can be 9002, and the debug port in the fourth object creation script corresponding to the fourth role can be 9003. According to the four objects corresponding to the four roles, four different debug ports in the script can be created, four web-driven objects with four different debug ports can be constructed, and four debug ports can be used respectively to enable four different debug ports at the same time. Port of four browser pages.
其中,角色的个数、对象创建脚本的个数、网页驱动对象的个数、调试端口的个数、每个调试端口的表述仅为示例,在本申请实施例中不作具体限制。The descriptions of the number of roles, the number of object creation scripts, the number of webpage-driven objects, the number of debug ports, and each debug port are only examples, and are not specifically limited in the embodiments of the present application.
可选地,在本申请中,还可通过命令行预先开启具有多个不同调试端口的多个浏览器页面,执行多个角色对应的多个测试脚本时,可通过每个测试脚本对应的对象options中设置的浏览器的调试端口,在多个浏览器页面中找到对应调试端口的浏览器页面,并对其进行测试。其中,可通过多个命令行创建多个不同调试端口的同一预设浏览器的浏览器页面,或者是不同调试端口的多个不同浏览器的浏览器页面。若通过一个命令行创建一个调试端口为9000的浏览器的浏览页面,可通过remote-debugging-port指定调试端口,示例地,可通过Browser.exe—remote-debugging-port-9000指定浏览器Browser的浏览页面的调试端口为9000。Optionally, in this application, multiple browser pages with multiple different debugging ports can also be opened in advance through the command line, and when multiple test scripts corresponding to multiple roles are executed, the object corresponding to each test script can be passed. The debug port of the browser set in options, find the browser page corresponding to the debug port in multiple browser pages, and test it. Wherein, multiple browser pages of the same preset browser with different debugging ports, or browser pages of multiple different browsers with different debugging ports can be created through multiple command lines. If you use a command line to create a browser browsing page with a debugging port of 9000, you can specify the debugging port through remote-debugging-port. For example, you can use Browser.exe—remote-debugging-port-9000. The debug port for browsing the page is 9000.
本申请实施例提供的一种开启多个浏览器页面的方法,根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个调试端口,使得可以根据多个角色构建多个不同调试端口的网页驱动对象,分别采用多个不同调试端口,即可同时开启多个不同调试端口的浏览器页面,使得多个角色之间的操作和测试互不影响,可有效提高测试效率,同时,可提高测试脚本的健壮性,并且,测试脚本的可复用性也得到了提高。A method for opening multiple browser pages provided by an embodiment of the present application creates a script according to multiple input objects, and constructs multiple webpage-driven objects, and each object creation script includes: a debugging port, so that the The role builds multiple web-driven objects with different debugging ports, and uses multiple different debugging ports to open multiple browser pages with different debugging ports at the same time, so that the operations and tests between multiple roles do not affect each other, which can effectively The test efficiency is improved, and at the same time, the robustness of the test script can be improved, and the reusability of the test script is also improved.
在上述图1所示的一种网页程序测试方法的基础上,本申请实施例还提供了另一种网页程序测试的实现方法。可选地,上述方法还包括:将每个角色对应的测试结果中的用户数据和缓存数据分别至每个角色所对应网页驱动对象所指定的第一预设地址和第二预设地址中。On the basis of the web page program testing method shown in FIG. 1 , the embodiment of the present application further provides another implementation method for web page program testing. Optionally, the above method further includes: respectively transferring the user data and cached data in the test result corresponding to each role to the first preset address and the second preset address specified by the webpage driving object corresponding to each role.
上述实施例中,可将多个浏览器页面的操作过程进行独立管理,而多个浏览器页面的测试结果中的用户数据和缓存数据并没有分开,因此,在多个浏览器页面中分别执行多个角色对应的测试脚本之前,需要将多个角色在多个浏览器页面中测试产生的测试结果的数据的存储位置进行区分,使得多个浏览器页面中测试产生的数据互相独立,保证了多个浏览器页面的数据独立。其中,每个浏览器页面的测试结果中的数据可包括用户数据和缓存数据。In the above embodiment, the operation processes of multiple browser pages can be independently managed, and the user data and cached data in the test results of multiple browser pages are not separated. Before testing scripts corresponding to multiple roles, it is necessary to distinguish the storage locations of the data of the test results generated by the testing of multiple roles in multiple browser pages, so that the data generated by the tests in multiple browser pages are independent of each other, ensuring that The data of multiple browser pages is independent. The data in the test result of each browser page may include user data and cached data.
每个角色对应的测试结果中的用户数据和缓存数据需在不同的两个文件中进行存储,该不同的两个文件对应两个目录,两个目录对应两个地址,可以为第一预设地址和第二预设地址,即每个角色对应的测试结果中的用户数据和缓存数据,可分别存储至每个角色对应的网页驱动对象指定的第一预设地址和第二预设地址中。可以理解的是,在多个角色业务场景中,多个角色对应的多个网页驱动对象可指定多个第一预设地址和多个第二预设地址,该多个预设地址与多个预设第二地址互不相同。The user data and cached data in the test results corresponding to each role need to be stored in two different files. The two different files correspond to two directories, and the two directories correspond to two addresses, which can be the first preset. The address and the second preset address, that is, the user data and cached data in the test result corresponding to each role, can be stored in the first preset address and the second preset address specified by the webpage driver object corresponding to each role, respectively. . It can be understood that, in multiple role business scenarios, multiple webpage-driven objects corresponding to multiple roles can specify multiple first preset addresses and multiple second preset addresses, the multiple preset addresses and multiple The preset second addresses are different from each other.
本申请实施例提供的另一种网页程序测试的方法,将每个角色对应的测试结果中的用户数据和缓存数据分别存储至每个角色所对应网页驱动对象所指定的第一预设地址和第二预设地址中,使得多个浏览器页面中测试产生的多个用户数据以及多个缓存数据互相独立,保证了多个浏览器页面的数据独立。Another method for web page program testing provided by the embodiment of the present application is to store user data and cached data in the test result corresponding to each role to the first preset address and In the second preset address, the plurality of user data and the plurality of cached data generated by testing in the plurality of browser pages are independent of each other, and the data independence of the plurality of browser pages is ensured.
在上述实施例的基础上,本申请实施例还提供了另一种网页程序测试的实现方法。可选地,上述方法S102之前,由预先构建的多个网页驱动对象,同时开启多个浏览器页面之前,还包括:根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个第一预设地址和一个第二预设地址。On the basis of the above embodiments, the embodiments of the present application further provide another implementation method for web page program testing. Optionally, before the above method S102, the objects are driven by multiple pre-built web pages, and before multiple browser pages are opened at the same time, the method further includes: creating a script according to the input multiple objects, and constructing multiple web page-driven objects, each object The creation script includes: a first preset address and a second preset address.
图3为本申请实施例提供的另一种网页程序测试方法的流程示意图。FIG. 3 is a schematic flowchart of another web page program testing method provided by an embodiment of the present application.
如图3所示,该方法包括:As shown in Figure 3, the method includes:
S301,根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个第一预设地址和一个第二预设地址。S301 , construct a plurality of webpage-driven objects according to a plurality of inputted object creation scripts, and each object creation script includes: a first preset address and a second preset address.
在上述S201每个对象创建脚本中包括一个调试端口的实施例的基础上,每个对象创建脚本中还包括:一个第一预设地址和一个第二预设地址。示例地,Selenium操作浏览器时,根据指定的一个调试端口以及指定的一个第一预设地址和一个第二预设地址,构建一个网页驱动对象webdriver1可为:On the basis of the above embodiment in which each object creation script includes a debug port in S201, each object creation script further includes: a first preset address and a second preset address. For example, when Selenium operates a browser, according to a specified debug port and a specified first preset address and a second preset address, constructing a web page driver object webdriver1 can be:
BrowserOptions options=new BrowserOptions();BrowserOptions options=new BrowserOptions();
options.addArguments("user-data-dir="+"第一预设地址");options.addArguments("user-data-dir="+"first default address");
options.addArguments("disk-cache-dir="+"第二预设地址");options.addArguments("disk-cache-dir="+"second default address");
options.setExperimentalOption("debuggerAddress","localhost:9000");options.setExperimentalOption("debuggerAddress","localhost:9000");
WebDriver webdriver1=new BrowserDriver(options);WebDriver webdriver1=new BrowserDriver(options);
其中,可使用addArguments方法在对象options中设置浏览器的数据存储地址,user-data-dir可为用户数据的存储地址,即第一预设地址,disk-cache-dir可为缓存数据的存储地址,即第二预设地址。Among them, the addArguments method can be used to set the data storage address of the browser in the object options, user-data-dir can be the storage address of user data, that is, the first preset address, disk-cache-dir can be the storage address of cached data , that is, the second preset address.
在本申请实施例中,使用BrowserOptions类的对象options初始化BrowserDriver,即为网页驱动对象webdriver1设置调试端口9000、第一预设地址以及第二预设地址。根据上述方法即可构建一个网页驱动对象,由于通过debuggerAddress指定了浏览器的调试端口,通过user-data-dir指定了用户数据的存储地址,通过disk-cache-dir制定了缓存数据的存储地址,可使用指定调试端口9000开启浏览器页面,通过指定的存储地址存储测试结果中的数据。使用相同的方法,可以根据多个角色构建多个不同调试端口的网页驱动对象,多个网页驱动对象对应多个不同调试端口的浏览器页面以及多个第一预设地址和多个第二预设地址,在保证多个浏览器页面操作和测试互相独立的基础上,保证多个浏览器页面对应的多个测试结果中的数据的独立性。In the embodiment of the present application, the BrowserDriver is initialized by using the object options of the BrowserOptions class, that is, the debug port 9000, the first preset address and the second preset address are set for the webpage driver object webdriver1. According to the above method, a webpage-driven object can be constructed. Since the debugging port of the browser is specified through debuggerAddress, the storage address of user data is specified through user-data-dir, and the storage address of cached data is specified through disk-cache-dir. You can use the designated debugging port 9000 to open the browser page, and store the data in the test results through the designated storage address. Using the same method, multiple web-driven objects with different debugging ports can be constructed according to multiple roles, and multiple web-driven objects correspond to multiple browser pages with different debugging ports, as well as multiple first preset addresses and multiple second preset addresses. The address is set to ensure the independence of data in multiple test results corresponding to multiple browser pages on the basis of ensuring that the operations and tests of multiple browser pages are independent of each other.
S302,由预先构建的多个网页驱动对象,同时开启多个浏览器页面。S302, the object is driven by multiple pre-built web pages, and multiple browser pages are opened simultaneously.
本申请实施例中,根据指定的多个调试端口以及指定的多个第一预设地址和多个第二预设地址,构建多个网页驱动对象,在开启多个浏览器页面的同时,设置了每个浏览器页面对应的测试结果中的用户数据和缓存数据的存储地址,实现了多个浏览器页面中测试产生的多个用户数据以及多个缓存数据的数据存储空间的独立性。In the embodiment of the present application, according to multiple designated debugging ports, multiple designated first preset addresses and multiple designated second preset addresses, multiple webpage-driven objects are constructed, and when multiple browser pages are opened, set the The storage addresses of user data and cached data in the test results corresponding to each browser page are realized, and the independence of the data storage space of multiple user data and multiple cached data generated by testing in multiple browser pages is realized.
本申请实施例提供的另一种网页程序测试的方法,根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个第一预设地址和一个第二预设地址,由预先构建的多个网页驱动对象,同时开启多个浏览器页面,使得在多个浏览器页面互相独立的基础上,多个浏览器页面中测试产生的多个用户数据以及多个缓存数据也互相独立,实现网页程序测试中每个角色测试的完全独立。Another method for web page program testing provided by the embodiment of the present application is to create a script according to multiple input objects to construct multiple web page-driven objects, and each object creation script includes: a first preset address and a second preset address. Set the address, drive objects from multiple pre-built web pages, and open multiple browser pages at the same time, so that on the basis that multiple browser pages are independent of each other, multiple user data and multiple browser pages are tested and generated. The cached data is also independent of each other, which realizes the complete independence of each role test in the web page program test.
在上述本申请实施例中图1、图2、图3提供的网页程序测试方法的基础上,如下结合附图通过一个完整的实施例对网页程序测试方法进行具体解释说明。图4为本申请实施例提供的另一种网页程序测试方法的流程示意图。如图4所示,该方法包括:On the basis of the web page program testing method provided in FIG. 1 , FIG. 2 , and FIG. 3 in the above embodiments of the present application, the web page program testing method is specifically explained by a complete embodiment in conjunction with the accompanying drawings as follows. FIG. 4 is a schematic flowchart of another web page program testing method provided by an embodiment of the present application. As shown in Figure 4, the method includes:
S401,获取多个角色对应的测试脚本。S401, acquiring test scripts corresponding to multiple roles.
该S401的具体实现以及效果描述,参见上述图1中的S101,在此不再赘述。For the specific implementation and effect description of this S401, refer to S101 in the above-mentioned FIG. 1, and details are not repeated here.
S402,根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个调试端口、一个第一预设地址和一个第二预设地址。S402 , construct a plurality of webpage-driven objects according to the inputted multiple object creation scripts, and each object creation script includes: a debugging port, a first preset address and a second preset address.
该S402的具体实现以及效果描述,参见上述图2中的S201以及图3中的S301,在此不再赘述。For the specific implementation and effect description of this S402, refer to S201 in FIG. 2 and S301 in FIG. 3, which will not be repeated here.
S403,由预先构建的多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面,并在多个浏览器页面中分别执行多个角色对应的测试脚本,得到多个角色对应的测试结果。S403: Drive objects by multiple pre-built web pages, respectively use multiple debugging ports, open multiple browser pages at the same time, and execute test scripts corresponding to multiple roles in the multiple browser pages, respectively, to obtain the corresponding test scripts for multiple roles 's test results.
该S403的具体实现以及效果描述,参见上述图2中的S202以及图1中的S102,在此不再赘述。For the specific implementation and effect description of this S403, refer to S202 in FIG. 2 and S102 in FIG. 1, which will not be repeated here.
S404,将每个角色对应的测试结果中的用户数据和缓存数据分别存储至每个角色所对应网页驱动对象所指定的第一预设地址和第二预设地址中。S404: Store the user data and cached data in the test result corresponding to each role in the first preset address and the second preset address specified by the webpage driving object corresponding to each role, respectively.
该S403的具体实现以及效果描述,参见上述实施例,在此不再赘述。For the specific implementation and effect description of the S403, refer to the above-mentioned embodiments, and details are not repeated here.
下述对用以执行的本申请所提供的一种网页程序测试装置、设备以及存储介质进行说明,其具体的实现过程以及技术效果参见上述,下述不再赘述。The following describes a webpage program testing apparatus, device and storage medium provided by the present application for execution. The specific implementation process and technical effects thereof are referred to above, and will not be repeated below.
图5为本申请实施例提供的一种网页程序测试装置的示意图,如图5所示,该网页程序测试装置包括:FIG. 5 is a schematic diagram of a webpage program testing apparatus provided by an embodiment of the present application. As shown in FIG. 5 , the webpage program testing apparatus includes:
获取模块501,用于获取多个角色对应的测试脚本,其中,多个角色对应的测试脚本为预设网页程序中多个角色的业务操作对应的测试脚本。The acquiring
执行模块502,用于由预先构建的多个网页驱动对象,同时开启多个浏览器页面,并在多个浏览器页面中分别执行多个角色对应的测试脚本,得到多个角色对应的测试结果。The
可选地,执行模块502,还用于由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器页面。Optionally, the
可选地,执行模块502,还用于由多个网页驱动对象,分别采用多个调试端口,同时开启同一预设浏览器的多个页面作为多个浏览器页面;多个调试端口为同一预设浏览器的多个调试端口。Optionally, the
可选地,执行模块502,还用于由多个网页驱动对象,分别采用多个调试端口,同时开启多个浏览器的页面作为多个浏览器页面;多个浏览器为具有同一内核的多个不同的浏览器,多个调试端口为多个浏览器的调试端口。Optionally, the
可选地,执行模块502,还用于根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个调试端口。Optionally, the
存储模块503,用于将每个角色对应的测试结果中的用户数据和缓存数据分别存储至每个角色所对应网页驱动对象所指定的第一预设地址和第二预设地址中。The
可选地,执行模块502,还用于根据输入的多个对象创建脚本,构建多个网页驱动对象,每个对象创建脚本中包括:一个第一预设地址和一个第二预设地址。Optionally, the
以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(digital singnal processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(CentralProcessing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,简称SOC)的形式实现。The above modules may be one or more integrated circuits configured to implement the above method, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), or one or more microprocessors (digital singnal) processor, DSP for short), or one or more Field Programmable Gate Array (Field Programmable Gate Array, FPGA for short), etc. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).
图6为本申请实施例提供的一种计算机设备的示意图,该计算机设备可以是具备计算处理功能的计算设备或服务器。FIG. 6 is a schematic diagram of a computer device according to an embodiment of the present application, where the computer device may be a computing device or a server with a computing processing function.
该计算机设备包括:处理器601、存储介质602、总线603。处理器601和存储介质602通过总线603连接。The computer device includes: a
存储介质602用于存储程序,处理器601调用存储介质602存储的程序,以执行上述方法实施例。具体实现方式和技术效果类似,这里不再赘述。The
可选地,本发明还提供一种程序产品,例如计算机可读存储介质,包括程序,该程序在被处理器执行时用于执行上述方法实施例。Optionally, the present invention further provides a program product, such as a computer-readable storage medium, including a program, which is used to execute the above method embodiments when executed by a processor.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software function unit is stored in a storage medium, and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present invention. part of the method. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc. Various media that can store program code.
上仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art who is familiar with the technical scope disclosed in the present application can easily think of changes or replacements, which should be covered within the scope of the present application. within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210523320.XACN114817059A (en) | 2022-05-13 | 2022-05-13 | Web page program testing method, device, equipment and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210523320.XACN114817059A (en) | 2022-05-13 | 2022-05-13 | Web page program testing method, device, equipment and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN114817059Atrue CN114817059A (en) | 2022-07-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210523320.XAPendingCN114817059A (en) | 2022-05-13 | 2022-05-13 | Web page program testing method, device, equipment and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN114817059A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115426304A (en)* | 2022-11-07 | 2022-12-02 | 易方信息科技股份有限公司 | Multi-role live broadcast interactive test method, device, medium and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103927253A (en)* | 2013-01-11 | 2014-07-16 | 阿里巴巴集团控股有限公司 | Multiple browser compatibility testing method and system |
| US8875102B1 (en)* | 2009-03-12 | 2014-10-28 | Google Inc. | Multiple browser architecture and method |
| CN110442524A (en)* | 2019-08-09 | 2019-11-12 | 中国建设银行股份有限公司 | It is a kind of for have Certificate Authority web service interface test method and device |
| CN110704304A (en)* | 2019-09-06 | 2020-01-17 | 平安普惠企业管理有限公司 | Application program testing method and device, storage medium and server |
| CN112506785A (en)* | 2020-12-15 | 2021-03-16 | 杭州电魂网络科技股份有限公司 | Automatic testing method, device, equipment and medium for login of Html5 game page |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8875102B1 (en)* | 2009-03-12 | 2014-10-28 | Google Inc. | Multiple browser architecture and method |
| CN103927253A (en)* | 2013-01-11 | 2014-07-16 | 阿里巴巴集团控股有限公司 | Multiple browser compatibility testing method and system |
| CN110442524A (en)* | 2019-08-09 | 2019-11-12 | 中国建设银行股份有限公司 | It is a kind of for have Certificate Authority web service interface test method and device |
| CN110704304A (en)* | 2019-09-06 | 2020-01-17 | 平安普惠企业管理有限公司 | Application program testing method and device, storage medium and server |
| CN112506785A (en)* | 2020-12-15 | 2021-03-16 | 杭州电魂网络科技股份有限公司 | Automatic testing method, device, equipment and medium for login of Html5 game page |
| Title |
|---|
| SNOWY_TINGTING: "Selenium并行启动多个浏览器", pages 1 - 2, Retrieved from the Internet <URL:https://blog.csdn.net/snowy_tingting/article/details/46125669>* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115426304A (en)* | 2022-11-07 | 2022-12-02 | 易方信息科技股份有限公司 | Multi-role live broadcast interactive test method, device, medium and electronic equipment |
| Publication | Publication Date | Title |
|---|---|---|
| JP6210978B2 (en) | Automatic conversion and code generation for user interface objects | |
| Neamtiu et al. | Cloud software upgrades: Challenges and opportunities | |
| TWI594600B (en) | Network switch and method of updating a device using a network switch | |
| JP5821678B2 (en) | Web service for automatic compatibility check independent of web application browser | |
| CA2846747C (en) | Portal for automatic software installation and configuration | |
| US20130185402A1 (en) | Method and apparatus for developing service processor solutions | |
| CN108845946B (en) | A terminal, debugging system and terminal debugging method | |
| JP2022536061A (en) | BASEBOARD MANAGEMENT CONTROLLER AND ITS CONSTRUCTION METHOD | |
| AU2014238181A1 (en) | System and method for providing a user interface to remotely control medical devices | |
| CN113485927B (en) | Test data generation method, device, equipment and storage medium | |
| CN103597464A (en) | Techniques for Adapting Interpreted Runtime Applications to Multiple Clients | |
| Mohamed et al. | Extensible persistence as a service for containers | |
| CN112099916B (en) | Virtual machine data migration method and device, computer equipment and storage medium | |
| CN114817059A (en) | Web page program testing method, device, equipment and storage medium | |
| CN117194306A (en) | Equipment information display method and system | |
| CN116662123A (en) | Server component monitoring method, device, electronic equipment and storage medium | |
| US20190108110A1 (en) | System and method for automated integration and stress testing of hardware and software service in management controller using containerized toolbox | |
| WO2021212636A1 (en) | Form page generation method and device, terminal, and storage medium | |
| US20160026602A1 (en) | Method and System for Communication of Device Information | |
| CN113220507B (en) | Version consistency checking method and device for double-master control system | |
| CN115878414B (en) | Information transparent transmission method, device and equipment of monitoring system and storage medium | |
| WO2024066638A1 (en) | Remote assistance method and apparatus, electronic device, cloud desktop server, and medium | |
| JP7728866B2 (en) | Accelerated Non-Volatile Memory Device Inspection and Forensics | |
| US20150074231A1 (en) | Dynamic help pages using linked data | |
| Callaghan | Cloud computing for metagenomics: building a personalized computational platform for pipeline analyses |
| 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 |