Font Size: a A A

The Research Of The Tool For Application's Automated Download And Installation

Posted on:2015-11-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y L GaoFull Text:PDF
GTID:2348330542952426Subject:Engineering
Abstract/Summary:PDF Full Text Request
As we all know,new products release more frequent in the fast iterative development,so the importance of regression testing in the test is more prominent.In regression testing,most of the functions of the product have not changed,so testers need to test the same function repeatedly.In regression testing,before the software product release,the testers need to do the final testing to confirm that the product is correct.Generally,testers download the product from the enterprise's official Website,and then install the product on local computer,to make sure the product is the last version that we will release,and the product can be installed correctly.This test is often the test for a particular product,and need to repeat the test of the product,so this test requires a specific person to do the test repeatedly.In order to liberate the human,so that testers can go to other more complex,meaningful work,then let this download and install testing execute automatically is an inevitable trend.Based on this requirement,this article designs and implements a automated tool that can download and install the product automatically,the automated tool is divided into two parts,one is automated downloading module,and the other is automated installation module.This paper mainly done the following aspects:1)The paper analyses Selenium automated testing framework and AutoIt v3 scripts.This article introduced the development of Selenium automated testing framework,studied the technology behind Selenium automated testing framework,and mastered the method of locating the browser's controls using Selenium Webdriver and Firebug.Meanwhile learning the AutoIt v3 scripting programming language systematically,mastering the method of locating windows and controls with AutoIt Window Info while learning this scripting language.It will lay a solid foundation for this system's research.2)This paper designs and implements the automatic download module of this tool.By analyzing the requirement in detail,this module needs to be done some functions,like automatically activating the browser,obtaining the position information of controls,obtaining the information in a Web page,landing,searching for resources,correct jumps of the web pages and the resource's download and so on.This paper mainly use the Selenium Webdriver to locate the controls of the browser,obtaining controls' information that can be identified,after this operation,configuring the environment,writing Java program revoke Selenium Webdriver API to send commands to the browser,simulating manual operation to operate browser realize automated download.3)The paper designs and implements the tool's automated installation module.By analyzing practical application requirements,the system need to have the following functions:automatically activating the browser,the transitions of mouse and keyboard,selecting the installation language,positioning controls and window information,the correct jumps of the installation interface,uninstallation and logs.If we want to simulate human action to operate the application,we should locate the controls and windows precisely,this paper uses AutoIt to locate the controls and windows to obtain the information of this controls and simulate human action to do the operation that human do for the application,after this operation writing AU3 script to achieve the appropriate automation functions.And then complying the scripts into an executable file,then we can start them in Java programs,and install the application automatically when automated download completed.Through this tool,testers can be liberated from repeated testing of downloading and installation,automated testing reduces errors that due to human subjective factors in manual testing,and improves testing efficiency.
Keywords/Search Tags:automated testing, automated tool, selenium, AutoIt
PDF Full Text Request
Related items