Filter interviews by
I applied via Naukri.com and was interviewed before Sep 2021. There were 3 interview rounds.
Database connection in UFT can be established using ADO or ODBC.
Use ADO or ODBC connection string to connect to the database
Create a connection object and open the connection
Execute SQL queries using the connection object
Close the connection after use
To read text from Excel file, use a library like Apache POI or OpenCSV.
Use a library like Apache POI or OpenCSV to read Excel files
Identify the sheet and cell containing the text to be read
Extract the text using the appropriate method
Store the text in an array of strings
Reverse a string without using strRev function.
Create an empty string to store the reversed string.
Loop through the original string from the end to the beginning.
Append each character to the empty string.
Return the reversed string.
Alternatively, convert the string to an array of characters, reverse the array, and then join the characters back into a string.
Debugging UFT scripts involves identifying and resolving errors in the code.
Use the UFT Debug Viewer to step through the script and identify errors
Check the application under test for any issues that may be causing errors
Use breakpoints to pause the script at specific points and examine variables
Review the UFT log files for error messages and stack traces
Use the UFT Object Spy to verify object properties and identify a
What people are saying about HCL Group
I applied via Recruitment Consulltant and was interviewed in Nov 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Aug 2024. There was 1 interview round.
Cucumber options are configuration settings used in Cucumber to customize test execution.
Cucumber options can be used to specify features, tags, formats, and more in the test execution
Examples include specifying tags to run specific scenarios, setting output formats for test reports, and defining feature files to run
In my project, I have used Oops concepts like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Ability to present the same interface for different data types.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the implementation details and showing only the necessary features.
The find elements method returns a list of web elements matching a specified locator. Window handles return type is a set of strings representing unique identifiers for browser windows.
Find elements method returns a list of web elements matching a specified locator
Window handles return type is a set of strings representing unique identifiers for browser windows
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
Yes, constructors are non-static methods used to initialize objects of a class.
Constructors are special methods used to initialize objects of a class.
They are non-static, meaning they are called on an instance of the class.
Constructors have the same name as the class and do not have a return type.
Example: public class Test { public Test() { // constructor code } }
To get elements from a drop down, I use Selenium WebDriver's Select class
Use Select class from Selenium WebDriver to interact with drop down elements
Identify the drop down element using its locator
Instantiate a Select object with the drop down element
Use Select object's methods like selectByVisibleText(), selectByValue(), selectByIndex() to choose an option
Select is a class in Selenium WebDriver.
Select is used for handling dropdowns in Selenium WebDriver.
It provides methods to select options by visible text, value, or index.
Example: Select dropdown = new Select(driver.findElement(By.id("dropdown")));
Example: dropdown.selectByVisibleText("Option 1");
To read data from Excel, use libraries like Apache POI or Openpyxl in Python.
Use libraries like Apache POI or Openpyxl in Python to read data from Excel files
Identify the Excel file and specify the sheet and cell from which to read data
Use appropriate methods provided by the library to extract data from the specified cell or range
I have used various types of test automation frameworks including data-driven, keyword-driven, and behavior-driven frameworks.
Data-driven framework: Used to separate test data from test scripts, allowing for easier maintenance and scalability. Example: TestNG with Excel or CSV files.
Keyword-driven framework: Utilizes keywords to represent actions or operations, making test scripts more readable and reusable. Example: R...
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array is a fixed-size data structure in Java, while ArrayList is a dynamic-size data structure.
Arrays can hold primitive data types and objects, while ArrayList can only hold objects.
Arrays require a specified size during initialization, while ArrayList can dynamically resize itself.
Arrays use square brackets [] for declaratio...
Array list stores elements in contiguous memory locations, while linked list stores elements in nodes with pointers to the next node.
Array list allows random access to elements based on index, while linked list requires traversal from the beginning to access elements.
Insertions and deletions are faster in linked list as it only requires updating pointers, while in array list it may require shifting elements.
Array list ...
Challenges in automation include complex test scenarios, maintenance of scripts, and compatibility issues.
Complex test scenarios require thorough planning and execution.
Maintenance of scripts is essential to keep them up-to-date with application changes.
Compatibility issues arise when automation tools do not support all technologies used in the application.
Different types of exceptions include checked, unchecked, runtime, and custom exceptions.
Checked exceptions are checked at compile time and must be handled using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled using try-catch or left unhandled.
Runtime exceptions are unchecked exceptions that occur at runtime, such as NullPointerException or ArrayIndexOutOfBoundsExcept...
I use a combination of tools such as Jira, TestRail, and Excel for reporting.
Jira for tracking bugs and issues
TestRail for test case management and execution results
Excel for creating customized reports and data analysis
Assert is used to validate the expected result while verify is used to check the actual result without stopping the execution.
Assert is used to validate the expected result and if the assertion fails, the test is marked as failed and stops execution.
Verify is used to check the actual result against the expected result but does not stop the execution even if the verification fails.
Assert is commonly used for critical ch...
Pushing code to GitHub involves using Git commands to add, commit, and push changes to a remote repository.
Use 'git add .' to stage all changes
Use 'git commit -m 'Your commit message here'' to commit changes
Use 'git push origin master' to push changes to the master branch on GitHub
Use SQL query with GROUP BY clause to find sum of price per product name for last month
Use SQL query with GROUP BY clause to group by product name
Filter the data for last month using WHERE clause
Sum the price column for each product name
Selenium is a popular open-source automation testing tool used for web application testing.
Selenium is used for automating web browsers.
It supports multiple programming languages like Java, C#, Python, etc.
Selenium WebDriver is the most commonly used component for writing test scripts.
Selenium IDE is a record and playback tool for creating quick tests.
Selenium Grid is used for parallel testing across different browsers
In Selenium, waits are used to make the automation scripts wait for a certain amount of time before executing the next step.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to occur before proceeding further.
Fluent Wait: Waits for a condition to be true with a specified polling frequency.
Thread.sleep(): Pauses the execution for a spe
Oops concepts in Java are the principles of Object Oriented Programming such as Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Allows objects to be treated as instances of their parent class.
Encapsulation: Hides the internal state of an object and only exposes necessary functionality.
Abstraction: Shows only essent...
Program to duplicate elements in array of strings
Iterate through the array and check for duplicate elements
Store duplicate elements in a separate array
Return the array of duplicate elements
Defect tracking is the process of identifying, documenting, prioritizing, and resolving issues or bugs in software.
Defect tracking involves recording details of defects found during testing.
Each defect is assigned a unique identifier for tracking purposes.
Defects are categorized based on severity and priority to determine the order in which they should be fixed.
Defect tracking tools like Jira, Bugzilla, or HP ALM are c...
Regression testing is the process of retesting a software application to ensure that new code changes have not adversely affected existing functionality.
Regression testing is performed after code changes to verify that the existing functionality still works correctly.
It helps in identifying any defects introduced by new code changes.
Automated testing tools are often used for regression testing to save time and effort.
R...
Test scenarios for an elevator to ensure proper functionality and safety
Test the elevator buttons for all floors
Test emergency stop button functionality
Test door opening and closing mechanism
Test elevator capacity by loading it with maximum weight limit
Test response time for elevator arrival at different floors
based on 45 reviews
Rating in categories
Technical Lead
3.5k
salaries
| ₹6.9 L/yr - ₹25 L/yr |
Software Engineer
3.4k
salaries
| ₹1.9 L/yr - ₹9.3 L/yr |
Senior Software Engineer
2.8k
salaries
| ₹4 L/yr - ₹14.7 L/yr |
Lead Engineer
2.6k
salaries
| ₹4.3 L/yr - ₹13 L/yr |
Senior Analyst
2.1k
salaries
| ₹1.6 L/yr - ₹8 L/yr |
HCLTech
TCS
Tata Group
Wipro