Premium Employer

i

This company page is being actively managed by Infosys Team. If you also belong to the team, you can get access from here

Infosys Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Quality Assurance and Automation Tester Interview Questions and Answers

Updated 28 Dec 2024

Infosys Quality Assurance and Automation Tester Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Selenium waits Duplicate element in array
  • Q2. Frames

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-
Round 1 - Technical 

(6 Questions)

  • Q1. Suppose you have a dynamic web page with n number of popup and pages how will you automate it.
  • Ans. 

    Automate dynamic web page with multiple popups and pages by using a combination of tools like Selenium, TestNG, and Page Object Model.

    • Use Selenium WebDriver to interact with elements on the web page.

    • Implement TestNG for test case management and execution.

    • Utilize Page Object Model design pattern to organize and maintain the automation code.

    • Handle popups using WebDriver's switchTo() method.

    • Use explicit waits to handle dy...

  • Answered by AI
  • Q2. How will you automate payment gateway and payment process in selenium webdriver.
  • Ans. 

    Automating payment gateway and process in Selenium WebDriver involves identifying elements, handling pop-ups, and verifying transactions.

    • Identify and interact with payment gateway elements using Selenium WebDriver commands.

    • Handle any pop-ups or alerts that may appear during the payment process.

    • Verify successful completion of the payment transaction by checking for expected outcomes.

    • Use test data to simulate different p...

  • Answered by AI
  • Q3. Suppose you have a page will file upload tab and submit button, how will you automate it.
  • Q4. Write a code to find all links in a page.
  • Ans. 

    Code to find all links in a page

Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Java, selenium, testng
  • Q2. Oops concept of java
  • Ans. 

    Oops concept of java refers to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Polymorphism: Ability of a method to do different things based on the object it is acting upon.

    • Abstraction: Hiding the imp...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(7 Questions)

  • Q1. Write code to implement and explicit wait in Selenium
  • Q2. Write code to implement Robot class in java
  • Q3. How would you locate the Xpath for the "Today's Deal" menu item on Amazon
  • Q4. What will be the memory allocation for the code String str1 = "Automation"; String str2 = new String("Automation");
  • Q5. What is the difference between str1==str2 and str1.equals(str2)
  • Q6. Meaning of status code 401 and 502
  • Q7. Print first 4 letter and last 4 letter of String str="www.amazon.com"
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Diff between background and hooks
  • Q2. Real time interface uses in your framework
  • Q3. Occurances of a character in a string
Round 2 - Technical 

(2 Questions)

  • Q1. Locate elements
  • Q2. Window handling
Round 3 - HR 

(2 Questions)

  • Q1. Project explanation
  • Q2. Domain experience
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Job Fair and was interviewed in Dec 2024. There were 3 interview rounds.

Round 1 - Coding Test 

1.30 hours, Java, selenium

Round 2 - One-on-one 

