Premium Employer

i

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

HCLTech Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

HCLTech Automation Engineer Interview Questions, Process, and Tips

Updated 8 Oct 2024

Top HCLTech Automation Engineer Interview Questions and Answers

  • 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")} ...read more
  • Q2. Which is valid or invalid a. ChromeDriver driver=new ChromeDriver(); b. WebDriver driver=new ChromeDriver(); c. WebDriver driver2=new WebDriver(); driver2=new ChromeDrive ...read more
  • Q3. difference between getwindowhandle and getwindowhandles() and what is output type
View all 10 questions

HCLTech Automation Engineer Interview Experiences

4 interviews found

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 Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.

    Round 1 - Technical 

    (2 Questions)

    • Q1. Find the 2nd largest number in the given array
    • Ans. 

      Find the 2nd largest number in the given array

      • Sort the array in descending order

      • Get the element at index 1, which will be the 2nd largest number

    • Answered by AI
    • Q2. Find the combained charected in the given testing exmple : " Testing Testing Testing" , cobained text is "te"
    • Ans. 

      The combined characters in the given testing example 'Testing Testing Testing' is 'te'.

      • Iterate through the text and check for consecutive characters 'te'.

      • Combine the characters 'te' whenever they are found together.

      • Return the combined text 'te' as the result.

    • Answered by AI

    Skills evaluated in this interview

    Automation Engineer Interview Questions Asked at Other Companies

    asked in GEA Group
    Q1. 16) What is modbus ? Types of modbus? How many slaves we can conn ... read more
    asked in Blue Yonder
    Q2. 1. What is the difference between Absolute & Relative Xpaths?
    Q3. 1. Explain oops concepts in coding. 2. Write a program to find mi ... read more
    Q4. One coding challenge was given to find the number of palindrome w ... read more
    asked in GEA Group
    Q5. 15) What is ASI protocol? How many slaves we can connect to one m ... read more
    Interview experience
    1
    Bad
    Difficulty level
    Hard
    Process Duration
    -
    Result
    Not Selected
    Round 1 - Technical 

    (1 Question)

    • Q1. Java programs with oops concept in it

    I applied via Naukri.com and was interviewed before Jul 2021. There were 2 interview rounds.

    Round 1 - Resume Shortlist 
    Pro Tip by AmbitionBox:
    Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
    View all tips
    Round 2 - One-on-one 

    (3 Questions)

    • Q1. Tell me about yourself
    • Q2. Explain about current project
    • Q3. Asked questions based on skills mentioned in resume

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Always prepare most common interview technical questions.

    HCLTech interview questions for designations

     Automation Test Engineer

     (6)

     Senior Automation Engineer

     (2)

     Python Automation Engineer

     (1)

     Automation Testing

     (2)

     Automation Lead

     (1)

     Automation Tester

     (1)

     Qa Automation Testing Engineer

     (4)

     Senior Automation Test Engineer

     (3)

    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
    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
    3
    Average
    Difficulty level
    Moderate
    Process Duration
    -
    Result
    No response
    Round 1 - Technical 

    (5 Questions)

    • Q1. OOPs concepts and framework implementation
    • Q2. Bubble sort program
    • Ans. 

      Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.

      • Start at the beginning of the array and compare the first two elements. If the first element is greater than the second, swap them.

      • Continue comparing adjacent elements and swapping them if necessary until the end of the array is reached.

      • Repeat this process for each ...

    • Answered by AI
    • Q3. Basic questions on selenium
    • Q4. Custom assertions in selenium
    • Ans. 

      Custom assertions in Selenium allow for creating personalized validation checks in test automation scripts.

      • Custom assertions can be created by extending the Assert class in Selenium.

      • They can be used to validate specific conditions or elements on a web page.

      • Custom assertions can improve test readability and maintainability by encapsulating complex validation logic.

      • Example: Creating a custom assertion to verify the prese

    • Answered by AI
    • Q5. Webdriver questions

    Skills evaluated in this interview

    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

    HCLTech Interview FAQs

    How many rounds are there in HCLTech Automation Engineer interview?
    HCLTech interview process usually has 1-2 rounds. The most common rounds in the HCLTech interview process are Technical, Resume Shortlist and One-on-one Round.
    How to prepare for HCLTech 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 HCLTech. The most common topics and skills that interviewers at HCLTech expect are Selenium, Python, Java, Automation Engineering and Automation Testing.
    What are the top questions asked in HCLTech Automation Engineer interview?

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

    1. what is the output of below code class Animal{ Animal(){ System.out.println(...read more
    2. Which is valid or invalid a. ChromeDriver driver=new ChromeDriver(); b. WebDriv...read more
    3. difference between getwindowhandle and getwindowhandles() and what is output ty...read more

    Tell us how to improve this page.

    HCLTech Automation Engineer Interview Process

    based on 4 interviews

    1 Interview rounds

    • Technical Round
    View more
    Join HCLTech Find your spark and discover what drives you forward
    HCLTech Automation Engineer Salary
    based on 158 salaries
    ₹2.2 L/yr - ₹11.2 L/yr
    At par with the average Automation Engineer Salary in India
    View more details

    HCLTech Automation Engineer Reviews and Ratings

    based on 8 reviews

    3.5/5

    Rating in categories

    3.2

    Skill development

    3.5

    Work-life balance

    3.1

    Salary

    3.4

    Job security

    3.0

    Company culture

    2.7

    Promotions

    3.1

    Work satisfaction

    Explore 8 Reviews and Ratings
    Software Engineer
    23k salaries
    unlock blur

    ₹1.7 L/yr - ₹8 L/yr

    Technical Lead
    21.2k salaries
    unlock blur

    ₹7 L/yr - ₹28 L/yr

    Senior Software Engineer
    15.8k salaries
    unlock blur

    ₹4 L/yr - ₹16.5 L/yr

    Lead Engineer
    14.9k salaries
    unlock blur

    ₹4.2 L/yr - ₹14 L/yr

    Analyst
    14.4k salaries
    unlock blur

    ₹0.8 L/yr - ₹6.5 L/yr

    Explore more salaries
    Compare HCLTech with

    TCS

    3.7
    Compare

    Wipro

    3.7
    Compare

    Accenture

    3.8
    Compare

    Cognizant

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