Logituit
10+ ETF Interview Questions and Answers
Q1. If any defect arises during testing to whom you'll report
I will report the defect to the project manager and the development team.
Report the defect immediately
Provide detailed information about the defect
Collaborate with the development team to resolve the issue
Q2. What is Static variable and Static method?
Static variables and methods belong to the class rather than the instance of the class.
Static variables are declared with the 'static' keyword and are shared among all instances of the class.
Static methods are also declared with the 'static' keyword and can be called without creating an instance of the class.
Static methods cannot access non-static variables or methods of the class.
Example: 'public static int count;' declares a static variable 'count' that can be accessed by a...read more
Q3. What is Java Package and it's benefits?
Java Package is a way to organize related classes and interfaces. It helps in encapsulation, reusability, and modularity.
Packages help in avoiding naming conflicts between classes and interfaces.
Packages provide access control by using access modifiers like public, private, and protected.
Packages help in creating a modular and scalable application.
Packages can be imported to use the classes and interfaces defined in them.
Examples of Java packages are java.lang, java.util, and...read more
Q4. In Jira, how do you report a bug?
To report a bug in Jira, follow these steps:
Click on the 'Create' button in the top navigation bar
Select 'Bug' as the issue type
Fill in the required fields such as summary, description, and priority
Attach any relevant files or screenshots
Click 'Create' to submit the bug report
Q5. Diff between Static variable and Non static variable
Static variables are shared across all instances of a class while non-static variables are unique to each instance.
Static variables are declared with the 'static' keyword while non-static variables are not.
Static variables are initialized only once, at the start of the program, while non-static variables are initialized each time an instance of the class is created.
Static variables can be accessed using the class name while non-static variables can only be accessed using an i...read more
Q6. What is Java class Loader ?
Java class loader is a part of Java Runtime Environment (JRE) that loads classes dynamically at runtime.
Java class loader is responsible for loading Java classes into the JVM.
It searches for the class file in the classpath and loads it into memory.
There are three types of class loaders in Java: Bootstrap, Extension, and System class loader.
Custom class loaders can also be created to load classes from non-standard sources.
Class loaders follow a delegation model to load classes...read more
Q7. Difference between Constructor and Method in java
Constructor is used to initialize an object while method is used to perform a specific task.
Constructor has the same name as the class while method has a unique name.
Constructor is called automatically when an object is created while method is called explicitly.
Constructor does not have a return type while method has a return type.
Example of constructor: public MyClass() { // initialization code }
Example of method: public int calculateSum(int a, int b) { return a + b; }
Q8. What is Scenario and Scenario Outline
Scenario is a test case that describes a specific situation. Scenario Outline is a template for creating multiple scenarios.
Scenario is a detailed description of a specific test case
Scenario Outline is a template that can be used to create multiple scenarios with different inputs
Scenario Outline uses placeholders for input values that are replaced with actual values during execution
Both are used in Behavior Driven Development (BDD) to describe the behavior of the system
Q9. Diff between Functional and Non Functional Testing
Functional testing checks if the software meets the requirements while non-functional testing checks how well it performs.
Functional testing ensures that the software meets the functional requirements specified in the design document.
Non-functional testing checks the performance, usability, reliability, and other non-functional aspects of the software.
Functional testing is black-box testing while non-functional testing is white-box testing.
Examples of functional testing inclu...read more
Q10. Constructors in JAVA and it's types
Constructors are special methods used to initialize objects. There are two types of constructors in Java: default and parameterized.
Default constructors are those that do not take any arguments and are automatically created by Java if no constructor is defined.
Parameterized constructors are those that take one or more arguments and are used to initialize the object with specific values.
Constructors have the same name as the class and do not have a return type.
Constructors can...read more
Q11. Implicit wait and explicit waits in Selenium
Implicit and explicit waits are used in Selenium to handle synchronization issues during test execution.
Implicit wait is a global wait applied to all elements in the script, whereas explicit wait is applied to specific elements.
Implicit wait is set using the 'driver.manage().timeouts().implicitlyWait()' method, whereas explicit wait is set using the 'WebDriverWait' class.
Explicit wait can be customized with conditions like 'elementToBeClickable', 'visibilityOfElementLocated',...read more
Q12. Why do we write Test cases
Test cases ensure software meets requirements & functions correctly.
Test cases help identify defects early in the development cycle
Test cases ensure software meets customer requirements
Test cases help ensure software functions correctly
Test cases provide documentation for future testing and maintenance
Test cases help improve overall software quality
Q13. Diff between Test Cases and Test Scripts
Test cases are documentation of test scenarios while test scripts are automated instructions to execute those scenarios.
Test cases are written in natural language and are used to document the steps to be taken to test a particular feature or functionality.
Test scripts are automated instructions that are written in a programming language to execute the test cases.
Test cases are used for manual testing while test scripts are used for automated testing.
Test cases are usually cre...read more
Q14. OOPS Concepts in JAVA
OOPS concepts in Java are the fundamental principles of object-oriented programming.
Encapsulation: Hiding the implementation details of a class from other classes.
Inheritance: A mechanism where one class acquires the properties and behaviors of another class.
Polymorphism: The ability of an object to take on many forms.
Abstraction: The process of hiding complex implementation details and showing only the necessary information.
Example: A class 'Car' can inherit properties from ...read more
Q15. What is Test planning
Test planning is the process of defining the scope, objectives, and approach for testing a software application.
Identifying the testing objectives and goals
Defining the scope of testing
Determining the testing approach and techniques
Creating a test plan document
Estimating the testing effort and resources required
Identifying the test environment and test data requirements
Q16. Write Test cases format
Test case format includes test case ID, description, preconditions, test steps, expected results, actual results, and status.
Test case ID should be unique and easy to identify.
Description should be clear and concise.
Preconditions should be listed to ensure the test environment is set up correctly.
Test steps should be detailed and include all necessary actions.
Expected results should be specific and measurable.
Actual results should be recorded during test execution.
Status shou...read more
Top Softwaretest Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month