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 Tester

     (1)

     Automation Lead

     (1)

     Qa Automation Testing Engineer

     (4)

     Senior Automation Test Engineer

     (3)

    Interview questions from similar companies

    Interview Questionnaire 

    1 Question

    • Q1. A-Z in MySQL, programming languages(only concepts)

    Interview Questionnaire 

    2 Questions

    • Q1. Tell me your roles and responsibility currently handling in your organization.
    • Q2. Why do you looking for change?

    Interview Preparation Tips

    Interview preparation tips for other job seekers - 1.Prepare and attend the interview
    2.Be always in calm and relaxed mode even you not prepared anything for interview.
    3.Answer slowly and clearly.
    4.If you are not able to answer for some questions, tell that you are not sure about that concept and try to give an answer.
    5.Have a smile in face. Don't get panic.
    6.Take a long breath b4 attending the interview.

    Contact me on XXXXX if you have more questions and need help.

    I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.

    Interview Questionnaire 

    5 Questions

    • Q1. Wap of bubble sort
    • 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 from the first element and compare it with the next element

      • If the next element is smaller, swap them

      • Repeat this process for all elements in the array

      • Continue this process until no more swaps are needed

    • Answered by AI
    • Q2. Wap of prime number
    • Ans. 

      A program to print all prime numbers

      • Take input from user for range of numbers

      • Loop through the range and check if each number is prime

      • Print the prime numbers

    • Answered by AI
    • Q3. What is hashmap?
    • Ans. 

      Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.

      • Hashmap uses a hash function to map keys to indices in an array.

      • Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.

      • Examples of hashmap implementations include Java's HashMap class and Python's dict type.

    • Answered by AI
    • Q4. What is inheritance
    • Ans. 

      Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.

      • Inheritance allows code reuse and promotes code organization.

      • The existing class is called the parent or superclass, and the new class is called the child or subclass.

      • The child class inherits all the properties and methods of the parent class and can also add new properties and methods.

      • For...

    • Answered by AI
    • Q5. Call by value and call by reference

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Be yourself

    Skills evaluated in this interview

    I applied via Company Website and was interviewed in Dec 2020. There was 1 interview round.

    Interview Questionnaire 

    1 Question

    • Q1. Self introduction

    Interview Preparation Tips

    Interview preparation tips for other job seekers - say individual ideas,plans, story's.say different opinions,speek confidentially, correctly answer Yes or no questions, correctly say interested and confidential job,

    I applied via Superset and was interviewed before Aug 2021. There were 2 interview rounds.

    Round 1 - Aptitude Test 

    Aptitude consists of general thinking, pseudo code, and game aptitude

    Round 2 - Technical 

    (3 Questions)

    • Q1. Resume mentioned technologies are going to ask you in the interview.
    • Q2. Any knowledge about web technologies and questions on Angular, JavaScript and java.
    • Q3. How would you manage your team. If you are on leave and you don't find any network to connect with them.
    • Ans. 

      Delegate responsibilities and establish clear communication channels for team members to handle situations in my absence.

      • Assign clear roles and responsibilities to each team member

      • Establish communication channels and protocols for emergencies

      • Ensure team members have access to necessary resources and information

      • Provide training and support to team members to handle unexpected situations

      • Regularly check in with team membe...

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Make sure you perform well. Try mock interviews before your main interview. Try to fill out the resume with the technologies that you know well.

    I applied via Company Website and was interviewed in May 2021. There was 1 interview round.

    Interview Questionnaire 

    1 Question

    • Q1. What is a table in SQL
    • Ans. 

      A table in SQL is a collection of related data organized in rows and columns.

      • Tables are used to store data in a structured way.

      • Each table has a unique name and consists of columns and rows.

      • Columns define the type of data that can be stored in them.

      • Rows represent individual records in the table.

      • Tables can be queried using SQL commands to retrieve, insert, update or delete data.

    • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Review some key terms for SQL

    Skills evaluated in this interview

    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 167 salaries
    ₹2.2 L/yr - ₹10 L/yr
    12% less than 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
    23.4k salaries
    unlock blur

    ₹1.9 L/yr - ₹8 L/yr

    Technical Lead
    21.5k salaries
    unlock blur

    ₹7 L/yr - ₹28 L/yr

    Senior Software Engineer
    16k salaries
    unlock blur

    ₹4.5 L/yr - ₹17 L/yr

    Lead Engineer
    15.8k salaries
    unlock blur

    ₹4.1 L/yr - ₹14 L/yr

    Analyst
    14.7k 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.7
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview