CN108763066A - A kind of natural language test script edit methods of word slot design and test machine people - Google Patents

A kind of natural language test script edit methods of word slot design and test machine people Download PDF

Info

Publication number
CN108763066A
CN108763066A CN201810460213.0A CN201810460213A CN108763066A CN 108763066 A CN108763066 A CN 108763066A CN 201810460213 A CN201810460213 A CN 201810460213A CN 108763066 A CN108763066 A CN 108763066A
Authority
CN
China
Prior art keywords
test
control
resourceid
script
word
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.)
Pending
Application number
CN201810460213.0A
Other languages
Chinese (zh)
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.)
Nanjing Xuan Ji Information Technology Co Ltd
Original Assignee
Nanjing Xuan Ji Information Technology 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 Nanjing Xuan Ji Information Technology Co Ltd filed Critical Nanjing Xuan Ji Information Technology Co Ltd
Priority to CN201810460213.0A priority Critical patent/CN108763066A/en
Publication of CN108763066A publication Critical patent/CN108763066A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases

Abstract

The present invention relates to a kind of natural language test script edit methods of word slot design and test machine people.Wherein the test method includes the following steps:Test script is write according to the business demand of tested software, word slot is set in test script;According to the word slot being set in the test script, prepare multigroup test data;One of which or multigroup test data are selected, is substituted into the word slot of test script, forms executable test script;The test script is sent to running equipment operation to test the tested software.It detaches test data with test script, so as to individually enter test data.And natural language input may be used in test data and test script, requires user's technology low, reduction software test difficulty, is convenient for the integration of test data and test case, raising testing efficiency.

Description

