Infosys interview question

Selenium Java Testng API testing