IBM
10+ Allview India Electronics Interview Questions and Answers
Q1. Write a program for highest odd number from 1 - 100 in java
Program to find the highest odd number from 1-100 in Java
Loop through numbers 1-100
Check if the number is odd
If it is odd, check if it is greater than the current highest odd number
If it is, update the current highest odd number
Return the highest odd number
Q2. Technical Round: Different types of wait with differences between explicit and fluent wait
Explicit and fluent wait are types of wait used in test automation to handle synchronization issues.
Explicit wait is used to wait for a specific condition to occur before proceeding further in the test script.
Fluent wait is used to wait for a condition with a defined polling frequency and timeout duration.
Explicit wait provides more control and flexibility as it allows specifying the condition and the maximum wait time.
Fluent wait provides a more fluent and readable way of wa...read more
Q3. How to find dynamic element in a page
Dynamic elements can be found using various methods such as inspecting the page source code, using browser developer tools, or using automation tools.
Inspect the page source code to identify dynamic elements that have unique attributes or IDs
Use browser developer tools to inspect the page and identify dynamic elements that change based on user interactions
Use automation tools such as Selenium to locate dynamic elements by using wait conditions or element locators
Examples of d...read more
Q4. Write a program for finding postion of 'r' in program
Program to find position of 'r' in a given string
Use a loop to iterate through each character in the string
Check if the current character is 'r'
If it is, return the index of that character
If 'r' is not found, return -1
Q5. How do you define and create an Automation framework?
An Automation framework is a set of guidelines, best practices, and tools used to create and execute automated tests efficiently.
Define the scope and objectives of automation
Select appropriate tools and technologies based on project requirements
Design the framework architecture including test data, test scripts, and reporting mechanisms
Implement reusable components and libraries for efficient test script development
Integrate with version control systems and CI/CD pipelines fo...read more
Q6. Java collections with String program
Java collections can store arrays of strings
Use ArrayList or HashSet to store arrays of strings
ArrayList allows duplicates while HashSet does not
Example: ArrayList
names = new ArrayList<>(); Example: HashSet
uniqueNames = new HashSet<>();
Q7. Tell me about the framework that you used
I have experience using the Selenium WebDriver framework for automated testing.
Utilized Selenium WebDriver for automated testing of web applications
Implemented Page Object Model design pattern for better test maintenance
Integrated with TestNG for test execution and reporting
Q8. Define and create an Automation framework
An automation framework is a set of guidelines, standards, and tools that help in creating and executing automated tests.
Define the scope and objectives of automation
Select appropriate tools and technologies
Design test scripts and maintain them
Implement reusable components
Integrate with CI/CD pipelines
Provide reporting and logging mechanisms
Q9. WHat are oops concepts
Object-oriented programming concepts that focus on classes and objects
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
Abstraction: hiding the complex implementation details and showing only the necessary features
Q10. Jenkins to set build timer
To set build timer in Jenkins, use the 'Build periodically' option in the job configuration.
Go to the job configuration page in Jenkins
Under 'Build Triggers', select 'Build periodically'
Enter the schedule for the build timer using cron syntax
Save the configuration
Q11. Types of framework
Frameworks are used to provide a structure for test automation. There are various types of frameworks available.
Linear Scripting Framework
Modular Testing Framework
Data-Driven Testing Framework
Keyword-Driven Testing Framework
Hybrid Testing Framework
Q12. what is angular
Angular is a popular open-source web application framework developed by Google.
Angular is used for building dynamic web applications.
It allows for the creation of single-page applications.
Angular uses TypeScript for building applications.
It provides features like data binding, dependency injection, and routing.
Angular has a large community and ecosystem of libraries and tools.
Examples of popular Angular applications include Gmail and PayPal.
Q13. Automation in previous project
Implemented automation using Selenium WebDriver in previous project to increase test efficiency and coverage.
Utilized Selenium WebDriver to automate test cases
Implemented test scripts in Java for web application testing
Used frameworks like TestNG for test execution and reporting
Automated regression tests to save time and effort
Improved test coverage and accuracy through automation
Q14. features of angular
Angular is a popular front-end framework for building dynamic web applications.
Uses TypeScript for building applications
Supports two-way data binding
Modular architecture with components and services
Provides dependency injection for better code organization
Has built-in routing and forms handling
Supports reactive programming with RxJS
Officially maintained by Google
More about working at IBM
Interview Process at Allview India Electronics
Reviews
Interviews
Salaries
Users/Month