Font Size: a A A

Development Of A Dynamic Object Automated Testing Framework Based On RFT

Posted on:2018-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:X XieFull Text:PDF
GTID:2428330596489283Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the advent of software testing,manual testing has been occupying the dominant position.However,as the increasing of the complexity of software products,as well as the huge and repeated data input and output,it turns to a big challenge and problem for manual testing.The introduction of the automated testing,not only provides us a strong guarantee for the quality of software products,but also effectively releases the human resources,shortens the testing duration,reduces the testing cost,and improves the testing efficiency.However,there are still some shortcomings for the current test automation technologies and frameworks: 1)The traditional way of script recording and playback is simple and easy to operate,however,the recorded and generated scripts are usually with poor reliability,reusability and stability;2)Although data-driven testing framework separates the data from scripts and supports testing a large amount of data,there are still some shortcomings for it,such as the complex relationships between scripts and relevant data files,various formats during the data transmission,etc.;3)In the keyword-driven testing framework,it's simple and easy to program,read,understand and maintain the scripts,however,these scripts are usually framework-dependent and also with poor portability.In this context,this paper studied and developed a reusable,maintainable,and flexible automated testing framework,to help improve the testing efficiency,reduce the testing cost and enhance the testing quality.Firstly,this paper studied and researched some of the current popular software testing technologies,and analyzed various existing software automated testing tools and frameworks.It summarized their shortcomings as well as the actual business requirements for testing projects,and thus put forward the solution: a dynamic object automated testing framework based on Rational Functional Tester(RFT),which was constructed with 4 layers(test objects,test tasks,test cases and test suites).Then,this paper designed and implemented some key technologies of this automated testing framework on this basis.It designed the TestObject Class and object recognition mechanism in details,so that the testing objects could be well recognized and captured dynamically.It designed the cache mechanism and property choice mechanism for object recognition in details,so that the testing objects could be recognized more efficiently and precisely.It designed the Base,AppObject and Function classes in details and then implemented the hierarchical design.It also designed and implemented the main programs and test case basis class of the framework,so that the test scripts could be run specifically.At last,this paper carried out the functional testing and multiplatform testing for the framework.After that,this framework was deployed and applied in some real testing projects.It was proven in practice that: this framework could be quickly and easily deployed,ported and run well on various system environments;furthermore,it implemented the functions of dynamic object recognition and capture,shortened the testing cycle and improved the testing efficiency.
Keywords/Search Tags:software testing, automated testing, testing framework, RFT
PDF Full Text Request
Related items