i
Persistent Systems
Filter interviews by
Our automation framework is a hybrid framework that combines data-driven and keyword-driven approaches.
We use Excel sheets to store test data and test cases.
We have a set of reusable functions that are stored in a separate library.
We use Selenium WebDriver for web automation and Appium for mobile automation.
We have a reporting mechanism that generates reports in HTML format.
We use Jenkins for continuous integration and...
Control flow of automation framework refers to the sequence in which the test cases are executed.
The framework follows a predefined sequence of steps to execute test cases
It includes steps like test case selection, test data preparation, test case execution, and result reporting
The control flow can be linear or non-linear depending on the framework design
Example: In a linear control flow, test cases are executed one af
Reporting is an essential part of any framework to track and analyze test results.
Reporting helps in identifying the test cases that have failed and the reasons behind the failure.
It also helps in tracking the progress of testing and identifying areas that need improvement.
Reporting can be done using various tools such as TestNG, JUnit, Extent Reports, etc.
Reports can be generated in various formats such as HTML, PDF, ...
Java program to count frequency of characters in string
Create a HashMap to store character and its frequency
Convert the string to char array
Iterate through the char array and update the frequency in HashMap
Print the HashMap
An interface is a contract between two components that defines the communication between them.
Interfaces provide a way to achieve abstraction and loose coupling in software design.
They allow different components to communicate with each other without knowing the implementation details.
Interfaces are used in object-oriented programming to define a set of methods that a class must implement.
Examples of interfaces in Java...
What people are saying about Persistent Systems
I applied via Naukri.com and was interviewed in Jun 2021. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Java OOPs concepts are used in automation framework design for better code organization and reusability.
Encapsulation: Used to hide the internal implementation details of classes and provide access through methods.
Inheritance: Allows for code reuse by creating parent-child relationships between classes.
Polymorphism: Enables methods to behave differently based on the object they are called on.
Abstraction: Helps in defin...
OTP can be handled by generating, sending, and verifying it in automated tests.
Generate OTP using a random number generator
Send OTP to the user via email, SMS, or any other communication channel
Verify OTP entered by the user against the generated OTP
To start Appium in automation, you need to install Appium server, set up desired capabilities, and run the server.
Install Appium server using npm install -g appium
Set up desired capabilities in your test script
Start the Appium server using the command appium
Types of mobile apps include native apps, web apps, and hybrid apps.
Native apps are developed for specific platforms like iOS or Android
Web apps are accessed through a web browser and do not need to be downloaded from an app store
Hybrid apps combine elements of both native and web apps
Examples include Instagram (native), Twitter (web), and Uber (hybrid)
Program to remove duplicate letters in a string
Iterate through the string and keep track of seen characters in a set
Append characters to a new string only if they are not already in the set
Return the new string without duplicate letters
Swipe action in mobile devices can be performed using swipe() method in Appium or TouchAction class in Selenium.
Use swipe() method in Appium to perform swipe action in mobile devices
Alternatively, use TouchAction class in Selenium for swipe action
Specify the start and end coordinates for the swipe action
Adjust the duration and speed of the swipe as needed
posted on 19 Nov 2024
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
I applied via Approached by Company and was interviewed in Nov 2024. There was 1 interview round.
Split alpha-numeric values in Java without using split method
Iterate through each character in the input string
Check if the character is a digit or a letter using Character.isDigit() and Character.isLetter() methods
Create separate strings for digits and letters and store them in an array
Use ALTER TABLE statement to add a new column with a default value and set it to NOT NULL
Use ALTER TABLE table_name ADD column_name data_type DEFAULT default_value NOT NULL;
Example: ALTER TABLE employees ADD hire_date DATE DEFAULT '2022-01-01' NOT NULL;
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Selenium is a widely used open-source tool for web automation testing, while Cypress is a newer tool known for its fast and reliable testing capabilities.
Selenium is more established and has a larger community support
Cypress is known for its fast test execution times
Cypress has built-in support for modern web technologies like React and Angular
Selenium supports multiple programming languages like Java, Python, and C#
Cy...
Cypress can be installed using npm package manager.
Install Node.js if not already installed
Open terminal and run 'npm install cypress'
Once installation is complete, run 'npx cypress open' to open Cypress Test Runner
Reverse a string in Javascript
Use the split() method to convert the string into an array of characters
Use the reverse() method to reverse the order of the characters
Use the join() method to convert the array back into a string
posted on 14 Nov 2024
I have faced errors related to compatibility issues with software versions, and resolved them by updating the software to the latest version.
Identified the specific software versions causing compatibility issues
Researched and found the latest version of the software
Updated the software to the latest version to resolve the compatibility issues
I applied via Campus Placement
Mixed questions from aptitude, reasoning and english questions.
posted on 9 Dec 2024
20 aptitude questions and 50 technical questions
Automation framework is a set of guidelines, rules, and tools that help in creating and executing automated tests.
Automation framework provides structure and guidelines for creating automated tests
It helps in organizing test scripts, data, and results
Frameworks can be data-driven, keyword-driven, or hybrid
Examples of automation frameworks include Selenium WebDriver, TestNG, and Robot Framework
Sorting array of strings in Java without using built-in functions
Create a custom sorting algorithm like bubble sort, selection sort, or insertion sort
Compare each pair of strings and swap them if necessary to sort in ascending order
Repeat the process until the array is fully sorted
TestNG annotations are used to control the flow of test methods and provide additional information about the test methods.
TestNG annotations are used to mark methods as test methods, setup methods, teardown methods, etc.
Annotations like @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite are commonly used in TestNG framework.
Annotations help in organizing and prioritizing test metho...
TestNG listener is an interface that allows users to customize the test execution process.
TestNG listeners can be used to perform actions before or after a test method is run.
Listeners can be used to generate logs, take screenshots, or perform other custom actions during test execution.
Examples of TestNG listeners include ITestListener, ISuiteListener, and IInvokedMethodListener.
Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.
Overriding allows a subclass to provide a specific implementation of a method that is already provided by its superclass
It is used in automation frameworks to customize or extend the functionality of existing methods or classes
In automation testing, overriding...
BDD hooks and tags are used in Behavior-Driven Development to set up preconditions and execute actions before or after scenarios, and to categorize and filter scenarios.
BDD hooks are used to set up preconditions and execute actions before or after scenarios
Tags are used to categorize and filter scenarios based on certain criteria
Hooks can be used to perform setup and teardown actions, such as initializing test data or ...
BDD background keyword is used to define common preconditions for all scenarios in a feature file.
Used at the beginning of a feature file to define common preconditions
Helps in setting up the initial state for all scenarios in the feature file
Reduces duplication of steps in scenarios by defining them once in the background
CI/CD pipeline using Jenkins automates the process of integrating code changes and deploying them to production.
Jenkins is a popular automation server used for CI/CD
CI/CD stands for Continuous Integration/Continuous Deployment
In a CI/CD pipeline, code changes are automatically built, tested, and deployed
Jenkins pipelines can be defined using a Jenkinsfile which specifies the stages and steps of the pipeline
Example: Che...
Rest Assured is a Java library for testing RESTful APIs. It simplifies API testing by providing a fluent interface to make HTTP requests and validate responses.
Rest Assured is commonly used in API automation testing to validate the functionality of RESTful APIs.
It allows testers to easily make HTTP requests, set headers, parameters, and body, and validate the response.
Here is an example code snippet for posting data an...
based on 1 review
Rating in categories
Software Engineer
4.3k
salaries
| ₹2.5 L/yr - ₹9.4 L/yr |
Senior Software Engineer
3.7k
salaries
| ₹5 L/yr - ₹13 L/yr |
Lead Engineer
3k
salaries
| ₹7.2 L/yr - ₹30 L/yr |
Lead Software Engineer
2.9k
salaries
| ₹7.3 L/yr - ₹21 L/yr |
Project Lead
1.8k
salaries
| ₹13.4 L/yr - ₹38.8 L/yr |
Cognizant
TCS
IBM
Wipro