Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device used for automatically testing high-privilege progress by designated user

A technology for automated testing and designated users, applied in the Internet field, can solve problems such as inability to complete interactive operations, inconsistencies in the test environment and end user environment, and achieve the effects of optimizing automated testing methods, enriching automated testing scenarios, and avoiding call failures

Active Publication Date: 2015-06-10
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the second solution is to solve some permission problems by turning off UAC, but the second solution will cause the test environment to be inconsistent with the end user environment, and, even if UAC is turned off, the current user permissions are lower than the test process permissions. In some cases, some interactive operations between the automation program and the test process, such as window sending messages, process memory reading and writing, etc., still cannot be completed

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device used for automatically testing high-privilege progress by designated user
  • Method and device used for automatically testing high-privilege progress by designated user
  • Method and device used for automatically testing high-privilege progress by designated user

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] figure 1 It shows a schematic flowchart of a method for a designated user to automate the testing of a high-privilege process according to an embodiment of the present invention, wherein the user testing authority required by the high-privilege process is higher than the testing authority of the specified user, such as figure 1 As shown, the method includes the following steps:

[0041] Step S100, after logging in to the sy...

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

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device used for automatically testing high-privilege progress by a designated user. The user's testing privilege required by the high-privilege progress is higher than the testing privilege of the designated user. The method includes: after the designated user logins a system, copying a privilege escalation tool to a system directory, and enabling the high-privilege progress to have the required user's testing privilege; executing a testing case of the high-privilege progress; judging whether calling of a system interface corresponding to the testing case requires execution of the designated user or not; if yes, simulating the designated user, and calling the system interface corresponding to the testing case via the simulated designated user. The method and the device used for automatically testing the high-privilege progress by the designated user have the advantages that the problem of requiring high privilege during testing is solved simply and effectively, failure in system interface calling after privilege escalation is avoided, the automatic testing scene is enriched, and the automatic testing method is optimized.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for a designated user to automatically test a high-authority process. Background technique [0002] Process testing refers to testing a system or program under preset conditions to evaluate the operating results of the system or program. At present, most of the automated test processes are executed by the Administrator administrator user, because the Administrator administrator user has higher authority, which can ensure that there is sufficient authority to operate commonly used system resources during the execution of the test process. Among them, some automated tests are required to be carried out under special test conditions. For example, the test logic not only requires the user to perform automated tests, but also requires the test process to have higher permissions than the current user, such as the permissions of the System user. Such test condi...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 刘双
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products