Test Automation Assignment 2
Test Automation Assignment 2
Maximum Marks: 64
Note: Late submissions will not be accepted and will be given zero marks.
Instructions:
1. Attempt all the questions.
2. Illustrate your answers with suitable examples and diagrams, wherever necessary.
3. Write relevant question numbers before writing the answer.
Sec-B
1.[CO1] How to group and use dependency in test cases in TestNG explain with example.
[7 Marks]
2.[CO1] Explain the purpose of the TestNG XML suite file. Provide an example of how it can be
configured to run multiple test classes and methods. [7 Marks]
3.[CO1] Explain @Parameter and @DataProvider use cases with an example. [7 Marks]
Sec-C
1.[CO1] Explain the selenium architecture and its components with proper diagram.
[11 Marks]
2.[CO1] What are TestNG annotations and TestNG suite? Explain the most commonly used
annotations in TestNG with proper examples?
[11 Marks]
3.[CO1] What is Apache Ant, and why is it important in software development? Describe the typical
structure of an Ant build file (build.xml). What essential elements does it typically contain? List and
explain some common built-in tasks in Ant, providing examples of how they are used.
[11 Marks]