CN104022912A - Cloud test method and cloud test server - Google Patents

Cloud test method and cloud test server Download PDF

Info

Publication number
CN104022912A
CN104022912A CN201310065907.1A CN201310065907A CN104022912A CN 104022912 A CN104022912 A CN 104022912A CN 201310065907 A CN201310065907 A CN 201310065907A CN 104022912 A CN104022912 A CN 104022912A
Authority
CN
China
Prior art keywords
software
tested
cloud
newname
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.)
Granted
Application number
CN201310065907.1A
Other languages
Chinese (zh)
Other versions
CN104022912B (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 invention provides a cloud test method and a cloud test server. The method includes the following steps: a cloud test server receives software to be tested which is uploaded by a user, and judges whether an original name of the software to be tested cannot be recognized, if the original name cannot be recognized, a recognizable new name is generated for the software to be tested, the software to be tested and the new name thereof are stored, and a corresponding relation between the original name and the new name is stored; and the software to be tested and the new name thereof are displayed to a cloud test client. The cloud test method in the invention can normally test software with a name containing unrecognizable symbols.

Description

A kind of cloud method of testing and cloud testing server
Technical field
The present invention relates to cloud technical field of measurement and test, relate in particular to a kind of cloud method of testing and cloud testing server.
Background technology
Cloud test is a kind of novel test scheme based on cloud computing.Cloud testing server provides multiple test platform, and user arrives cloud test platform by browser by software upload to be tested, just can on cloud test platform, move this, realizes the test to software.
Cloud test provides a whole set of test environment, and tester utilizes the means such as virtual desktop to sign in to this test environment, just can launch immediately test.This cost by software and hardware installation, environment configurations, environment maintenance is transferred to cloud testing service business.With present Intel Virtualization Technology, formulate after hardware configuration, software stack (operating system, middleware, Software tool), network topology tester, create a set of new test environment and only require a very short time; If the standard test environment that tester can accept to have created, can login and test immediately.Utilize the mode of cloud test, greatly reduce building the time of test environment, as machine and network preparation, operating system installation, the installation of various testing tool software etc. all will be saved, only need in advance the configuration surroundings of needs to be informed to cloud testing service business, then directly use, improve Efficiency of Software Testing, and cost-saving.
While using cloud test macro to test, tester is uploaded to cloud testing server (Server) by software to be tested by browser, and cloud test Server is deployed on cloud test client (Client); Cloud test Client tests this software, and the test result of generation is uploaded to cloud test Server; Cloud test Server end reads this test result, and test result is shown at browser.
At present, common byte font can only be identified and support to cloud test macro; But, in dbase to be tested, often there is the symbol of the cloud test macro None-identifieds such as double byte font or additional character, cause the title of this software of cloud test macro None-identified, and then cause this software to there will be and do not upload by problems such as, mess code, test function obstacles carrying out cloud when test.
Summary of the invention
The embodiment of the present invention provides a kind of cloud method of testing and cloud testing server, can carry out proper testing to the software of the symbol that contains None-identified in title.
The technical scheme of the embodiment of the present invention is achieved in that
A kind of cloud method of testing, comprising:
Cloud testing server receives the software to be tested that user uploads, judge the whether None-identified of Old Name of described software to be tested, if None-identified, it is the discernible newname of described Software Create to be tested, preserve this software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Show software to be tested and newname thereof to cloud test client.
Said method further comprises:
Cloud testing server receives the test result that comprises dbase of cloud test client feedback, searches in described corresponding relation, whether there is the corresponding Old Name of this dbase; If existed, the dbase in test result is replaced with to described Old Name, show the test result that comprises described Old Name to user.
In said method, the mode of the software to be tested that described cloud testing server reception user uploads is: cloud testing server receives the software to be tested that user uploads by browser;
Described cloud testing server shows that to user the mode of the test result that comprises Old Name is: the test result that cloud testing server comprises Old Name in browser display.
In said method, the Old Name that cloud testing service the judges software to be tested whether mode of None-identified can be:
Judge the character that whether comprises cloud test macro None-identified in described Old Name, if so, judge the Old Name None-identified of described software to be tested.
In said method, cloud testing server is that the mode of the discernible newname of Software Create to be tested can be:
Cloud testing server is the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
A kind of cloud testing server, comprising:
User interactive module, the software to be tested of uploading for receiving user;
Title processing module, for judging the whether None-identified of Old Name of described software to be tested, if None-identified is the discernible newname of described Software Create to be tested;
Preserve module, for preserving described software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Client interactive module, for showing software to be tested and newname thereof to cloud test client.
In above-mentioned cloud testing server,
Client interactive module can also be used for, and receives the test result that comprises dbase of cloud test client feedback;
Title processing module can also be used for, and searches in described corresponding relation, whether there is the corresponding Old Name of the dbase comprising in test result; If exist, the dbase in test result replaced with to described Old Name;
User interactive module can also be used for, and shows the test result that comprises described Old Name to user.
In above-mentioned cloud testing server, user interactive module can receive the software to be tested that user uploads by browser, and the test result that comprises Old Name in browser display.
In above-mentioned cloud testing server, title processing module can judge the character that whether comprises cloud test macro None-identified in Old Name, if so, judges the Old Name None-identified of described software to be tested.
Title processing module can be the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
Visible, cloud method of testing and cloud testing server that the present invention proposes, in the time receiving the software to be tested that user uploads, if the Old Name None-identified of this software, claim for the new distinguished name of this Software Create, and record the corresponding relation of Old Name and newname; In the time of facing cloud test client, show the newname of this software to cloud test client, thereby ensure that such software can normally test.
Brief description of the drawings
Fig. 1 is the cloud method of testing realization flow figure that the present invention proposes;
Fig. 2 is the transfer process figure of software to be tested and test result in the embodiment of the present invention one;
Fig. 3 is the structural representation of the cloud testing server that proposes of the present invention.
Embodiment
The present invention proposes a kind of cloud method of testing, if Fig. 1 is the method realization flow figure, comprising:
Step 101: cloud testing server receives the software to be tested uploaded of user, judges the whether None-identified of Old Name of described software to be tested, if None-identified performs step 102;
Step 102: cloud testing server is the discernible newname of described Software Create to be tested, preserves this software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Step 103: show software to be tested and newname thereof to cloud test client.
Like this, cloud testing server is in the time receiving software to be tested, the Old Name of the None-identified of software to be tested is changed to the newname that can identify, and in cloud test macro, (comprise cloud testing server and cloud test client) and show and use newname, thereby ensure the proper testing of this software in cloud test macro.
The method further comprises:
Cloud testing server receives the test result that comprises dbase of cloud test client feedback, searches in described corresponding relation, whether there is the corresponding Old Name of this dbase; If existed, the dbase in test result is replaced with to described Old Name, show the test result that comprises described Old Name to user.
Cloud testing server changes to the Old Name of software None-identified the process of discernible newname, and the process that the newname in test result is changed to Old Name is transparent for user; User only need to upload software to be tested, and checks the test result that comprises software Old Name to be tested.But in cloud test macro, complete the change of title, ensured the proper testing of the software that comprises additional character.
In said method, the mode of the software to be tested that cloud testing server reception user uploads can be: cloud testing server receives the software to be tested that user uploads by browser; Cloud testing server shows that to user the mode of the test result that comprises Old Name can be: the test result that cloud testing server comprises Old Name in browser display.
In above-mentioned steps 101, the Old Name that cloud testing service the judges software to be tested whether mode of None-identified can be: judge the character that whether comprises cloud test macro None-identified in Old Name, if so, judge the Old Name None-identified of described software to be tested.At present, the character of cloud test macro None-identified comprises: double byte font (as Chinese), Mars word (carrying out the netspeak of watch sound by homophone, the nearly word of sound, additional character etc.), additional character etc.
In above-mentioned steps 102, cloud testing server is that the mode of the discernible newname of Software Create to be tested can be:
Cloud testing server is the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
Below in conjunction with accompanying drawing, lift specific embodiment the present invention is described in detail.
Embodiment mono-:
If Fig. 2 is the transfer process figure of software to be tested and test result in the embodiment of the present invention one.Detailed process comprises:
Step 201: user uploads software to be tested by browser to cloud test Server, and the name of this software to be tested is called the Old Name of cloud test macro None-identified.
Step 202: cloud test Server judges after the title None-identified of this software to be tested, for the discernible newname of this Software Create cloud test macro, preserves this software to be tested and newname thereof, realizes the success of this software to be tested and uploads.And cloud test Server preserves the corresponding relation of Old Name and newname.
Old Name and newname can be kept in independent database, adopt specific data list to preserve.
Step 203: when cloud test Server facing cloud test Client, Client shows this software to be tested and newname thereof to cloud test.
Step 204: cloud test Client downloads the software to be tested with newname, and this software is tested, and obtains and logging test results, and Server returns to the test result that comprises newname to cloud test.
Step 205: cloud test Server receives test result, the corresponding relation of preserving in finding step 202, there is corresponding Old Name in the title finding in this test result, the title in this test result is replaced with to Old Name.
Step 206: user is checked or downloaded the test result of software by browser, comprises the Old Name of software in this test result.
As seen from the above-described embodiment, cloud test Server is in the time receiving software to be tested, if the title None-identified of this software replaces with by its title the newname that cloud test macro can be identified; Use newname in cloud test macro side (comprising cloud test Server and cloud test Client), in the time of user oriented, use Old Name.Like this, both ensured that testing software can normally test in cloud test macro, can not exert an influence to user again.
The present invention also proposes a kind of cloud testing server, as the structural representation that Fig. 3 is this cloud testing server, comprising:
User interactive module 301, the software to be tested of uploading for receiving user;
Title processing module 302, for judging the whether None-identified of Old Name of described software to be tested, if None-identified is the discernible newname of described Software Create to be tested;
Preserve module 303, for preserving described software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Client interactive module 304, for showing software to be tested and newname thereof to cloud test client.
In above-mentioned cloud testing server,
Client interactive module 304 can also be used for, and receives the test result that comprises dbase of cloud test client feedback;
Title processing module 302 can also be used for, and searches in described corresponding relation, whether there is the corresponding Old Name of the dbase comprising in test result; If exist, the dbase in test result replaced with to described Old Name;
User interactive module 301 can also be used for, and shows the test result that comprises described Old Name to user.
In above-mentioned cloud testing server, user interactive module 301 receives the software to be tested that user uploads by browser, and the test result that comprises Old Name in browser display.
In above-mentioned cloud testing server, title processing module 302 judges the character that whether comprises cloud test macro None-identified in described Old Name, if so, judges the Old Name None-identified of described software to be tested.
Title processing module 302 is the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
As fully visible, cloud method of testing and cloud testing server that the present invention proposes, in the time receiving the software to be tested that user uploads, if the Old Name None-identified of this software, claim for the new distinguished name of this Software Create, and record the corresponding relation of Old Name and newname; In the time of facing cloud test client, show the newname of this software to cloud test client, thereby ensure that such software can normally test.Receiving after the test result of cloud test client feedback, then the newname comprising in this test result is being revised as to Old Name, for user shows the test result that comprises Old Name.Because the process of renaming is to user transparent, therefore can not exert an influence to user.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (10)

1. a cloud method of testing, is characterized in that, described method comprises:
Cloud testing server receives the software to be tested that user uploads, judge the whether None-identified of Old Name of described software to be tested, if None-identified, it is the discernible newname of described Software Create to be tested, preserve this software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Show software to be tested and newname thereof to cloud test client.
2. method according to claim 1, is characterized in that, described method further comprises:
Cloud testing server receives the test result that comprises dbase of cloud test client feedback, searches in described corresponding relation, whether there is the corresponding Old Name of this dbase; If existed, the dbase in test result is replaced with to described Old Name, show the test result that comprises described Old Name to user.
3. method according to claim 1, is characterized in that, the mode of the software to be tested that described cloud testing server reception user uploads is: cloud testing server receives the software to be tested that user uploads by browser;
Described cloud testing server shows that to user the mode of the test result that comprises Old Name is: the test result that cloud testing server comprises Old Name in browser display.
4. according to the method described in claim 1,2 or 3, it is characterized in that, the Old Name that described cloud testing service the judges software to be tested whether mode of None-identified is:
Judge the character that whether comprises cloud test macro None-identified in described Old Name, if so, judge the Old Name None-identified of described software to be tested.
5. according to the method described in claim 1,2 or 3, it is characterized in that, described cloud testing server is that the mode of the discernible newname of Software Create to be tested is:
Cloud testing server is the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
6. a cloud testing server, is characterized in that, described cloud testing server comprises:
User interactive module, the software to be tested of uploading for receiving user;
Title processing module, for judging the whether None-identified of Old Name of described software to be tested, if None-identified is the discernible newname of described Software Create to be tested;
Preserve module, for preserving described software to be tested and newname thereof, and preserve the corresponding relation of described Old Name and newname;
Client interactive module, for showing software to be tested and newname thereof to cloud test client.
7. cloud testing server according to claim 6, is characterized in that,
Described client interactive module also for, receive the test result that comprises dbase of cloud test client feedback;
Described title processing module also for, search in described corresponding relation, whether there is the corresponding Old Name of the dbase comprising in test result; If exist, the dbase in test result replaced with to described Old Name;
Described user interactive module also for, show the test result that comprises described Old Name to user.
8. cloud testing server according to claim 6, is characterized in that, described user interactive module receives the software to be tested that user uploads by browser, and the test result that comprises Old Name in browser display.
9. according to the cloud testing server described in claim 6,7 or 8, title processing module judges the character that whether comprises cloud test macro None-identified in described Old Name, if so, judges the Old Name None-identified of described software to be tested.
10. according to the cloud testing server described in claim 6,7 or 8, title processing module is the discernible newname of the random generation of software to be tested, or newname as this software to be tested of selection from multiple distinguished names of preserving in advance claim, or be the discernible newname of this Software Create to be tested according to predefined title create-rule.
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 true CN104022912A (en) 2014-09-03
CN104022912B 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
CN104022912B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
US11244122B2 (en) Reformatting of context sensitive data
CN110362372B (en) Page translation method, device, medium and electronic equipment
US20140089786A1 (en) Automated Processor For Web Content To Mobile-Optimized Content Transformation
RU2699400C2 (en) Automatic intelligent collection and data revise
US20130191738A1 (en) Intelligent automatic expansion/contraction of abbreviations in text-based electronic communications
US9026994B2 (en) Cloud-based localization platform
US20070006039A1 (en) Automated multilingual software testing method and apparatus
CN106294178A (en) Automated testing method and device
US9357366B2 (en) Auditing of mobile applications
CN109213498A (en) A kind of configuration method and server of internet web front-end
CN107798001A (en) Web page processing method, device and equipment
WO2018053594A1 (en) Emoji images in text messages
CN110990057A (en) Extraction method, device, equipment and medium of small program sub-chain information
CN112612964A (en) Picture display method and device, computer equipment and storage medium
CN112988583A (en) Method and device for testing syntax compatibility of database
US11100106B1 (en) Query engine virtualization
US10021210B1 (en) Providing faster data access using multiple caching servers
CN105094787B (en) Method and device for processing enterprise internet application
US10140363B2 (en) Social network crowd translation
CN104022912A (en) Cloud test method and cloud test server
CN112565472B (en) Static resource processing method and device
CN103023910B (en) Data transmission method between mobile device and computing device
KR101843865B1 (en) Method and system for searching the application on the device
US20130139150A1 (en) Platform Specific Payload Management
US8024745B2 (en) Communication mechanism between disconnected applications in a web browser

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