Upload Button Icon Add office photos

Filter interviews by

Genpact Automation Engineer Interview Questions and Answers

Updated 28 Dec 2020

Genpact Automation Engineer Interview Experiences

1 interview found

Interview Questionnaire 

3 Questions

  • Q1. How to automate hybrid and native mobile applications
  • Ans. 

    To automate hybrid and native mobile applications, use tools like Appium and Selenium for testing and UI automation.

    • Use Appium for automating native and hybrid mobile apps

    • Use Selenium for automating web views in hybrid apps

    • Identify elements using unique identifiers like resource-id, class name, etc.

    • Use XPath or CSS selectors to locate elements

    • Write test scripts in programming languages like Java, Python, etc.

    • Use emulat...

  • Answered by AI
  • Q2. What is array list and linked list where used in ur framework
  • Ans. 

    Array list and linked list are data structures used in programming.

    • Array list is a dynamic array that can grow or shrink in size. It is used when random access is required.

    • Linked list is a collection of nodes where each node contains a reference to the next node. It is used when frequent insertions and deletions are required.

    • In automation frameworks, array list can be used to store test data or test steps while linked ...

  • Answered by AI
  • Q3. Explain selenium framework
  • Ans. 

    Selenium framework is an open-source automation testing tool used for web applications.

    • Selenium framework supports multiple programming languages like Java, Python, C#, etc.

    • It consists of four components: Selenium IDE, Selenium RC, WebDriver, and Selenium Grid.

    • It allows for cross-browser testing and supports parallel test execution.

    • Selenium framework can be integrated with other testing tools like TestNG, JUnit, etc.

    • It...

  • Answered by AI

Skills evaluated in this interview

Automation Engineer Jobs at Genpact

View all

Interview questions from similar companies

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
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
    -

    I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.

    Round 1 - Technical 

    (2 Questions)

    • Q1. Can you tell me about yourself?
    • Ans. 

      I am a highly skilled Automation Engineer with a strong background in programming and problem-solving.

      • Experienced in developing automated test scripts using tools like Selenium and Appium

      • Proficient in programming languages such as Java, Python, and C#

      • Familiar with CI/CD pipelines and version control systems like Git

      • Strong analytical skills and attention to detail

      • Excellent communication and teamwork abilities

    • Answered by AI
    • Q2. Topic related to Locators, Waits,Handel Dropdown Menu, OOPS concepts, frame work used in previous organization
    Round 2 - Technical 

    (2 Questions)

    • Q1. Tell me about yourself
    • Ans. 

      I am a highly skilled Automation Engineer with a strong background in programming and problem-solving.

      • Experienced in designing, developing, and implementing automated testing solutions

      • Proficient in programming languages such as Python, Java, and C++

      • Familiar with various automation tools like Selenium and Jenkins

      • Strong analytical skills and attention to detail

      • Excellent communication and teamwork abilities

    • Answered by AI
    • Q2. FrameWoek used, Locators, How to take Screenshot in Selenium,Java program, Handel dropdown menu

    Automation Engineer Interview Questions & Answers

    Infosys user image Sangeetha Prabhakaran

    posted on 5 Jan 2025

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

    I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.

    Round 1 - Technical 

    (2 Questions)

    • Q1. Some basic oops concepts
    • Q2. Java program to alternate words in a string
    Round 2 - Technical 

    (1 Question)

    • Q1. Yet to attend the 2nd round
    Interview experience
    4
    Good
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (1 Question)

    • Q1. Wap to sort an array
    Round 2 - HR 

    (1 Question)

    • Q1. Strength nd weakness
    Interview experience
    3
    Average
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    Not Selected

    I applied via Referral and was interviewed in May 2024. There was 1 interview round.

    Round 1 - One-on-one 

    (5 Questions)

    • Q1. SDLC , Defect management tool
    • Q2. Basic Java and selenium questions
    • Q3. Project related questions
    • Q4. Introduction of ourselves
    • Q5. What I like and dislike about IT
    • Ans. 

      I like the constant learning and problem-solving in IT, but dislike the long hours and high stress levels.

      • Like: Constant learning opportunities

      • Like: Problem-solving challenges

      • Dislike: Long working hours

      • Dislike: High stress levels

    • Answered by AI
    Interview experience
    4
    Good
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Aptitude Test 

    Multiple choice questions and answers given

    Round 2 - HR 

    (2 Questions)

    • Q1. Ready to relocate
    • Ans. 

      Yes, I am open to relocating for the right opportunity.

      • I am willing to relocate for the right job opportunity that aligns with my career goals.

      • I am open to exploring new locations and experiencing different cultures.

      • I understand the importance of being flexible and adaptable in the field of automation engineering.

      • I have relocated for previous job opportunities and have successfully adjusted to new environments.

    • Answered by AI
    • Q2. About projects and assignments
    Interview experience
    4
    Good
    Difficulty level
    Easy
    Process Duration
    Less than 2 weeks
    Result
    No response

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

    Round 1 - Technical 

    (1 Question)

    • Q1. Basics oops selenium waits exception handling

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Prepare basics of java selenium
    Interview experience
    4
    Good
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (1 Question)

    • Q1. Questions related to oops concepts

    Genpact Interview FAQs

    How to prepare for Genpact Automation Engineer interview?
    Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Genpact. The most common topics and skills that interviewers at Genpact expect are Automation Testing, Java, Selenium, SQL and Testng.
    What are the top questions asked in Genpact Automation Engineer interview?

    Some of the top questions asked at the Genpact Automation Engineer interview -

    1. What is array list and linked list where used in ur framewo...read more
    2. How to automate hybrid and native mobile applicatio...read more
    3. Explain selenium framewo...read more

    Tell us how to improve this page.

    Genpact Automation Engineer Interview Process

    based on 1 interview

    Interview experience

    5
      
    Excellent
    View more
    Genpact Automation Engineer Salary
    based on 17 salaries
    ₹4 L/yr - ₹11.9 L/yr
    29% more than the average Automation Engineer Salary in India
    View more details

    Genpact Automation Engineer Reviews and Ratings

    based on 1 review

    5.0/5

    Rating in categories

    5.0

    Skill development

    5.0

    Work-life balance

    4.0

    Salary

    5.0

    Job security

    5.0

    Company culture

    4.0

    Promotions

    4.0

    Work satisfaction

    Explore 1 Review and Rating
    QA ETL Automation engineer

    Hyderabad / Secunderabad,

    Bangalore / Bengaluru

    +1

    5-7 Yrs

    ₹ 5-21 LPA

    Explore more jobs
    Process Developer
    36.2k salaries
    unlock blur

    ₹1 L/yr - ₹6.8 L/yr

    Process Associate
    28k salaries
    unlock blur

    ₹0.9 L/yr - ₹6.5 L/yr

    Assistant Manager
    19.8k salaries
    unlock blur

    ₹4 L/yr - ₹14.1 L/yr

    Management Trainee
    19.2k salaries
    unlock blur

    ₹1.6 L/yr - ₹8.5 L/yr

    Manager
    7.4k salaries
    unlock blur

    ₹5.7 L/yr - ₹24 L/yr

    Explore more salaries
    Compare Genpact with

    Accenture

    3.9
    Compare

    Capgemini

    3.7
    Compare

    TCS

    3.7
    Compare

    Cognizant

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