(1 Question)

  • Q1. Java program to compare 2 strings and check if both matching Selenium Code for Drag and Drop images Selenium code for selecting all the elements from the dropdown Java concepts: OOPs, Inheritance(Multiple ...
Round 3 - Technical 

(1 Question)

  • Q1. AI Generated interview which is same a face-to-face interview. Questions asked on Java concepts, Selenium concepts
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(10 Questions)

  • Q1. What is the output of below code class Animal{ Animal(){ System.out.println("animal is created") } class Dog extends Animal{ Dog(){ System.out.println("Dog is created")} class TestSuper4{ pub...
  • Ans. 

    The output of the code will be 'animal is created' followed by 'Dog is created'.

    • The code defines a class Animal with a constructor that prints 'animal is created'.

    • It also defines a class Dog that extends Animal, with a constructor that prints 'Dog is created'.

    • In the main method, an instance of Dog is created, which will trigger the constructors of both Animal and Dog classes.

  • Answered by AI
  • Q2. Output of this : System.out.println(10+20+"Hello"+30+40) - Explain
  • Q3. Output of this : String name="Hello"; name=name+"There"; system.out.println(name)
  • Ans. 

    The output will be 'HelloThere'

    • Concatenation of 'Hello' and 'There' results in 'HelloThere'

    • The final string is printed using System.out.println()

  • Answered by AI
  • Q4. StringBuffer buffer=new StringBuffer("Hello") buffer.append("There"); System.out.println(buffer);
  • Ans. 

    The code creates a StringBuffer object with 'Hello' and appends 'There' to it before printing the final string.

    • StringBuffer is mutable, so the original 'Hello' string can be modified

    • The append() method adds the specified string to the end of the buffer

    • The final output will be 'HelloThere'

  • Answered by AI
  • Q5. Which is valid or invalid a. ChromeDriver driver=new ChromeDriver(); b. WebDriver driver=new ChromeDriver(); c. WebDriver driver2=new WebDriver(); driver2=new ChromeDriver();
  • Ans. 

    Option a is valid, option b is valid, option c is invalid.

    • Option a is valid because ChromeDriver is a subclass of WebDriver, so it can be assigned to a WebDriver reference.

    • Option b is valid because ChromeDriver is a subclass of WebDriver, so it can be instantiated using a WebDriver reference.

    • Option c is invalid because WebDriver is an interface and cannot be instantiated directly. It can only be used as a reference typ

  • Answered by AI
  • Q6. Program to sort the input in descending order without using inbuild method/functions
  • Ans. 

    Sort input array of strings in descending order without using inbuilt functions

    • Iterate through the array and compare each element with the rest to find the largest element

    • Swap the largest element with the first element, then repeat the process for the remaining elements

    • Continue this process until the array is sorted in descending order

  • Answered by AI
  • Q7. Difference between findElement and findElements
  • Ans. 

    findElement returns the first matching element on the page, while findElements returns a list of all matching elements.

    • findElement returns a single WebElement matching the locator provided

    • findElements returns a list of WebElements matching the locator provided

    • findElement will throw NoSuchElementException if no element is found, while findElements will return an empty list

  • Answered by AI
  • Q8. Difference between getwindowhandle and getwindowhandles() and what is output type
  • Ans. 

    getwindowhandle returns the handle of the current window, getwindowhandles() returns handles of all open windows

    • getwindowhandle returns a single window handle, while getwindowhandles() returns a set of window handles

    • getwindowhandle is used to switch between windows in Selenium WebDriver

    • Output type of getwindowhandle is String, while output type of getwindowhandles() is Set

Answered by AI
  • Q9. Question on finding the xpaths on website
  • Q10. Difference between String and StringBuilder?
  • Ans. 

    String is immutable, while StringBuilder is mutable and more efficient for concatenating strings.

    • String is immutable, meaning its value cannot be changed once it is created.

    • StringBuilder is mutable, allowing for modifications to the string without creating a new object.

    • StringBuilder is more efficient for concatenating multiple strings as it does not create new objects each time.

    • Example: String str = "Hello"; StringBuil

  • Answered by AI

    Skills evaluated in this interview

    Interview experience
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    No response

    I applied via Referral and was interviewed in Jul 2024. There were 2 interview rounds.

    Round 1 - Technical 

    (3 Questions)

    • Q1. Multiple questions on Linux , how to get a process id, how to kill a process, what is difference between process and thread, what is the difference between concurrent and parallel process etc.
    • Q2. Few scenario based questions around linux systems, how will you trouble shoot if client not able to connect to servers running an appilcation.
    • Q3. Testing related questions, what is diff between Performance and Scale testing, where to use which one
    Round 2 - Technical 

    (2 Questions)

    • Q1. Coding questions basics, related to file handling, parsing files, etc.
    • Q2. Linux based questions - scenarios where multiple clients trying to write to same file, how till integrity of file be maintained and how will server manager the data does not get corrupted.
    Interview experience
    5
    Excellent
    Difficulty level
    Easy
    Process Duration
    2-4 weeks
    Result
    Selected Selected

    I was interviewed in May 2024.

    Round 1 - Technical 

    (10 Questions)

    • Q1. Basics of Selenium(Windowhandles,Screenshot,Actions class,Selector Class,) with syntax
    • Q2. Asked to write Automation Framework architecture
    • Q3. What are the different gherkin words
    • Ans. 

      Gherkin words are keywords used in Gherkin syntax for writing test scenarios in Behavior Driven Development (BDD).

      • Feature

      • Scenario

      • Given

      • When

      • Then

      • And

      • But

    • Answered by AI
    • Q4. What we will use in plugin
    • Ans. 

      Plugins are used to extend the functionality of a software application.

      • Plugins are additional software components that can be added to an existing application to provide new features or functionalities.

      • They can be used to customize the behavior of the application without modifying its core code.

      • Examples of plugins include browser extensions, WordPress plugins, and Adobe Photoshop filters.

    • Answered by AI
    • Q5. How to run runner class
    • Ans. 

      To run a runner class, you can use a test runner tool like JUnit or TestNG in your automation testing framework.

      • Use a test runner tool like JUnit or TestNG to execute the runner class

      • Add the @RunWith annotation in JUnit or specify the runner class in TestNG XML file

      • Make sure the runner class includes the necessary setup and teardown methods for test execution

    • Answered by AI
    • Q6. Java oops, strings , exception handling
    • Q7. How to run parallel mode in testng,groups,priority
    • Ans. 

      TestNG allows running tests in parallel mode using groups and priorities.

      • Use 'parallel' attribute in testng.xml file to specify parallel mode (e.g. )

      • Use 'groups' attribute in testng.xml file to group tests that should run in parallel (e.g. )

      • Use 'priority' attribute in testng.xml file to specify the order in which tests should run (e.g.

    • Answered by AI
    • Q8. Write Merge Sort Programme
    • Ans. 

      Merge Sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges them back together.

      • Divide the array into two halves recursively

      • Sort each half using Merge Sort recursively

      • Merge the sorted halves back together

    • Answered by AI
    • Q9. Write Reverse a string programme
    • Ans. 

      Program to reverse a string using array of characters

      • Create an array of characters from the input string

      • Iterate through the array in reverse order and append each character to a new string

      • Return the reversed string

    • Answered by AI
    • Q10. Write syntax of data driven testing (XSSF Workbook) Syntax
    • Ans. 

      Data driven testing syntax using XSSF Workbook

      • Create XSSFWorkbook object

      • Get the sheet from the workbook

      • Iterate through rows and columns to fetch test data

      • Use test data in your test cases

    • Answered by AI
    Round 2 - Technical 

    (1 Question)

    • Q1. Selenium basics ( window handles , screenshot,reports, file upload and download, Add extension, Headless mode)

    Interview Preparation Tips

    Interview preparation tips for other job seekers - I would say it is easy to crack Service based Companies. Just prepare all the concepts of Selenium, Java,TestNG,Maven,GitHub and basic 20 Programmes.

    For Selenium and BDD(Cucumber)Learn Rahul Shetty Udemy course
    For Java search and learn top 200 interview questions.
    Basic programmes like ( Duplicate characters,reverse string,unique characters, string anagram, Bubble sort , merge sort, quick sort and some more) .

    How I switched from my current company.
    Do’s
    Uninstall social media apps.
    Stop watching movies.
    Stop eating Junk food.
    Study at least 1-2 hours daily.
    Listen motivational songs.
    Make connections on LinkedIn.
    Make single page resume by creating on overleaf website.

    How to apply to companies.
    Don’t apply directly on company website(Big mistake)
    Send resumes to hr directly(u will get their mails on some posts on LinkedIn)
    Ask referral on LinkedIn.
    Update Naukri daily 9am and put notice period to 30 or 15days.

    Skills evaluated in this interview

    Interview experience
    5
    Excellent
    Difficulty level
    -
    Process Duration
    -
    Result
    -

    I applied via Approached by Company

    Round 1 - Technical 

    (2 Questions)

    • Q1. Tell me your Self introduce
    • Q2. Tell me project structure
    • Ans. 

      Project structure refers to the organization of files, folders, and resources within a software project.

      • Main folders like src (source code), test (test cases), lib (libraries), docs (documentation)

      • Subfolders for specific modules or components

      • Configuration files like pom.xml, package.json, etc.

      • Build scripts like Jenkinsfile, Dockerfile

      • Version control files like .gitignore, .gitattributes

      • README.md file for project overvi

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Skill preparation

    Infosys Interview FAQs

    How many rounds are there in Infosys Quality Assurance and Automation Tester interview?
    Infosys interview process usually has 1 rounds. The most common rounds in the Infosys interview process are Technical.

    Tell us how to improve this page.

    Infosys Quality Assurance and Automation Tester Interview Process

    based on 1 interview

    Interview experience

    5
      
    Excellent
    View more
    Join Infosys Creating the next opportunity for people, businesses & communities

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.4k Interviews
    Accenture Interview Questions
    3.8
     • 8.2k Interviews
    Wipro Interview Questions
    3.7
     • 5.6k Interviews
    Cognizant Interview Questions
    3.8
     • 5.6k Interviews
    Capgemini Interview Questions
    3.7
     • 4.8k Interviews
    Tech Mahindra Interview Questions
    3.5
     • 3.8k Interviews
    HCLTech Interview Questions
    3.5
     • 3.8k Interviews
    Genpact Interview Questions
    3.8
     • 3.1k Interviews
    LTIMindtree Interview Questions
    3.8
     • 3k Interviews
    IBM Interview Questions
    4.0
     • 2.4k Interviews
    View all
    Infosys Quality Assurance and Automation Tester Salary
    based on 4 salaries
    ₹3.1 L/yr - ₹4.5 L/yr
    35% less than the average Quality Assurance and Automation Tester Salary in India
    View more details
    Technology Analyst
    55.8k salaries
    unlock blur

    ₹3 L/yr - ₹11 L/yr

    Senior Systems Engineer
    50.2k salaries
    unlock blur

    ₹2.8 L/yr - ₹8 L/yr

    System Engineer
    39.3k salaries
    unlock blur

    ₹2.5 L/yr - ₹5.3 L/yr

    Technical Lead
    30.7k salaries
    unlock blur

    ₹5.2 L/yr - ₹19.5 L/yr

    Senior Associate Consultant
    27.5k salaries
    unlock blur

    ₹4.5 L/yr - ₹16.6 L/yr

    Explore more salaries
    Compare Infosys with

    TCS

    3.7
    Compare

    Wipro

    3.7
    Compare

    Cognizant

    3.8
    Compare

    Accenture

    3.8
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview