CN104022912B - A kind of cloud test method and cloud testing service device - Google Patents

A kind of cloud test method and cloud testing service device Download PDF

Info

Publication number
CN104022912B
CN104022912B CN201310065907.1A CN201310065907A CN104022912B CN 104022912 B CN104022912 B CN 104022912B CN 201310065907 A CN201310065907 A CN 201310065907A CN 104022912 B CN104022912 B CN 104022912B
Authority
CN
China
Prior art keywords
software
tested
newname
cloud
old name
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.)
Active
Application number
CN201310065907.1A
Other languages
Chinese (zh)
Other versions
CN104022912A (en
Inventor
徐铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310065907.1A priority Critical patent/CN104022912B/en
Publication of CN104022912A publication Critical patent/CN104022912A/en
Application granted granted Critical
Publication of CN104022912B publication Critical patent/CN104022912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention proposes a kind of cloud test method and cloud testing service device, wherein method includes: that cloud testing service device receives the software to be tested that user uploads, judge whether the Old Name of the software to be tested can not identify, if can not identify, it is then the identifiable newname of Software Create to be tested, the software and its newname to be tested is saved, and saves the corresponding relationship of the Old Name and newname;Software and its newname to be tested are shown to cloud test client.The present invention can carry out proper testing to the software for containing unrecognized symbol in title.

Description

A kind of cloud test method and cloud testing service device
Technical field
The present invention relates to cloud the field of test technology more particularly to a kind of cloud test method and cloud testing service devices.
Background technique
Cloud test is a kind of novel test scheme based on cloud computing.Cloud testing service device provides a variety of test platforms, uses Family passes through browser for software upload to be tested to cloud test platform, so that it may this is run on cloud test platform, realization pair The test of software.
Cloud test provides a whole set of test environment, and tester logs on to the test environment using means such as virtual desktops, It can be unfolded to test immediately.Software and hardware installation, environment configurations, the cost of environment maintenance are transferred to cloud testing service quotient by this. With present virtualization technology, hardware configuration, software stack (operating system, middleware, software tool), net are formulated in tester After network topology, creates a set of new test environment and only require a very short time;If tester can receive to have created Standard test environment, then can log in and be tested immediately.In the way of cloud test, test environment is considerably reduced It builds the time, such as machine and network prepare, operating system is installed, various testing tool software installations will all save, it is only necessary to The configuration surroundings of needs are informed into cloud testing service quotient in advance, then direct use improves Efficiency of Software Testing, and save About cost.
When being tested using cloud test macro, software to be tested is uploaded to cloud test by browser by tester Server (Server), cloud test Server are deployed on cloud test client (Client);Cloud tests Client to this Software is tested, and the test result of generation is uploaded to cloud test Server;Read the test knot in the cloud test end Server Fruit, and test result is shown in browser.
Currently, cloud test macro can only identify and support common single byte font;But in dbase to be tested often There is the unrecognized symbol of the clouds test macro such as double byte font or additional character, causes cloud test macro that can not identify that this is soft The title of part, so cause the software to will appear when carrying out cloud test upload does not pass through, messy code, test function obstacle etc. are asked Topic.
Summary of the invention
The embodiment of the invention provides a kind of cloud test methods and cloud testing service device, can not know to containing in title The software of other symbol carries out proper testing.
The technical solution of the embodiment of the present invention is achieved in that
A kind of cloud test method, comprising:
Cloud testing service device receive user upload software to be tested, judge the software to be tested Old Name whether without Method identification, if can not identify, for the identifiable newname of Software Create to be tested, save the software to be tested and its Newname, and save the corresponding relationship of the Old Name and newname;
Software and its newname to be tested are shown to cloud test client.
The above method further comprises:
Cloud testing service device receives the test result comprising dbase of cloud test client feedback, searches the correspondence With the presence or absence of Old Name corresponding to the dbase in relationship;If it is present the dbase in test result is replaced For the Old Name, the test result comprising the Old Name is shown to user.
In the above method, the cloud testing service device receives the mode for the software to be tested that user uploads are as follows: cloud test clothes Business device receives the software to be tested that user is uploaded by browser;
The cloud testing service device shows the mode of the test result comprising Old Name to user are as follows: cloud testing service device exists Browser shows the test result comprising Old Name.
In the above method, cloud testing service judges that the whether unrecognized mode of the Old Name of software to be tested can be with are as follows:
Whether judge in the Old Name comprising the unrecognized character of cloud test macro, if it is, determine it is described to The Old Name of test software can not identify.
In the above method, cloud testing service device is that the mode of the identifiable newname of Software Create to be tested can be with are as follows:
Cloud testing service device is that software to be tested generates identifiable newname at random, or from pre-save it is multiple can A newname as the software to be tested is selected in identification title, or being according to preset title create-rule should The identifiable newname of Software Create to be tested.
A kind of cloud testing service device, comprising:
User interactive module, for receiving the software to be tested of user's upload;
Title processing module, for judging whether the Old Name of the software to be tested can not identify, if can not identify, It is then the identifiable newname of Software Create to be tested;
Preserving module for saving the software to be tested and its newname, and saves the Old Name and newname Corresponding relationship;
Client interactive module, for showing software and its newname to be tested to cloud test client.
In above-mentioned cloud testing service device,
Client interactive module can be also used for, and receive the test knot comprising dbase of cloud test client feedback Fruit;
Title processing module can be also used for, and search in the corresponding relationship with the presence or absence of the software for including in test result Old Name corresponding to title;If it is present the dbase in test result is replaced with the Old Name;
User interactive module can be also used for, and show the test result comprising the Old Name to user.
In above-mentioned cloud testing service device, user interactive module can receive user uploaded by browser it is to be tested soft Part, and the test result comprising Old Name is shown in browser.
In above-mentioned cloud testing service device, whether title processing module may determine that can not comprising cloud test macro in Old Name The character of identification, if it is, determining that the Old Name of the software to be tested can not identify.
Title processing module can generate identifiable newname for software to be tested at random, or more from what is pre-saved A newname as the software to be tested is selected in a recognizable title, or according to preset title create-rule For the identifiable newname of Software Create to be tested.
As it can be seen that cloud test method proposed by the present invention and cloud testing service device, are receiving the to be tested soft of user's upload When part, if the Old Name of the software can not identify, for the new recognizable title of the Software Create, and Old Name and new is recorded The corresponding relationship of title;In facing cloud test client, the newname of the software is shown to cloud test client, to guarantee Such software can be normally carried out test.
Detailed description of the invention
Fig. 1 is cloud test method implementation flow chart proposed by the present invention;
Fig. 2 is software to be tested in the embodiment of the present invention one and the transmission flow figure of test result;
Fig. 3 is the structural schematic diagram of cloud testing service device proposed by the present invention.
Specific embodiment
The present invention proposes a kind of cloud test method, if Fig. 1 is this method implementation flow chart, comprising:
Step 101: cloud testing service device receives the software to be tested that user uploads, and judges the original name of the software to be tested Claim whether not identifying, if can not identify, thens follow the steps 102;
Step 102: cloud testing service device is the identifiable newname of Software Create to be tested, and it is to be tested soft to save this Part and its newname, and save the corresponding relationship of the Old Name and newname;
Step 103: showing software and its newname to be tested to cloud test client.
In this way, cloud testing service device is when receiving software to be tested, more by the unrecognized Old Name of software to be tested It is changed to the newname that can be identified, and (including cloud testing service device and cloud test client) shows and make in cloud test macro With newname, to guarantee proper testing of the software in cloud test macro.
This method further comprises:
Cloud testing service device receives the test result comprising dbase of cloud test client feedback, searches the correspondence With the presence or absence of Old Name corresponding to the dbase in relationship;If it is present the dbase in test result is replaced For the Old Name, the test result comprising the Old Name is shown to user.
The unrecognized Old Name of software is changed to the process of identifiable newname by cloud testing service device, and will be surveyed The process that newname in test result is changed to Old Name is transparent for user;User only needs to upload software to be tested, And check the test result comprising software Old Name to be tested.But the change of title is had been completed in cloud test macro, is protected The proper testing of software of the card comprising additional character.
In the above method, the mode that cloud testing service device receives the software to be tested that user uploads can be with are as follows: cloud test clothes Business device receives the software to be tested that user is uploaded by browser;Cloud testing service device shows the test comprising Old Name to user As a result mode can be with are as follows: cloud testing service device shows the test result comprising Old Name in browser.
In above-mentioned steps 101, cloud testing service judges that the whether unrecognized mode of the Old Name of software to be tested can be with Are as follows: judge whether comprising the unrecognized character of cloud test macro in Old Name, if it is, determining the software to be tested Old Name can not identify.Currently, the unrecognized character of cloud test macro include: double byte font (as Chinese), Mars word (i.e. Carry out the netspeak of watch sound using phonetically similar word, the nearly word of sound, additional character etc.), additional character etc..
In above-mentioned steps 102, cloud testing service device is that the mode of the identifiable newname of Software Create to be tested can be with are as follows:
Cloud testing service device is that software to be tested generates identifiable newname at random, or from pre-save it is multiple can A newname as the software to be tested is selected in identification title, or being according to preset title create-rule should The identifiable newname of Software Create to be tested.
Below in conjunction with attached drawing, lifts specific embodiment and the present invention is described in detail.
Embodiment one:
If Fig. 2 is software to be tested in the embodiment of the present invention one and the transmission flow figure of test result.Detailed process includes:
Step 201: user tests Server to cloud by browser and uploads software to be tested, the title of the software to be tested For the unrecognized Old Name of cloud test macro.
Step 202: after cloud test Server judges that the title of the software to be tested can not identify, for the Software Create cloud The identifiable newname of test macro saves the software and its newname to be tested, realizes the successful upload of the software to be tested. Also, cloud tests the corresponding relationship that Server saves Old Name and newname.
Old Name and newname can be stored in individual database, be saved using specific data list.
Step 203: when cloud tests Server facing cloud test Client, showing the software to be tested to cloud test Client And its newname.
Step 204: cloud tests the software to be tested that Client downloading has newname, tests the software, obtains And test result is recorded, the test result comprising newname is returned to cloud test Server.
Step 205: cloud tests Server and receives test result, and the corresponding relationship saved in finding step 202 finds this There are corresponding Old Names for title in test result, then the title in the test result are replaced with Old Name.
Step 206: user is checked or is downloaded the test result of software by browser, includes software in the test result Old Name.
As seen from the above-described embodiment, cloud test Server when receiving software to be tested, if the title of the software without Method identification, then replace with the newname that cloud test macro can identify for its title;Cloud test macro side (including cloud test Server and cloud test Client) newname is used, Old Name is used in user oriented.In this way, both ensure that test software It can be normally carried out test in cloud test macro, and user will not be had an impact.
The present invention also proposes a kind of cloud testing service device, such as the structural schematic diagram that Fig. 3 is the cloud testing service device, comprising:
User interactive module 301, for receiving the software to be tested of user's upload;
Title processing module 302, for judging whether the Old Name of the software to be tested can not identify, if can not know It not, then is the identifiable newname of Software Create to be tested;
Preserving module 303 for saving the software to be tested and its newname, and saves the Old Name and newname Corresponding relationship;
Client interactive module 304, for showing software and its newname to be tested to cloud test client.
In above-mentioned cloud testing service device,
Client interactive module 304 can be also used for, and receive the test comprising dbase of cloud test client feedback As a result;
Title processing module 302 can be also used for, and searching, which whether there is in test result in the corresponding relationship, includes Old Name corresponding to dbase;If it is present the dbase in test result is replaced with the Old Name;
User interactive module 301 can be also used for, and show the test result comprising the Old Name to user.
In above-mentioned cloud testing service device, user interactive module 301 receives the software to be tested that user is uploaded by browser, And the test result comprising Old Name is shown in browser.
In above-mentioned cloud testing service device, whether title processing module 302 judges in the Old Name comprising cloud test macro Unrecognized character, if it is, determining that the Old Name of the software to be tested can not identify.
Title processing module 302 generates identifiable newname for software to be tested at random, or more from what is pre-saved A newname as the software to be tested is selected in a recognizable title, or according to preset title create-rule For the identifiable newname of Software Create to be tested.
To sum up, cloud test method proposed by the present invention and cloud testing service device are receiving the to be measured of user's upload When trying software, if the Old Name of the software can not identify, for the new recognizable title of the Software Create, and Old Name is recorded With the corresponding relationship of newname;In facing cloud test client, the newname of the software is shown to cloud test client, thus Guarantee that such software can be normally carried out test.After the test result for receiving cloud test client feedback, then by the test As a result the newname for including in is revised as Old Name, displays for a user the test result comprising Old Name.Due to the process renamed It is transparent to user, therefore user will not be had an impact.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (4)

1. a kind of cloud test method, which is characterized in that the described method includes:
Cloud testing service device receives the software to be tested that user is uploaded by browser, judges the Old Name of the software to be tested Whether can not identify, if can not identify, for the identifiable newname of Software Create to be tested, it is to be tested soft to save this Part and its newname, and save the corresponding relationship of the Old Name and newname;
Cloud testing service device shows software and its newname to be tested to cloud test client;
Cloud testing service device receives the test result comprising software newname to be tested of cloud test client feedback, described in lookup With the presence or absence of Old Name corresponding to the newname in corresponding relationship;If it is present the newname in test result is replaced For the Old Name, the test result comprising the Old Name is shown to user in a browser, so that the user is by clear The test result comprising the Old Name is checked or downloaded to device of looking at;
Wherein, cloud testing service device be the identifiable newname of Software Create to be tested process and will be in test result Newname to replace with the process of Old Name be transparent to user;
The cloud testing service device is the mode of the identifiable newname of Software Create to be tested are as follows:
Cloud testing service device generates identifiable newname for software to be tested at random, or multiple recognizable from what is pre-saved A newname as the software to be tested is selected in title, or to be measured for this according to preset title create-rule Try the identifiable newname of Software Create.
2. the method according to claim 1, wherein the cloud testing service judges the Old Name of software to be tested Whether unrecognized mode are as follows:
Judge whether comprising the unrecognized character of cloud test macro in the Old Name, if it is, determining described to be tested The Old Name of software can not identify.
3. a kind of cloud testing service device, which is characterized in that the cloud testing service device includes:
User interactive module, the software to be tested uploaded for receiving user by browser;
Title processing module, for judging whether the Old Name of the software to be tested can not identify, if can not identify, for The identifiable newname of Software Create to be tested;
Preserving module, for saving the software to be tested and its newname, and it is corresponding with newname to save the Old Name Relationship;
Client interactive module, for showing software and its newname to be tested to cloud test client;
The client interactive module is also used to, and receives the test comprising software newname to be tested of cloud test client feedback As a result;
The title processing module is also used to, and is searched in the corresponding relationship with the presence or absence of the newname institute for including in test result Corresponding Old Name;If it is present the newname in test result is replaced with the Old Name;
The user interactive module is also used to, and shows the test result comprising the Old Name to user in a browser, so that The user is checked or is downloaded the test result comprising the Old Name by browser;
Wherein, cloud testing service device be the identifiable newname of Software Create to be tested process and will be in test result Newname to replace with the process of Old Name be transparent to user;
The title processing module is also used to generate identifiable newname at random for software to be tested, or from pre-saving A newname as the software to be tested is selected in multiple recognizable titles, or is generated and advised according to preset title It is then the identifiable newname of Software Create to be tested.
4. cloud testing service device according to claim 3, whether title processing module judges in the Old Name comprising cloud The unrecognized character of test macro, if it is, determining that the Old Name of the software to be tested can not identify.
CN201310065907.1A 2013-02-28 2013-02-28 A kind of cloud test method and cloud testing service device Active CN104022912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310065907.1A CN104022912B (en) 2013-02-28 2013-02-28 A kind of cloud test method and cloud testing service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310065907.1A CN104022912B (en) 2013-02-28 2013-02-28 A kind of cloud test method and cloud testing service device

Publications (2)

Publication Number Publication Date
CN104022912A CN104022912A (en) 2014-09-03
CN104022912B true CN104022912B (en) 2019-03-01

Family

ID=51439494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310065907.1A Active CN104022912B (en) 2013-02-28 2013-02-28 A kind of cloud test method and cloud testing service device

Country Status (1)

Country Link
CN (1) CN104022912B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059813A (en) * 2006-04-21 2007-10-24 索尼株式会社 File management apparatus, file management method, and program
CN102508690A (en) * 2011-11-11 2012-06-20 瑞斯康达科技发展股份有限公司 Storing method and decoding method for command line of embedded equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101059813A (en) * 2006-04-21 2007-10-24 索尼株式会社 File management apparatus, file management method, and program
CN102508690A (en) * 2011-11-11 2012-06-20 瑞斯康达科技发展股份有限公司 Storing method and decoding method for command line of embedded equipment

Also Published As

Publication number Publication date
CN104022912A (en) 2014-09-03

Similar Documents

Publication Publication Date Title
CN108092962B (en) Malicious URL detection method and device
CN107341399B (en) Method and device for evaluating security of code file
US10706032B2 (en) Unsolicited bulk email detection using URL tree hashes
CN105577528B (en) A kind of wechat public platform collecting method and device based on virtual machine
CN103220352B (en) Terminal, server, file storage system and file storage method
CN109976995B (en) Method and apparatus for testing
CN103685307A (en) Method, system, client and server for detecting phishing fraud webpage based on feature library
CN106022349B (en) Method and system for device type determination
CN109104421B (en) Website content tampering detection method, device, equipment and readable storage medium
CN104021154B (en) A kind of method and apparatus scanned in a browser
US9734041B2 (en) User interface area coverage
US20230131759A1 (en) Processing messages for value extraction
CN110287696A (en) A kind of detection method, device and the equipment of the shell process that rebounds
CN104462985A (en) Detecting method and device of bat loopholes
CN111241496B (en) Method and device for determining small program feature vector and electronic equipment
CN110990057A (en) Extraction method, device, equipment and medium of small program sub-chain information
CN104580109B (en) Generation clicks the method and device of identifying code
CN110008462A (en) A kind of command sequence detection method and command sequence processing method
CN105187439A (en) Phishing website detection method and device
US9984161B2 (en) Accounting for authorship in a web log search engine
CN103618742A (en) Method and system for acquiring sub domain names and webmaster permission verification method
US9990271B2 (en) Automatically generating object locators for automation test generation
CN104022912B (en) A kind of cloud test method and cloud testing service device
CN108200191B (en) Utilize the client dynamic URL associated script character string detection system of perturbation method
CN103095698A (en) Client software repairing method and repairing device and communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190808

Address after: 518057 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.

TR01 Transfer of patent right