A kind of natural language test script edit methods of word slot design and test machine people
Technical field
The present invention relates to software testing technology field, the natural language test script editing side of specifically a kind of word slot design Method and test machine people.
Background technology
Software test is to ensure that a kind of means of quality.Along with the spring tide of internet economy, each company is all expanding From the business in mobile terminal, it is ensured that the quality of mobile App must obtain enough attention.On the other hand, the test of software at This is big be also one need in face of the problem of, many newly formed little companies, if insufficient funds, it is difficult to software test this One piece is done enough work.On the other hand, if test is insufficient, the market that software quality problem flows into, the cost of solution will It can not estimate.So many companies will encounter this contradiction, it is in a dilemma in the input of software test.
Traditional testing process, test expert first writes test plan, then carries out demand analysis, writes test case, accurate Standby test environment, finally executes, and the replacement of test case is required for modifying to former test script every time, expends the time And technology requires height.
Invention content
The purpose of the present invention is to provide a kind of test machine people test case construction methods, to solve above-mentioned background technology The problem of middle proposition.
To achieve the above object, the present invention provides the following technical solutions:
A kind of natural language test script edit methods of word slot design, include the following steps:
Test script is write according to the business demand of tested software, and word slot is set in the test script;
According to the word slot being set in the test script, prepare multigroup test data;
One of which or multigroup test data are selected, is substituted into the word slot of test script, forms executable test Script;
The test script is sent to running equipment operation to test the tested software.
In the natural language test script edit methods of the word slot design of one of embodiment, the quantity of institute's predicate slot is It is multiple.
In the natural language test script edit methods of the word slot design of one of embodiment, write by Chinese described Test script, and execute content and include:Click control, input word, sliding control, pull control, condition waiting, check post, Sectional drawing returns to last layer.
In the natural language test script edit methods of the word slot design of one of embodiment, realized by Chinese script Clicking operation, including:
By Image click { the sectional drawing filename of control } the upper left corner or the upper right corner or the lower right corner or the lower left corner, Or intermediate;
{ sequence number } a { the display word of control } is clicked by OCR;
[{ coordinate x-axis }, { coordinate y-axis }] is clicked by position;
{ sequence number } a child control of { control ResourceID attribute values } is clicked by ResourceID;
{ control ResourceID attribute values } is clicked by ResourceID;
{ control Text attributes } is clicked by Text.
It is described to pass through Chinese script in the natural language test script edit methods of the word slot design of one of embodiment Realize slide, including:
Constantly { upper or under or left or right } is sliding, until finding { control ResourceID attributes by ResourceID Value } occur;
Constantly { upper or under or left or right } is sliding, until finding that { control Text attribute values } occurs by Text;
Constantly { upper or under or left or right } is sliding, until finding that { the display word of control } occurs by OCR;
Constantly { upper or under or left or right } is sliding, until finding that { the sectional drawing filename of control } occurs by Image;
By Image from { upper left corner or the upper right corner or the lower right corner or lower-left of the sectional drawing filename of control { starting } Angle or centre } slide into the sectional drawing filename of target widget the upper left corner or the upper right corner or the lower right corner or the lower left corner or It is intermediate };
By OCR { sequence number } a { target is slided into from { sequence number } a { the display word of starting control } The display word of control };
By ResourceID { target widget ResourceID categories are slided into from { starting control ResourceID attribute values } Property value };
It is slided into { target widget Text attribute values } from { starting control Text attribute values } by Text;
By position [{ coordinate of ground point x-axis }, { mesh are slided into from [{ starting point coordinate x-axis }, { starting point coordinate y-axis }] Punctuate coordinate y-axis }].
It is described to pass through Chinese script in the natural language test script edit methods of the word slot design of one of embodiment The drag operation of realization, including:
By Image from { upper left corner or the upper right corner or the lower right corner or lower-left of the sectional drawing filename of control { starting } Angle or centre } be dragged to { the sectional drawing filename of target widget } the upper left corner or the upper right corner or the lower right corner or the lower left corner or It is intermediate };
By OCR { sequence number } a { target is dragged to from { sequence number } a { the display word of starting control } The display word of control };
By ResourceID { target widget ResourceID categories are dragged to from { starting control ResourceID attribute values } Property value };
It is dragged to { target widget Text attribute values } from { starting control Text attribute values } by Text.
In the natural language test script edit methods of the word slot design of one of embodiment, realized by Chinese script Input operation, including:
Short message verification code is inputted to { control ResourceID attribute values } by ResourceID;
Short message verification code is inputted to { sequence number } a { the display word of control } by OCR;
{ control ResourceID attribute values } is arrived by ResourceID inputs { needing the word inputted };
{ control Text attributes } is arrived by Text inputs { needing the word inputted };
Pass through OCR inputs { needing the word inputted } to { sequence number } a { the display word of control };
{ needing the soft keyboard character inputted } is clicked by soft keyboard.
By Chinese script realize etc. it is to be operated, including:
Wait for { time figure } s;
It waits for { control ResourceID attribute values } to occur by ResourceID, at most waits for { time figure } s;
It waits for { control Text attribute values } to occur by Text, at most waits for { time figure } s;
It waits for { the display word of control } to occur by OCR, at most waits for { time figure } s;
It waits for { the sectional drawing filename of control } to occur by Image, at most waits for { time figure } s;
The check post realized by Chinese script operates:
By ResourceID verifications { control ResourceID attribute values } with the presence or absence of-[{ check post title }];
By Text verifications { control Text attributes } with the presence or absence of-[{ check post title }];
{ the sectional drawing filename of control is verified by Image;With the presence or absence of-[{ check post title }];
By OCR verifications { the display word of control } with the presence or absence of-[{ check post title }];
Whether the value that { control ResourceID attribute values } is verified by ResourceID is { control Text attribute values }- [{ check post title }].
Based on same inventive concept, a kind of test machine of the natural language test script edit methods of word slot design is also provided Device people carries out test script using the natural language test script edit methods of the word slot design described in aforementioned any embodiment It writing, and after writing test script, test machine people can automatically analyze the word slot in the test script of every test case, The database of test data is dumped to, and can provide and increase in individual test data administration page, delete, searching, modification Operation.
In the test machine people of the natural language test script edit methods of the word slot design of one of embodiment, test Script and test data are isolation, and the script of a test case can have multigroup test data.
The natural language test script edit methods of the word slot design of the present invention can be according to quilt when editing test script Word slot is arranged in the business demand of test software, subsequently can complete test script by institute's predicate slot input test data.It will test Data are detached with test script, so as to individually enter test data.It, can be directly to word slot when needing to change test script In data modify, and this method automatically integrates the test data of input with test script other parts, is formed Executable test script.Therefore, after writing test script according to business demand, utilization, and test script be can be repeated several times Natural language input may be used, it is low to the requirement of user's technology, software test difficulty is reduced, convenient for test data and test use The integration of example improves testing efficiency.
Description of the drawings
Fig. 1 is the flow chart of the natural language test script edit methods of embodiment word slot design;
Fig. 2 is the business spectrogram of an embodiment tested software.
Fig. 3 is that the test machine people of the natural language test script edit methods using the design of word slot of an embodiment is System frame diagram.
Specific implementation mode
The technical solution of this patent is described in more detail With reference to embodiment.
Referring to Fig. 1, the natural language test script edit methods of the word slot design of an embodiment include the following steps:
S100 writes test script according to the business demand of tested software, and word is arranged in the test script Slot.
The business demand refers to the demand for the function of realizing tested software, as shown in Fig. 2, a banking system software In function include the functions such as registering, logging in, inquiring, transferring accounts.2. registration, which needs 1. to input user name, cell-phone number, password, to be clicked Registration.It then needs that word slot is arranged in user name position, cell-phone number position and password position.It is logged in then registering and needs 1. to input use 2. name in an account book, password click login.It is same to log in the word slot that need user name and password are set in test script.Inquiry needs 1. to beat 2. that opens me selects my bank card, and select wherein one, 3. clicks and queries the balance.Setting silver is then needed in the query function The word slot of row card number can allow to input multiple bank's card numbers.It transfers accounts and needs 1. to input other side's name, bank card information, phone 2. number selects to produce card, 3. the input amount of money is submitted, input identifying code, confirmation is transferred accounts.Function of transferring accounts then need other side's name, Bank card information and amount of money equipotential install word slot, for editor test case when in word slot input test data.
S200 prepares multigroup test data according to the word slot being set in the test script.Such as above-mentioned (user name, password) word slot, namely (user_name, user_password) can prepare multigroup test data:"name1", "password1";"name2","password2".
S300 selects one of which or multigroup test data, is substituted into the word slot of test script, is formed executable Test script.
It should be noted that the natural language test script edit methods of this word slot design can be in a manner of test software Operation, can directly test tested software using the test software.Then test data is substituted into test by the step It is a kind of process executed automatically in script, after user's input test data, the test software of this method can automatically will be defeated The test data entered is substituted into the position of equivalent slot in script, to make entire test script constitute completely executable test Script.
By taking registration as an example, test script write and the setting of word slot is as follows:
Need the sentence in using script edit to illustrate:
{ control ResourceID attribute values } is arrived by ResourceID inputs { needing the word inputted };
{ control ResourceID attribute values } is clicked by ResourceID;
The script actually write is as follows:
Com.jianshu.haruki is arrived by ResourceID inputs { user_phone }:id/et_tel;
Com.jianshu.haruki is arrived by ResourceID inputs { user_password }:id/et_password;
Com.jianshu.haruki is clicked by ResourceID:id/btn_register_1 user_phone\ User_password is exactly word slot, after analyzing test case, analyzes the two word slots to come automatically, and in test data Administration page displaying and input test data.
Multigroup test data can be inputted for the two word slots, such as:①15906217298\123456② 15711320734\123456。
Test script is sent to running equipment operation and tested tested software by S400.
The running equipment includes the ends PC, the mobile terminals such as smart mobile phone, and can all be installed in advance in these running equipments needs Test script is sent to running equipment by the software tested, this method, and operation tested software is controlled by running equipment.
In specific implementation process, transmittable natural language, Chinese test script, will be with word slots by controller to controller Chinese test script script and test data be combined and constitute executable test script and constitute executable test script. For example, the test script, can be sent to the controller of every mobile phone, controller by a kind of APP being installed to mobile phone terminal It is the computer that an operating system is Linux, is responsible for control mobile phone, pacifies loading, unloading App, executes automation etc. operation.
Chinese script executes program and then stores in the controller, once Chinese script is received, script will be read and is divided The action of each step of script is analysed, extracts test data, and action and data are converted into the program instruction that mobile phone can understand and sent out It is sent on mobile phone and executes.
The present embodiment word slot design natural language test script edit methods designed by word slot, by test data with Test script detaches, so as to individually enter test data.It, can be directly to the number in word slot when needing to change test case According to modifying, and this method automatically integrates the test data of input with test script other parts, is formed executable Test script.Therefore, after writing test script according to business demand, utilization, and test data and test be can be repeated several times Natural language input may be used in script, requires user's technology low, reduces software test difficulty, convenient for test data and The integration of test case improves testing efficiency.
It should be noted that according to the business demand of tested software, the quantity of the word slot being arranged in test script has more It is a.And according to the word slot being set in test script, when preparing corresponding test data, to same word slot prepare two with Upper corresponding test data.
In the scripting editing method of this implementation, user can input multigroup test data as needed, then constitute more A test case, thus when test script is subsequently sent to running equipment, it can be corresponding by multiple test cases simultaneously Test script is sent to different running equipment operations.The test of different test datas is carried out at the same time to tested software.Test More comprehensively, testing efficiency higher.
In the execution of previous automatic test, it has been required to which special people goes to write test script, and coder Member needs to have the ability of written in code, and common programming language is java, python, c++ etc., and these programming languages cause Not the problem of not allowing easy to get started using automation.
In the method, Chinese can be used to write the grammer of script.Concrete syntax is as follows:
Input:
Short message verification code is inputted to { control ResourceID attribute values } by ResourceID
Short message verification code is inputted to { sequence number } a { the display word of control } by OCR
{ control ResourceID attribute values } is arrived by ResourceID inputs { needing the word inputted }
{ control Text attributes } is arrived by Text inputs { needing the word inputted }
Pass through OCR inputs { needing the word inputted } to { sequence number } a { the display word of control }
{ needing the soft keyboard character inputted } is clicked by soft keyboard
It waits for:
Wait for { time figure } s
It waits for { control ResourceID attribute values } to occur by ResourceID, at most waits for { time figure } s
It waits for { control Text attribute values } to occur by Text, at most waits for { time figure } s
It waits for { the display word of control } to occur by OCR, at most waits for { time figure } s
{ the sectional drawing filename of control, such as test.png, then be recorded as ' #test# ' } is waited for occur by Image,
At most wait for { time figure } s
It clicks:
The { left of { the sectional drawing filename of control, such as test.png, then be recorded as ' #test# ' } is clicked by Image
Upper angle, the upper right corner, the lower right corner, the lower left corner, centre (five select one) }
{ sequence number } a { the display word of control } is clicked by OCR
[{ coordinate x-axis }, { coordinate y-axis }] is clicked by position
{ sequence number } a child control of { control ResourceID attribute values } is clicked by ResourceID
{ control ResourceID attribute values } is clicked by ResourceID
{ control Text attributes } is clicked by Text
Sliding:
Constantly { upper and lower, left and right (four select one) } is sliding, until finding { control ResourceID by ResourceID
Attribute value } occur
Constantly { upper and lower, left and right (four select one) } is sliding, until finding that { control Text attribute values } occurs by Text
Constantly { upper and lower, left and right (four select one) } is sliding, until finding that { the display word of control } occurs by OCR
Constantly { upper and lower, left and right (four select one) } is sliding, until found by Image the sectional drawing filename of control, such as Test.png is then recorded as ' #test# ' occur
By Image from { the sectional drawing filename of starting control, such as test.png are then recorded as ' #test# ' } { upper left corner, the upper right corner, the lower right corner, the lower left corner, centre (five select one) } slide into the sectional drawing filename of target widget, such as Test.png is then recorded as ' #test# ' } { upper left corner, the upper right corner, the lower right corner, the lower left corner, centre (five select one) }
By OCR { sequence number } a { mesh is slided into from { sequence number } a { the display word of starting control } Mark the display word of control }
By ResourceID { target widget ResourceID is slided into from { starting control ResourceID attribute values } Attribute value }
It is slided into { target widget Text attribute values } from { starting control Text attribute values } by Text
Slided into from [{ starting point coordinate x-axis }, { starting point coordinate y-axis }] by position [{ coordinate of ground point x axis }, { coordinate of ground point y-axis }]
It pulls:
By Image from { the sectional drawing filename of starting control, such as test.png are then recorded as ' #test# ' } { upper left corner, the upper right corner, the lower right corner, the lower left corner, centre (five select one) } be dragged to the sectional drawing filename of target widget, such as Test.png is then recorded as ' #test# ' } { upper left corner, the upper right corner, the lower right corner, the lower left corner, centre (five select one) }
By OCR { sequence number } a { mesh is dragged to from { sequence number } a { the display word of starting control } Mark the display word of control }
By ResourceID { target widget ResourceID is dragged to from { starting control ResourceID attribute values } Attribute value }
It is dragged to { target widget Text attribute values } from { starting control Text attribute values } by Text
Check post:
By ResourceID verifications { control ResourceID attribute values } with the presence or absence of-[{ check post title }]
By Text verifications { control Text attributes } with the presence or absence of-[{ check post title }]
Whether deposited by Image verifications { the sectional drawing filename of control, such as test.png, then be recorded as ' #test# ' } In-[{ check post title }]
By OCR verifications { the display word of control } with the presence or absence of-[{ check post title }]
Whether the value that { control ResourceID attribute values } is verified by ResourceID is { control Text attribute values }- [{ check post title }]
Other:
It returns
Sectional drawing
Wherein, ResourceID, Text are the attribute values of control, are suitble to be suitable for standard control;OCR, Image, webpage The display word or picture either played, need in addition to call Text region service and image recognition service.
It is actual write script when, these scripts can be entered into the running node of business collection of illustrative plates, and foot Word slot can be arranged in this according to business demand in script, such as:
Com.xxx.xxx is arrived by ResourceID inputs { user_name }:id/et_tel;
{ user_password } com.xxx.xxx is inputted by ResourceID:id/et_password.
Follow-up user then can be by the modes input test data such as click, sliding, dragging, and pass through natural language Word, check post, waiting time etc. are inputted in word slot.
Based on same inventive concept, the present invention also provides a kind of test machine people using test script edit methods, The natural language test script edit methods progress test script designed using the word slot of aforementioned any embodiment is write, and After writing test script, test machine people can automatically analyze the word slot in the test script of every test case, dump to survey The database of data is tried, and the increase of test data, deletion can be provided in individual test data administration page, inquire and repair The operation changed.
And in this test machine people, test script and test data are isolation, and a test script can have multigroup number According to.
As shown in figure 3, in a specific example, test machine people includes presentation layer, system layer, tool layer and data Layer, The presentation layer is test machine people's test platform, and the system layer includes the management of business collection of illustrative plates, test case management, test number According to management and test assignment management, the tool layer include natural language understanding, Text region, image recognition, UIAutomator and JUnit, the data Layer include business collection of illustrative plates, test case, test data and test report.
Software test is carried out by test machine people to include the following steps:
Step 1: in test machine people's collection of illustrative plates typing page typing collection of illustrative plates, a node is created, edits node content, section Point type includes scenario node, running node, result node, and the relationship between building node by way of dragging.
In other embodiments, business collection of illustrative plates can also be built by way of csv file importing, remembered in csv file The relationship between the type of node, node is recorded, business collection of illustrative plates is directly constituted by way of key importing.
It can also be again by parsing daily record, analyze user uses path, and all users are merged using path Build collection of illustrative plates.
Step 2: test machine people system, automatically according to business collection of illustrative plates, traversal analyzes all test cases, and group The required script of all test cases is closed, and the test main path of software product according to weight, can be obtained.As registered, stepping on The scene record, inquire, transferred accounts will be decoupled except following four use-cases:
A, user name, cell-phone number, password are 1. inputted;2. clicking registration;
B, user name, cell-phone number, password are 1. inputted;2. clicking registration;3. inputting user name, password;It is logged in 4. clicking;
C, user name, cell-phone number, password are 1. inputted;2. clicking registration;3. inputting user name, password;It is logged in 4. clicking;⑤ Open mine;6. selecting my bank card, and select wherein one;7. click queries the balance;
D, user name, cell-phone number, password are 1. inputted;2. clicking registration;3. inputting user name, password;It is logged in 4. clicking;⑤ Input other side's name, bank card information, telephone number;6. card is produced in selection, the amount of money is inputted;7. submitting, identifying code is inputted, is confirmed It transfers accounts.
Wherein, the use-case that Article 3 and Article 4 use-case are related to is relatively more, and the result of network analysis is exactly critical path.
Step 3: during building collection of illustrative plates, can by the Chinese script logging to node of corresponding steps (when execution, meeting There is special Chinese script to execute program to analyze and execute Chinese script), and the test number for needing to fill according to corresponding steps According to.Prepare word slot in Chinese script, is used for the typing management of test data.
Step 4: after the completion of map construction, test machine people system will traverse spectrum data library automatically, will decouple survey automatically Example on probation is extracted test path, and is stored into test case library, can show management of test cases.
Step 5: after test case has decoupled, so that it may to be directed to every test case typing test data, one Test case supports the multigroup test data of typing, and for example, the test case of login can use two groups of user names and password This use-case is tested.
Step 6: when test execution, it can be combined according to the test case and test data of selection, test data is replaced It shifts in the word slot of test script, forms the Chinese script that can perform.
Test execution, selection need test case and test data to be tested, system automatically to insert test data and test In the word slot of script, completely executable Chinese script is constituted.It is stored on task Distributor, waits for task distribution.Often Bar script is test scene name there are corresponding scene catalogue, one scene of each catalog code, directory name;Under scene catalogue The script of all test cases of the scene is stored, the script of each test case is stored as a text file, and file is entitled The title of test case, the case where encountering a test cases selection multi-group data, filename are then test case title and survey Try data group name combination.
Test assignment ways of distribution includes:It all executes, random execution.
All execute:All test scripts are all distributed to every mobile phone, it is all to ensure that every mobile phone is gone to Test script.
It is random to execute:All test scripts are distributed to every mobile phone at random, ensure that all test scripts can execute Once.
Test assignment is distributed to the controller of every mobile phone, and controller is the computer that an operating system is Linux, is responsible for Mobile phone is controlled, loading, unloading App is pacified, executes automation etc. operation.Chinese script executes program and then stores in the controller, and one Denier receives Chinese script, will read script and analyze the action of each step of script, extract test data, and will action and Data conversion is sent on mobile phone at the program instruction that mobile phone can understand and executes.
Step 7 generates test report, the performance, function, compatibling problem of application is recorded and analyzed comprehensively.It executes When script, will produce performance data during application operation, system log, script log, using sectional drawing.Test machine people will Summarize that all mobile phones execute as a result, generating a test report.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included within the present invention.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art The other embodiment being appreciated that.

Claims (11)

1. a kind of natural language test script edit methods of word slot design, which is characterized in that include the following steps:
Test script is write according to the business demand of tested software, and word slot is set in the test script;
According to the word slot being set in the test script, prepare multigroup test data;
One of which or multigroup test data are selected, is substituted into the word slot of test script, forms executable test script;
The test script is sent to running equipment operation to test the tested software.
2. the natural language test script edit methods of word slot design according to claim 1, which is characterized in that institute's predicate The quantity of slot is multiple.
3. the natural language test script edit methods of word slot design according to claim 1, which is characterized in that in Text writes the test script, and executes content and include:Click control, input word, sliding control, dragging control, condition etc. It waits for, check post, sectional drawing, return to last layer.
4. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that in Literary script realizes clicking operation, including:
By Image click { the sectional drawing filename of control } the upper left corner or the upper right corner or the lower right corner or the lower left corner or in Between;
{ sequence number } a { the display word of control } is clicked by OCR;
[{ coordinate x-axis }, { coordinate y-axis }] is clicked by position;
{ sequence number } a child control of { control ResourceID attribute values } is clicked by ResourceID;
{ control ResourceID attribute values } is clicked by ResourceID;
{ control Text attributes } is clicked by Text.
5. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that described logical It crosses Chinese script and realizes slide, including:
Constantly { upper or under or left or right } is sliding, until finding that { control ResourceID attribute values } goes out by ResourceID It is existing;
Constantly { upper or under or left or right } is sliding, until finding that { control Text attribute values } occurs by Text;
Constantly { upper or under or left or right } is sliding, until finding that { the display word of control } occurs by OCR;
Constantly { upper or under or left or right } is sliding, until finding that { the sectional drawing filename of control } occurs by Image;
By Image from the sectional drawing filename of control { starting } the upper left corner or the upper right corner or the lower right corner or the lower left corner or It is intermediate } slide into { { upper left corner or the upper right corner or the lower right corner or the lower left corner or centre } of the sectional drawing filename of target widget;
By OCR { sequence number } a { target widget is slided into from { sequence number } a { the display word of starting control } Display word;
By ResourceID { target widget ResourceID attributes are slided into from { starting control ResourceID attribute values } Value };
It is slided into { target widget Text attribute values } from { starting control Text attribute values } by Text;
By position [{ coordinate of ground point x-axis }, { target point are slided into from [{ starting point coordinate x-axis }, { starting point coordinate y-axis }] Coordinate y-axis }].
6. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that described logical The drag operation that Chinese script is realized is crossed, including:
By Image from the sectional drawing filename of control { starting } the upper left corner or the upper right corner or the lower right corner or the lower left corner or It is intermediate } be dragged to { the sectional drawing filename of target widget } the upper left corner or the upper right corner or the lower right corner or the lower left corner or in Between;
By OCR { sequence number } a { target widget is dragged to from { sequence number } a { the display word of starting control } Display word;
By ResourceID { target widget ResourceID attributes are dragged to from { starting control ResourceID attribute values } Value };
It is dragged to { target widget Text attribute values } from { starting control Text attribute values } by Text.
7. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that in The input operation that literary script is realized, including:
Short message verification code is inputted to { control ResourceID attribute values } by ResourceID;
Short message verification code is inputted to { sequence number } a { the display word of control } by OCR;
{ control ResourceID attribute values } is arrived by ResourceID inputs { needing the word inputted };
{ control Text attributes } is arrived by Text inputs { needing the word inputted };
Pass through OCR inputs { needing the word inputted } to { sequence number } a { the display word of control };
{ needing the soft keyboard character inputted } is clicked by soft keyboard.
8. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that in What literary script was realized etc. is to be operated, including:
Wait for { time figure } s;
It waits for { control ResourceID attribute values } to occur by ResourceID, at most waits for { time figure } s;
It waits for { control Text attribute values } to occur by Text, at most waits for { time figure } s;
It waits for { the display word of control } to occur by OCR, at most waits for { time figure } s;
It waits for { the sectional drawing filename of control } to occur by Image, at most waits for { time figure } s.
9. the natural language test script edit methods of word slot design according to claim 3, which is characterized in that in The check post that literary script is realized operates:
By ResourceID verifications { control ResourceID attribute values } with the presence or absence of-[{ check post title }];
By Text verifications { control Text attributes } with the presence or absence of-[{ check post title }];
By Image verifications { the sectional drawing filename of control } with the presence or absence of-[{ check post title }];
By OCR verifications { the display word of control } with the presence or absence of-[{ check post title }];
Whether the value that { control ResourceID attribute values } is verified by ResourceID is { control Text attribute values }-[{ verification Point title }].
10. a kind of test machine people of the natural language test script edit methods of word slot design, which is characterized in that utilize right It is required that the natural language test script edit methods progress test script of 1 to 9 any one of them word slot design is write, and After writing test script, test machine people can automatically analyze the word slot in the test script of every test case, dump to survey The database of data is tried, and can provide and increase in individual test data administration page, delete, searching, the operation of modification.
11. the test machine people of the natural language test script edit methods of word slot design according to claim 10, It is characterized in that, test script and test data are isolation, and the script of a test case can have multigroup test data.
CN201810460213.0A 2018-05-15 2018-05-15 A kind of natural language test script edit methods of word slot design and test machine people Pending CN108763066A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460213.0A CN108763066A (en) 2018-05-15 2018-05-15 A kind of natural language test script edit methods of word slot design and test machine people

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460213.0A CN108763066A (en) 2018-05-15 2018-05-15 A kind of natural language test script edit methods of word slot design and test machine people

Publications (1)

Publication Number Publication Date
CN108763066A true CN108763066A (en) 2018-11-06

Family

ID=64006804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460213.0A Pending CN108763066A (en) 2018-05-15 2018-05-15 A kind of natural language test script edit methods of word slot design and test machine people

Country Status (1)

Country Link
CN (1) CN108763066A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840212A (en) * 2019-02-19 2019-06-04 百度在线网络技术(北京)有限公司 Function test method, device, equipment and the readable storage medium storing program for executing of application program
CN114025027A (en) * 2021-11-02 2022-02-08 浙江三维万易联科技有限公司 Data transmission script running method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278075A1 (en) * 2014-03-26 2015-10-01 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests
CN106326121A (en) * 2016-08-22 2017-01-11 上海亿账通互联网科技有限公司 Method for automatically generating test script and terminal
CN106371994A (en) * 2016-09-04 2017-02-01 南京理工大学 Dynamic mobile APP testing method based on natural language processing
CN106484613A (en) * 2016-09-13 2017-03-08 郑州云海信息技术有限公司 A kind of interface automated test frame based on fitnese
CN107608874A (en) * 2016-07-12 2018-01-19 博彦科技股份有限公司 Method of testing and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150278075A1 (en) * 2014-03-26 2015-10-01 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests
CN107608874A (en) * 2016-07-12 2018-01-19 博彦科技股份有限公司 Method of testing and device
CN106326121A (en) * 2016-08-22 2017-01-11 上海亿账通互联网科技有限公司 Method for automatically generating test script and terminal
CN106371994A (en) * 2016-09-04 2017-02-01 南京理工大学 Dynamic mobile APP testing method based on natural language processing
CN106484613A (en) * 2016-09-13 2017-03-08 郑州云海信息技术有限公司 A kind of interface automated test frame based on fitnese

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840212A (en) * 2019-02-19 2019-06-04 百度在线网络技术(北京)有限公司 Function test method, device, equipment and the readable storage medium storing program for executing of application program
CN114025027A (en) * 2021-11-02 2022-02-08 浙江三维万易联科技有限公司 Data transmission script running method and device, storage medium and electronic device
CN114025027B (en) * 2021-11-02 2023-10-03 三维通信股份有限公司 Method and device for running data transmission script, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US7752606B2 (en) Software development tool using a structured format to generate software code
US9361069B2 (en) Systems and methods for defining a simulated interactive web page
US9977654B2 (en) Method of developing an application for execution in a workflow management system and apparatus to assist with generation of an application for execution in a workflow management system
US6360332B1 (en) Software system and methods for testing the functionality of a transactional server
US6587969B1 (en) Software system and methods for testing the functionality of a transactional server
CN108647147A (en) It is a kind of to execute automatic test machine people and its application method using atlas analysis
CN110941467A (en) Data processing method, device and system
BRPI0615572A2 (en) assigning, adjusting, and discovering parameters for spreadsheet documents
JPH06119292A (en) Construction method of host access table and data processing subsystem
US9678725B1 (en) Method and system for specifying and processing telephony sessions
CN110286974A (en) Application configuration method, apparatus, equipment and storage medium based on the H5 page
CN105930344B (en) A kind of database application system quick development platform based on product development process
CN109634570A (en) Front and back end integrated development method, device, equipment and computer readable storage medium
US20060047723A1 (en) Custom database system and method of building the same
CN110297761A (en) Acquisition methods, device, computer equipment and the storage medium of returned data
CN101739279A (en) Tariff management configuration automation
CN112988165A (en) Kubernetes-based interactive modeling method and device, electronic equipment and storage medium
CN108763066A (en) A kind of natural language test script edit methods of word slot design and test machine people
Gault et al. Beginning Oracle Application Express 4.2
US20210124752A1 (en) System for Data Collection, Aggregation, Storage, Verification and Analytics with User Interface
US20100011018A1 (en) Custom database system and method of building the same
CN109891410B (en) Data collection for new session dialog systems
US20230195792A1 (en) Database management methods and associated apparatus
CN115713309A (en) Internal auditing system
US20080022258A1 (en) Custom database system and method of building and operating the same

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication