Method and device for automatically setting WEB page UTC time zone of BMC

A time zone and page technology, which is applied in the field of automatically setting the UTC time zone of BMC's WEB page, can solve the problems of time-consuming, labor-intensive, long-time-consuming, and difficulty in resetting, and achieve the effects of simple structure, guaranteed product quality, and reliable design principles

Inactive Publication Date: 2019-09-03
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The UTC time zone test is set manually on the traditional server web interface, which requires testers to track the whole process during the manual test. Since the BMC takes a long time to set the UTC time zone, it becomes a time-consuming test in the BMC test, and the test is extremely time-consuming and labor-intensive. , and there is no log as a record in the whole process, it is difficult to follow up

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 for automatically setting WEB page UTC time zone of BMC
  • Method and device for automatically setting WEB page UTC time zone of BMC
  • Method and device for automatically setting WEB page UTC time zone of BMC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Such asfigure 1 As shown, the present invention provides a kind of method that the WEB page UTC time zone of BMC is set automatically, comprises the steps:

[0065] S1. Start the test script;

[0066] S2. The test script automatically sets the test environment; the test script automatically introduces a WEB plug-in, and the WEB plug-in includes an Alert box plug-in, an element location plug-in, an Alert exception handling plug-in, a WebDriver plug-in, a Web element plug-in and a browser plug-in;

[0067] S3. The test script automatically opens the web browser and logs in to the WEB page of the BMC;

[0068] S4. The test script automatically sets the UTC time zone;

[0069] S5. The test script outputs the test result, saves the test log, and ends the test.

Embodiment 2

[0071] Such as figure 2 As shown, the present invention provides a kind of method that the WEB page UTC time zone of BMC is set automatically, comprises the steps:

[0072] S1. Start the test script; the specific steps are as follows:

[0073] S11. Obtain the name of the test script;

[0074] S12. Obtain test script parameters;

[0075] S13. run the test script according to the test script name and the test script parameter under the command line CMD by the Java virtual running tool;

[0076] S2. The test script automatically sets the test environment; the test script automatically introduces a WEB plug-in, and the WEB plug-in includes an Alert box plug-in, an element location plug-in, an Alert exception handling plug-in, a WebDriver plug-in, a Web element plug-in and a browser plug-in;

[0077] S3. The test script automatically opens the web browser and logs in to the WEB page of BMC; the specific steps are as follows:

[0078] S31. The test script judges whether there i...

Embodiment 3

[0093] The present invention provides a kind of method for automatically setting the WEB page UTC time zone of BMC, comprises the following steps:

[0094] S1. Start the test script; the specific steps are as follows:

[0095] S11. Obtain the name of the test script;

[0096] S12. Obtain test script parameters;

[0097] S13. run the test script according to the test script name and test script parameters under the command line CMD by the Java virtual running tool; the script name is a JAVA file with a suffix of .jar;

[0098] S2. The test script automatically sets the test environment; the test script automatically introduces a WEB plug-in, and the WEB plug-in includes an Alert box plug-in, an element location plug-in, an Alert exception handling plug-in, a WebDriver plug-in, a Web element plug-in and a browser plug-in; through the following codes:

[0099] import org.openqa.selenium.Alert;

[0100] import org.openqa.selenium.By;

[0101] import org.openqa.selenium.NoAlert...

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 provides a method and device for automatically setting a WEB page UTC time zone of a BMC. The method comprises the following steps that S1, a test script is started; S2, the test scriptautomatically sets a test environment; S3, the test script automatically opens a webpage browser and logs in a WEB page of the BMC; S4, the test script automatically sets a UTC time zone; and S5, a test result is outputted by the test script, a test log is stored, and the test is ended. The device comprises a test script starting module, a test environment setting module, a BMC WEB page login module, a UTC time zone setting module and a test result output module. According to the testing script, the browser is opened through the WebDriver, the page element positioning is utilized to realize the automatic setting of the UTC time zone on the WEB page of the BMC, the testing efficiency is improved, the manpower resources are saved, and the product quality is guaranteed.

Description

technical field [0001] The invention belongs to the technical field of server testing, and in particular relates to a method and a device for automatically setting the UTC time zone of a WEB page of a BMC. Background technique [0002] Setting the UTC time zone test on the BMC web page is the most common and easiest way to refresh the BMC. Setting the UTC time zone through NTP can synchronize the computer with its server or clock source, which can provide high-precision time correction and prevent malicious Protocol attack. Therefore, the BMC Web setting UTC time zone test is the most important part of the BMC test. The UTC time zone test is set manually on the traditional server web interface, which requires testers to track the whole process during the manual test. Since the BMC takes a long time to set the UTC time zone, it becomes a time-consuming test in the BMC test, and the test is extremely time-consuming and labor-intensive. , and there is no log as a record of th...

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): G06F1/12G06F1/14G06F11/36
CPCG06F1/12G06F1/14G06F11/3668
Inventor 王兆贤崔新辉
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products