---Advertisement---

Cognizant | QA Automation | Interview Questions

By: Rohit BARAHATE

On: July 3, 2026

---Advertisement---

๐—ฅ๐—ผ๐˜‚๐—ป๐—ฑ ๐Ÿญ: ๐—ง๐—ฒ๐—ฐ๐—ต๐—ป๐—ถ๐—ฐ๐—ฎ๐—น & ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€

1. Introduce yourself.
2. How can you execute Selenium test cases on a remote machine?
3. How do you pass the browser name as an argument from a Jenkins file to a Cucumber step definition?
4. Which TestNG listeners have you used in your automation framework?
5. In Cucumber, how can you ensure that a specific piece of code runs only before the first scenario in a feature file?
6. Given an array {6, 8, 11, 6, 7, 18} and a target sum of 17, write a program to find the indices of any two elements whose sum equals the target.
7. What is the purpose of interfaces in Java? Provide examples of how you have implemented them in your test automation framework.
8. Write an XPath expression to locate the label named “Senior Citizen” on the SpiceJet UI.
9. How do you integrate and execute your Selenium tests in a CI/CD pipeline?
10. What approach would you take to identify and validate broken links on a web page?

๐—ฅ๐—ผ๐˜‚๐—ป๐—ฑ ๐Ÿฎ: ๐—”๐—ฑ๐˜ƒ๐—ฎ๐—ป๐—ฐ๐—ฒ๐—ฑ ๐—๐—ฎ๐˜ƒ๐—ฎ, ๐—ฅ๐—˜๐—ฆ๐—ง ๐—”๐—ฃ๐—œ, ๐—ฎ๐—ป๐—ฑ ๐—ง๐—ฒ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—–๐—ผ๐—ป๐—ฐ๐—ฒ๐—ฝ๐˜๐˜€

1. Explain the static keyword in Java and its primary use cases.
2. What is the purpose of a constructor in Java? How does it differ from a method?
3. Write a Java program to determine the most frequently occurring character and the least frequently occurring character in a given string.
4. Write an XPath expression to locate a specific cell in a web table based on the value of a neighboring cell.
5. A particular text can appear in any cell within a web table. How would you locate it dynamically?
6. What is dependency injection in Rest Assured? How does it enhance API testing?
7. Explain the difference between HTTP 401 (Unauthorized) and HTTP 403 (Forbidden) status codes.



Rohit BARAHATE

Rohit BARAHATE is a Quality Engineering Specialist with 4.6+ years of experience in the IT industry. With a network of over 120K+ LinkedIn connections and actively supports job seekers by sharing referral opportunities and guiding them toward successful careers.

Join WhatsApp

Join Now

๐’๐ž๐ฅ๐ž๐ง๐ข๐ฎ๐ฆ-๐‰๐š๐ฏ๐š & ๐๐ฅ๐š๐ฒ๐ฐ๐ซ๐ข๐ ๐ก๐ญ-๐“๐ฒ๐ฉ๐ž๐’๐œ๐ซ๐ข๐ฉ๐ญ ๐“๐ซ๐š๐ข๐ง๐ข๐ง๐  ๐ฌ๐ญ๐š๐ซ๐ญ๐ฌ

Join Now

Join LinkedIN (ROHIT BARAHATE PATIL)

Join Now

Join LinkedIN (VISHAL PATIL)

Join Now

Related Posts

CGI โ€“ QA Automation Interview Questions

Read More

๐— ๐—ผ๐˜€๐˜ ๐—ค๐—” ๐—ถ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„๐—ฒ๐—ฟ๐˜€ ๐—ฒ๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฎ๐˜๐—ฒ ๐—ฐ๐—ฎ๐—ป๐—ฑ๐—ถ๐—ฑ๐—ฎ๐˜๐—ฒ๐˜€ ๐˜๐—ต๐—ฟ๐—ผ๐˜‚๐—ด๐—ต ๐—ฑ๐—ฒ๐—ณ๐—ฒ๐—ฐ๐˜, ๐—ฐ๐—ผ๐—บ๐—บ๐˜‚๐—ป๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป, ๐—ฎ๐—ป๐—ฑ ๐˜ƒ๐—ฎ๐—น๐—ถ๐—ฑ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐˜€๐—ฐ๐—ฒ๐—ป๐—ฎ๐—ฟ๐—ถ๐—ผ๐˜€.

Read More

Morgan Stanley | ๐—ฆ๐——๐—˜๐—ง | ๐—ค๐—” ๐—”๐˜‚๐˜๐—ผ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒw | ๐—ฅ๐—ผ๐—น๐—ฒ – ๐—ฆ๐——๐—˜๐—ง ๐—œ | ๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐—ป๐˜€๐—ฎ๐˜๐—ถ๐—ผ๐—ป – ๐Ÿฎ๐Ÿฎ-๐Ÿฏ๐Ÿฌ ๐—Ÿ๐—ฃ๐—” |

Read More

Mphasis QA Automation Interview Questions (6+ Years)

Read More

Nagarro | SDET | QA Automation Interview Experience (6โ€“9 Years)

Read More

PwC ๐—ฆ๐——๐—˜๐—ง ๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ (2โ€“4 years): ๐Ÿฏ ๐—ฅ๐—ผ๐˜‚๐—ป๐—ฑ๐˜€, ๐Ÿญ๐Ÿต ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป๐˜€

Read More

Leave a Comment