Presentation is loading. Please wait.

Presentation is loading. Please wait.

Scripting for QA Engineers

Similar presentations


Presentation on theme: "Scripting for QA Engineers"— Presentation transcript:

1 Scripting for QA Engineers
David Shtern, Ph.D.

2 Common tasks QA Engineers face
Administrative tasks – copying folders, files, creating directories, checking for new builds, backing up files etc., Installation tests– installing applications, verifying installed modules, files and directories, Log files analyses – analyzing log files, comparing with standard (baseline) values etc. Running smoke/acceptance tests automatically Misc. - Automating various activities. ©2009 by David Shtern, Ph.D.

3 Tools used AutoIt Scripting languages – Perl, Python, Ruby (and some others) Windows Shell Scripting (batch files) Test automation tools Applications/scripts created with other programming languages ©2009 by David Shtern, Ph.D.

4 Task -1 We need to create a script which:
Checks if new build is available (on shared drive) and if yes – download it from mapped directory, install the application run automated script. ©2009 by David Shtern, Ph.D.

5 Task 2 Analyze test log files and compare with baseline.
See Jan20Test.log and TestBaseline.log. Test is considered failed if values in log and baseline files differ more than 10%. ©2009 by David Shtern, Ph.D.

6 Task 3 After installation Installer shall place group of files into directory C:\windows (see file FileListing.info). Our task – verify that files are installed correctly and file sizes match expected ones. ©2009 by David Shtern, Ph.D.

7 Task 4 We have directory structure with various files in all directories. We need to iterate directories looking for particular file(s). ©2009 by David Shtern, Ph.D.

8 Task 5 There are two files containg some entries. We need to compare two files finding entries which are present in file1 and absent in file2. And other way round. ©2009 by David Shtern, Ph.D.

9 Task 6 We need to programmatically remove directory three completely. Directories may contain files. ©2009 by David Shtern, Ph.D.

10 Task 7 We need to create a SOAP client so we could test Web service -programmatically ©2009 by David Shtern, Ph.D.

11 Task 8 We need to write an application which will validate XML against XMS Schema ©2009 by David Shtern, Ph.D.

12 Task 9 We need to create a script which will periodically check if our Web site is up and running ©2009 by David Shtern, Ph.D.


Download ppt "Scripting for QA Engineers"

Similar presentations


Ads by Google