Automation QA Testing Course Content

Python Vs Java

 



Python vs Java




Ever wondered what happens behind the scenes when you run a Python script or a Java program? Let’s find out:

Python (CPython Runtime):

  • Python source code (.py) is compiled into bytecode automatically in memory.

  • Bytecode can also be cached in .pyc files, making re-runs faster by using the cached version.

  • The Import System loads modules and dependencies.

  • The Python Virtual Machine (PVM) interprets the bytecode line by line, making Python flexible but relatively slower.

Java (JVM Runtime):

  • Java source code (.java) is compiled into .class bytecode using javac.

  • The Class Loader loads bytecode into the Java Runtime Environment (JVM).

  • Bytecode is verified and executed.

  • JVM uses both an Interpreter and a JIT Compiler, frequently used code (hot paths) is converted into native machine code, making Java faster.

Over to you: Do you prefer the flexibility of Python or the performance consistency of Java?

High level screenshots

 










𝐁𝐚𝐬𝐢𝐜𝐬

1. What is an API?
2. What is the difference between SOAP and REST APIs?
3. What are the main HTTP methods used in REST?
4. What is the difference between PUT and POST?
5. What is the purpose of a GET request?
6. Explain the status codes 200, 201, 400, 401, 403, and 404.
7. What is the meaning of status code 500?
8. What is a payload in API communication?
9. What is an endpoint in an API?
10. What is the difference between URI and URL?





Adobe QA Automation Interview – Full 3 Rounds Asked!

📌 Round 1 – Java + Coding + OOPS:

1️⃣ Explain OOPS principles with real examples.
2️⃣ Difference between ArrayList and LinkedHashSet.
3️⃣ Write a Java program to reverse a string without using reverse().
4️⃣ Explain StringBuilder vs StringBuffer.
5️⃣ How do you handle NullPointerException in Java?
6️⃣ Write a program to check if two strings are anagrams.
7️⃣ Explain final, finally, and finalize.
8️⃣ Difference between HashMap and HashTable.
9️⃣ Write a program to rotate an array by K positions.

📌 Round 2 – Selenium + Automation Framework:

1️⃣ Explain Page Object Model and its benefits.
2️⃣ Difference between implicit, explicit, and fluent waits.
3️⃣ How do you handle dynamic elements using XPath?
4️⃣ Explain TestNG annotations and their order.
5️⃣ How do you capture screenshots for failed cases?
6️⃣ Explain DataProvider in TestNG with an example.
7️⃣ Scenario: Login button becomes enabled only after API call – how to handle?
8️⃣ How do you manage parallel execution in Selenium?
9️⃣ Explain use of DesiredCapabilities in Selenium.

📌 Round 3 – API + SQL + Advanced Questions:

1️⃣ SQL: Write a query to fetch the second highest salary without LIMIT/TOP.
2️⃣ How to validate API response body and schema using Rest Assured?
3️⃣ Difference between POST and PUT in REST API.
4️⃣ Scenario: Your API returns 500 Internal Server Error – how do you debug?
5️⃣ How do you handle SSL certificates in API automation?
6️⃣ Explain integration of Selenium scripts with CI/CD tools like Jenkins.
7️⃣ How do you design a Hybrid Automation Framework?
8️⃣ Write a program to find duplicate elements in an array.
9️⃣ Scenario: Application loads slowly causing TimeoutException – how do you fix this?

These are the foundation of testing - whether you're into manual or automation.

Let's break them down once and for all

Test Case - A set of steps to validate a specific feature or functionality.

Test Scenario - A high-level idea or situation to be tested.

Bug / Defect - A mismatch between expected and actual behavior in the application.

Test Plan - A detailed document outlining the scope, strategy, and objectives of testing.

Test Design - The process of designing test cases from requirements.

Test Strategy - A high-level approach that guides how testing will be done across the project.

Testing Types:

◆ Smoke Testing - Basic check to ensure the build is stable for further testing.

Sanity Testing - Quick test to verify a specific feature or bug fix.

Regression Testing - Ensures new changes haven't broken existing features.

Re-Testing - Re-execution of failed test cases after the defect is fixed.

Exploratory Testing - Informal testing based on intuition and experience.

System Testing - End-to-end testing of the entire integrated application.

UAT (User Acceptance Testing) - Final testing done by the client/end users.

Alpha Testing - Internal testing before releasing the product to users.

Beta Testing - External user testing before the final release.

Ad-hoc Testing - Random testing without any formal plan or documentation.






 TCS | Sr. QA Automation | Interview Questions 💻

📍 Manual Testing Questions:
1. Difference between Functional vs Non-Functional Testing.
2. Explain the points you consider while writing a good test case.
3. What is STLC in software testing?
4. Have you worked in Agile methodology? Explain it.
5. What is the Bug Life Cycle? Important things to consider when logging a bug.
6. Difference between Smoke and Sanity Testing.
7. Where do you write your test cases? In Excel or some other tool?
8. Difference between Test Scenario vs Test Case.
9. Difference between Alpha and Beta Testing.
10. How do you decide which test cases to automate?

📍 Automation Testing Questions:
1. Why is String immutable in Java?
2. Difference between Collection and Collections.
3. How many tests have you automated in a single sprint?
4. Exceptions faced while working with Selenium (Give 5 examples).
5. What are tags in Cucumber?
6. Difference between implicit and explicit waits.
7. API status codes difference (400, 401, 201, 200, etc.).
8. Use of Actions class and Select class.
9. Is 100% automation possible?
10. Abstract class vs Interface.
11. Difference between Array and ArrayList.
12. Difference between findElement() vs findElements().
13. Explain the framework you are working on.
14. How to handle alerts in Selenium?
15. Difference between PUT vs PATCH request.
16. What is priority in TestNG?
17. Difference between Scenario vs Scenario Outline in Cucumber BDD.
18. Difference between StringBuffer and StringBuilder.
19. OOPS concepts (Inheritance, Abstraction, Polymorphism, etc.)
20. What is Collection in Java?
21. Asked to share screen and write XPath for a given element.
22. How do you manage test data in your framework?
23. Write Selenium code to take a screenshot.
24. Basic GitHub commands (git add, git commit, git diff).
25. Explain your roles and responsibilities.