1 / 13

Tool for Writing Automated Tests

http://qatestlab.com/<br>It is necessary to prepare autotests for performing automated testing of applications.

qatestlab
Download Presentation

Tool for Writing Automated Tests

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tool for Writing Automated Tests Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address: 154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  2. Tool for Writing Automated Tests It is necessary to prepare autotests for performing automated testing of applications. One can utilize the framework TestNG, which has such options as a description of the autotests in annotations, use of xml for flexible tests configurations, multi-threaded testing, and things like that. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  3. Tool for Writing Automated Tests Example of Annotations: dependsOnGroups – the input parameters are the names of the methods groups on which the annotated test depends; dependsOnMethods – the input parameters are the names of the methods on which the annotated test depends; Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  4. Tool for Writing Automated Tests Example of Annotations: groups – defines the relationship of the test or class to a particular group; priority – defines the method priority. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  5. Tool for Writing Automated Tests One may utilize built-in TestNG generator in conjunction with ReportNG to document the statements. A sample report is below. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  6. Tool for Writing Automated Tests The utility Apache Ant can be used for building and running the project. It is possible to manage the building process by means of XML-script, also known as Build-file. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  7. Tool for Writing Automated Tests In the first place, this file contains the definition of the project, consisting of separate targets. The targets are comparable with procedures in programming languages ​​and contain activations of tasks. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  8. Tool for Writing Automated Tests Each task is an indivisible, atomic command that performs an elementary action. Certain dependencies can be between the targets - each target is performed only after all targets, on which it depends, had been performed (if they have already been performed previously, they are not performed again). Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  9. clean – removing of the temporary files; deploy - application deployment on the server. compile – compilation of all the classes; Tool for Writing Automated Tests Typical Examples of the Goals Are: Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  10. Tool for Writing Automated Tests A certain set of goals and their interrelation depend on the project specificity. Ant allows to define customized types of tasks by means of creation of Java-classes that implement certain interfaces. One may create autotests utilizing the technology of Selenium 2 in order to automate functional testing or other type of tests. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  11. Tool for Writing Automated Tests Selenium is a framework for performing web site testing, it implements a new approach to validation of web-based applications. Unlike most of the tools that are used during web site testing and that attempt to simulate HTTP requests, Selenium operates in course of web-based testing as if it were a browser. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  12. Tool for Writing Automated Tests When a Selenium automated test is launched, the frame starts a browser and makes the browser perform all the steps from the test, in the same way the user would do it interacting with the application. Specialists in automated testing often utilize Selenium. Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address:154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

  13. Thank You! Office in Ukraine Phone:+380 (472) 5-61-6-51 E-mail: contact (at) qa-testlab.com Address: 154a, Borschagivska str., Kiev, Ukraine http://qatestlab.com/

More Related