Perl is a programming/Scripting language that combines the modern robustness of Java with the expedient pragmatism of scripting languages. It offers both the low-level system access of C and the high-level elegance of Lisp. One of its mottoes is, “There’s More Than One Way To Do It.” Automation is the process of making a process or functionality, implemented and run by the software code written for the specific purposes. Perl is one of the language used for automation because of its many ways to do same thing. This course provides a brief introduction to perl and how to use it in test automation. Brief class practicals and assignments will give students hands-on experience writing, debugging, and revising Perl programs.
1 month
8 Weekends50000
Class Room Training
1.Introduction of Automation |
Automation testing |
Uses |
Languages and tools used. |
2.Introduction to PERL |
What is Perl? |
Perl’s alternatives |
Installation |
3.Perl Semantics and Building blocks |
data types |
Control structures |
3.Perl scalar data |
Numbers |
Strings |
Scalar variables |
Interpolation |
Related functions |
4.Arrays in Perl |
List context |
Array definition |
Array Manipulation |
Related functions |
5.Hashes in Perl |
Hash definition |
Uses of Hash |
Hash Manipulation |
HASH functions |
6.Sub-routines |
Subroutine definition |
Using a subroutine |
AUTOLOAD |
7.Perl File and Input/Output: |
Files |
Filesystem related functions |
File permission functions |
Related Functions |
Command line interaction |
8.Perl debugging and Error Handling |
Warnings |
Pragmas |
Functions |
Eval |
Exceptions |
Signals |
9.Regular Expressions/Pattern matching |
Match Operators |
Special characters |
Pattern matching options |
Substitution |
Translation |
10.References |
Scalar References |
Array References |
Hash References |
Subroutine References |
File handle References |
11.System Interaction |
System function |
Exec, stat |
Back ticks |
Other functions |
Process Management |
S.No | Chapter | Hours |
---|---|---|
1 | Introduction of Automation: | 1 hours |
2 | Introduction to PERL | 1 hours |
3 | Perl Semantics and Building blocks: | 3 hours |
4 | Perl scalar data | 2 hours |
5 | Arrays in Perl | 2 hours |
6 | Hashes in Perl | 2 hours |
7 | Perl File and Input/output: | 2 hours |
8 | Perl debugging and Error Handling | 3 hours |
9 | Regular Expressions/Pattern matching: | 1 hours |
10 | References: | 3 hours |
11 | System Interaction | 2 hours |
12 | Perl scalar data | 2 hours |
13 | LAB | 6 hours |
14 | Test | 3 hours |
Total | 32 hours |