i
Ness Digital Engineering
Filter interviews by
To handle multiple popups in Selenium, we can use getWindowHandles() and switchTo() methods.
Use getWindowHandles() method to get all the window handles
Switch to the desired window using switchTo() method
Perform actions on the popup window
Switch back to the main window using switchTo() method
Credentials can be sent via URL by appending them to the URL as query parameters.
Append the username and password as query parameters to the URL
Encode the username and password using Base64 encoding
Example: http://example.com/login?username=admin&password=encoded_password
Explicit wait waits for a specific condition while Fluent wait waits for a condition with polling interval.
Explicit wait waits for a specific condition to occur before proceeding further
Fluent wait waits for a condition with a polling interval and ignores exceptions
Explicit wait is used when we know the condition and the maximum time to wait for it
Fluent wait is used when we don't know the maximum time to wait for a co...
To scroll page to desired location, use JavaScriptExecutor and scrollTo() method.
Create an instance of JavaScriptExecutor
Use executeScript() method to execute scrollTo() method
Pass the desired location as arguments to scrollTo() method
Example: ((JavascriptExecutor) driver).executeScript("window.scrollTo(0, document.body.scrollHeight)");
To get all options in a dropdown, use the getOptions() method and store the values in an array of strings.
Locate the dropdown element using any of the locators
Create a Select class object by passing the dropdown element as a parameter
Use the getOptions() method to get all the options in the dropdown
Store the options in an array of strings
To initialize Chrome driver, create an instance of ChromeDriver class.
Create an instance of ChromeDriver class
Set the path of ChromeDriver executable file
Use the instance to interact with the browser
To execute feature files in parallel in BDD Cucumber Framework, we can use tools like Maven Surefire plugin or Cucumber-JVM-Parallel-Plugin.
Use Maven Surefire plugin to run tests in parallel by adding
Use Cucumber-JVM-Parallel-Plugin to run tests in parallel by adding @CucumberOptions(plugin = {"json:target/cucumber-report/cucumber.json", "com.github.temyers:cucumber-jvm-parallel-plugin:5.0.0"...
Top trending discussions
I applied via Naukri.com
Priority in TestNG determines the order in which test methods are executed.
Priority can be set using the 'priority' attribute in @Test annotation
Default priority is 0, higher priority is executed first
Priority can be negative as well
If two methods have the same priority, they are executed in alphabetical order
A simple Java program is a standalone program while a Maven project is a build automation tool.
A simple Java program is compiled and executed using the command line or an IDE.
A Maven project uses a pom.xml file to manage dependencies and build the project.
A simple Java program may require manual management of dependencies.
A Maven project can easily manage dependencies and build the project with a single command.
A simpl...
Tags are used in Cucumber to organize and filter scenarios and features.
Tags allow for easy organization of scenarios and features based on their purpose or functionality.
Tags can be used to filter which scenarios or features are run during a test.
Tags can be added to scenarios or features using the '@' symbol followed by the tag name.
Tags can also be used to pass parameters to step definitions.
Examples: @smoke, @regre
TestNG is more advanced and flexible than JUnit, with features like parallel testing and data-driven testing.
TestNG supports parallel testing while JUnit does not.
TestNG allows for data-driven testing while JUnit does not.
TestNG has more advanced annotations and reporting features than JUnit.
TestNG can be used with both Java and non-Java languages while JUnit is only for Java.
JUnit is simpler and easier to learn than T
To disable a test, we can comment out the test code or use testNG annotations.
Comment out the test code
Use testNG annotations like @Test(enabled=false)
Use testNG XML file to disable the test
Use groups to disable a set of tests
No, the two login buttons should not have the same ID.
IDs should be unique for each element on a page
Having two elements with the same ID can cause issues with locating and interacting with the elements
Use TestNG or JUnit framework to generate step execution report/result.
Use TestNG or JUnit annotations to mark the start and end of each test step.
Use TestNG or JUnit listeners to capture the test results and generate the report.
Use reporting libraries like ExtentReports or ReportNG to generate detailed reports with screenshots and logs.
To switch to the second window using page title, we can use getWindowHandles() and switchTo() methods.
Use getWindowHandles() method to get all the window handles
Iterate through the window handles and switch to the desired window using switchTo() method
Use getTitle() method to get the title of each window and compare it with the desired title
To retrieve all values from a drop down, we can use the getOptions() method and store the values in an array of strings.
Locate the drop down element using any of the locators
Create a Select class object by passing the drop down element as a parameter
Use the getOptions() method to retrieve all the options from the drop down
Store the options in an array of strings
Collections like ArrayList, HashMap, HashSet are commonly used in Selenium framework.
ArrayList is used to store a list of elements
HashMap is used to store key-value pairs
HashSet is used to store unique elements
Collections class is used for sorting and searching
Questions related to Selenium Automation and software testing
To remove duplicate characters in a string, use a loop and a hashset
To perform operations on specific buttons for a user, use conditional statements
To switch to a particular tab, use the window handle
500 error code in Postman validation indicates a bad request
Primary key is a unique identifier for a record in a database
Roles and responsibilities in a project
Precompilation unit is a compiled code that can be reused by multiple source files.
Precompilation unit is created by the compiler from the source code.
It contains the compiled code of header files and other dependencies.
It can be reused by multiple source files, reducing compilation time.
It is also known as precompiled header or PCH.
Example: stdafx.h in Visual Studio is a precompiled header file.
posted on 15 Feb 2016
The first 50 prime numbers are...
Start with 2, the first prime number
Check each odd number greater than 2
Use trial division to check if a number is prime
Stop when you have found 50 prime numbers
Sorting a file within a range
Use a sorting algorithm like quicksort or mergesort
Read the file and store the data in an array or list
Sort the array or list within the given range
Write the sorted data back to the file
I am a passionate software engineer with experience in developing web applications using various technologies.
Experienced in developing web applications using HTML, CSS, JavaScript, and frameworks like React and Angular
Proficient in backend development with Node.js, Express, and MongoDB
Familiar with version control systems like Git and project management tools like Jira
posted on 27 Dec 2015
I am a passionate software engineer with experience in developing web applications and a strong background in computer science.
Experienced in developing web applications using technologies such as HTML, CSS, JavaScript, and React
Strong background in computer science with knowledge in algorithms and data structures
Passionate about learning new technologies and solving complex problems
I have worked on various projects including a web application for inventory management and a mobile app for fitness tracking.
Developed a web application using React for inventory management
Created a mobile app using Flutter for fitness tracking
Implemented RESTful APIs for communication between frontend and backend systems
My area of interest is artificial intelligence and machine learning.
I have experience in developing machine learning models for predictive analytics.
I am interested in natural language processing and computer vision applications.
I enjoy exploring deep learning algorithms and neural networks.
I have worked on projects involving recommendation systems and image recognition.
C++ is a high-level programming language with features like object-oriented programming, templates, and memory management.
C++ supports object-oriented programming concepts like encapsulation, inheritance, and polymorphism.
Templates allow generic programming and code reusability.
C++ provides low-level memory manipulation through pointers.
Standard Template Library (STL) provides a collection of classes and functions for ...
Big Data refers to large and complex data sets that cannot be processed using traditional data processing methods.
Big Data is characterized by the 3Vs - Volume, Velocity, and Variety.
It requires specialized tools and technologies such as Hadoop, Spark, and NoSQL databases.
Examples of Big Data include social media data, sensor data, and financial market data.
Program to reverse a string without using string function
Iterate through the string from end to start and append each character to a new string
Use a loop to swap the first and last characters, then move towards the middle until the entire string is reversed
Convert the string to a character array, then swap the first and last elements until the entire array is reversed
I was responsible for designing and implementing the project's database and backend functionality.
Designed the database schema and created the necessary tables
Implemented the backend functionality using Java and Spring framework
Collaborated with team members to integrate the frontend and backend components
Tested the application and fixed any bugs or issues that arose
Presented the project to the faculty and received pos
Keys in a database are unique identifiers used to establish relationships between tables and ensure data integrity.
Keys are used to uniquely identify records in a database table.
Primary keys are used to uniquely identify each record in a table.
Foreign keys establish relationships between tables.
Keys help enforce data integrity and maintain consistency in the database.
Examples of keys include primary keys, foreign keys,
Issues in cloud include security, downtime, vendor lock-in, and data privacy.
Security concerns such as data breaches and unauthorized access
Downtime and service interruptions affecting business operations
Vendor lock-in and limited flexibility in choosing cloud providers
Data privacy and compliance with regulations such as GDPR and HIPAA
Developed a web application for online shopping using React and Node.js
Implemented user authentication and authorization using JSON Web Tokens (JWT)
Used MongoDB as the database to store user and product information
Implemented a search feature using Elasticsearch to provide fast and accurate search results
Integrated Stripe payment gateway for secure online transactions
The flow diagram of my final year project showcases the step-by-step process of its execution.
The flow diagram illustrates the sequence of activities and their dependencies.
It helps in understanding the overall structure and logic of the project.
Each step in the diagram represents a specific task or action.
Arrows indicate the flow of control or data between different steps.
Decision points are represented by diamond-sha...
Normalisation reduces data redundancy and improves data integrity in a database.
Prevents data duplication and inconsistencies
Simplifies database maintenance and updates
Improves query performance
Enforces data integrity and consistency
Follows best practices for database design
Examples: breaking down a customer table into separate tables for orders, addresses, and payments
Examples: creating a separate table for product ca...
I am a passionate software engineer with experience in developing web applications and a strong background in computer science.
Experienced in developing web applications using technologies like HTML, CSS, JavaScript, and React
Strong background in computer science with knowledge of algorithms and data structures
Familiar with agile development methodologies and version control systems like Git
I am a problem solver, team player, quick learner, detail-oriented, and have strong communication skills.
Problem solver - I enjoy tackling complex problems and finding innovative solutions.
Team player - I work well with others and value collaboration in achieving goals.
Quick learner - I am able to pick up new technologies and concepts quickly.
Detail-oriented - I pay attention to the smallest details to ensure high-qual...
Yes, I have a Bachelor's degree in Computer Engineering.
Bachelor's degree in Computer Engineering
Experience in software development
Knowledge of engineering principles applied to software design
My day was productive and challenging, with a lot of problem-solving and collaboration.
Completed a major coding project ahead of schedule
Participated in a brainstorming session with team members
Solved a tricky bug in the codebase
Attended a virtual meeting with stakeholders
No, I do not have any relatives in Pune. I have arranged for my accommodation in a rented apartment near the office.
No relatives in Pune
Accommodation arranged in a rented apartment near the office
Yes, My Passion Challenge test is a coding competition for software engineers.
My Passion Challenge test is a coding competition that evaluates the coding skills of software engineers.
It is designed to test problem-solving abilities, algorithmic thinking, and coding proficiency.
Participants are given a set of coding challenges to solve within a specified time limit.
The challenges can range from simple to complex, coveri...
Considering pursuing a Master's degree in Computer Science to deepen knowledge and advance career.
Considering pursuing a Master's degree in Computer Science
To deepen knowledge and advance career
Examples: MS in Computer Science at XYZ University, online courses in AI and Machine Learning
posted on 21 Mar 2015
I was interviewed before Aug 2016.
Senior Software Engineer
768
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
508
salaries
| ₹0 L/yr - ₹0 L/yr |
Member Technical Staff
229
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
220
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior QA Engineer
202
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Infosys
HCLTech