Posts

Showing posts from May, 2022

Manual Testing Interview Questions - Part 6

In continuation with the latest series of Manual Testing Interview Questions, we present you the part 6 of the course structure. Click on below links for previous parts. Part 1 Part 2 Part 3 Part 4 Part 5 Manual Testing Interview Questions - Part 6 Severity and Priority? Priority “How prior we need to fix the bug is priority.” It means the occurrences of defect. Decide by developer team.  Types(low, medium, high, critical)  SEVERITY “How severe the bug is severity”. It means how bad the defect is and what impact it can cause in our application.  Decide by the testing team. Types(minor, medium, major) What is defect priority? A defect priority is the urgency of the fixing the defect. Normally the defect priority is set on a scale of P0 to P3 with P0 defect having the most urgency to fix.  What is defect severity? Defect severity is the severity of the defect impacting the functionality. Based on the organisation, we can have different levels of defect severity ranging...

Manual Testing Interview Questions - Part 5

Image
In continuation with the latest series of Manual Testing Interview Questions, we present you the part 5 of the course structure. Click on below links for previous parts. Part 1 Part 2 Part 3 Part 4 Manual Testing Interview Questions - Part 5 What is defect lifecycle? Defect Life Cycle or Bug Life Cycle is the specific set of states that a Bug goes through from discovery to defect fixation.  Bug Life Cycle phases/status:- The number of states that a defect goes through varies from project to project. Below lifecycle diagram, covers all possible states: New : When a new defect is logged and posted for the first time. It is assigned a status as NEW. Assigned : Once the bug is posted by the tester, the lead of the tester approves the bug and assigns the bug to the developer team. Open : The developer starts analyzing and works on the defect fix. Fixed : When a developer makes a necessary code change and verifies the change, he or she can make bug status as "Fixed."  Pending ret...

Manual Testing Interview Questions - Part 4

In continuation with the latest series of Manual Testing Interview Questions, we present you the part 4 of the course structure. Click on below links for previous parts. Part 1 Part 2 Part 3 Manual Testing Interview Questions - Part 4 What is white box testing? This also called as glass-box testing, clear-box and structural testing. It is based on applications internal code structure. In this, an internal perspective of the system, as well as programming skills are used to design test cases. In white box testing, the tester analyses the internal architecture of the system as well as the quality of source code on different parameters like code optimization, code coverage, code reusability etc. This testing usually was done at the unit level.  What is black box testing? It is a process of testing a system component considering input, output and general function.  The tester interact with the system through the interface providing input and validating the received output. ...

Manual Testing Interview Questions - Part 3

In continuation with the latest series of Manual Testing Interview Questions, we present you the part 3 of the course structure. Click on below links for previous parts. Part 1 Part 2 Manual Testing Interview Questions - Part 3 Tell me the difference between Scenario and Use Case and Test Case? Scenario is nothing but how the End User will use the given functionality in real time environment. While UseCase is nothing but the interaction of the end user with that application.  For Example: ATM Machine , here the functionality of the ATM machine is to give the money to the end user. a.) Consider a Scenario where user wants to give Rs.70 to the Taxi Owner during mid night and he don’t have money in his wallet. He goes to ATM Machine and trying to withdraw the money from ATM but ATM can dispense only Rs. 500 and Rs.1000 notes. In that case even if the functionality wise ATM machine is working fine but it will not satisfy the end user requirement as it will not solve his purpose du...

Manual Testing Interview Questions - Part 2

In continuation with the latest series of Manual Testing Interview Questions, we present you the part 2 of the course structure. Click on below links for previous parts. Part 1 Manual Testing Interview Questions - Part 2 Tell me different SDLC models? Different SDLC models are :   Water Fall Model   Spiral Model  Code & Fix Model   Big Bang Model   Scrum Model  Prototype Model  V Model Which SDLC model you are using? and which development model is used in your organization? We are using Agile Methodology for developing software and the Models we used are SCRUM .  In Scrum, projects are divided into small group of requirements, called as sprints , which are typically one week, two weeks, or three weeks in duration.  In Scrum we have a SCRUM Master who acts a Bridge between Product owner and Development Team. Based on the size of sprints DEV & Test Team will provide the estimations to our SCRUM Master in terms of ho...

Manual Testing Interview Questions - Part 1

Image
 In this article, we will cover Manual Testing Interview Questions. Manual Testing Interview Questions Tell me about yourself? I am XYZ, completed B.Tech in 201*, having around X+ years of experience in Software Testing and Automation. Currently working as a Software Test Engineer in XYZ Company. My Responsibilities includes Test Case Creation and Execution by understanding Requirements and Functionality, Logging and fixing a Defect, Sending Build Wise Status Report to my Lead, participation in the client call, and involvement in writing down Test Plan etc.  My Strength is – I can work under Pressure, Result Oriented, workaholic & easily gel with others.  Talking about my weakness includes – I lose my efficiency if I work at a stretch for more than 24 hours. Tell me your role and responsibilities? I am currently working here as a Software Test Engineer. My Responsibilities includes Test Case Creation and Execution by understanding Requirements and Functionality, ...

Selenium Commands

In this article we will cover Selenium commands you should be aware of if you are going for interviews. Selenium Commands get() Methods - driver.get("https://google.com"); -- used to open an URL and it will wait till the whole page gets loaded. driver.getClass(); -- The command is used to retrieve the Class object that represents the runtime class of this object driver.getCurrentUrl(); -- This command returns the URL of the currently active web page in the browser. driver.getPageSource(); -- This command helps in getting the entire HTML source code of the open web page. driver.getTitle(); -- This command can be used for displaying the title of the current web page. driver.getText(); -- delivers the innerText of a WebElement. driver.findElement(By.id("findID")).getAttribute("Value"); -- used to retrieve the value of the specified attribute driver.getWindowHandle(); -- used to tackle with the situation when we have more than one window to deal with....

Java Strings

Image
Let us learn about Java Strings. Java Strings String: String is a sequence of characters in Java. Syntax of String declaration is below - String str = "Tester"; Char ch[] = {"T","e", "s", "t", "e", "r"}; String.valueOf(ch); // prints string Tester Different String Methods Int compareTo()   - used to compare 2 strings lexicographically. boolean equals() String concat() boolean equalsIgnoreCase() char charAt() boolean contains() toUpperCase() toLowerCase() trim() substring() boolean endsWith() boolean startsWith() int length() replace() Parsing in String int num = Integer.parseInt(str); Converts String to Int int num = Integer.ValueOf(str); Converts String to Int String.valueOf(); Converts Int to String Integer.toString(); Converts Int to String In Java, Strings are immutable, which means they cannot be changed or modified. StringBuilder vs StringBuffer Object created for StringBuffer cannot be accessed by multiple ...

Real Time Automation Interview Questions - Part 8

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 8 of the course structure. Click on below links for previous parts. Part 1   Part 2 Part 3 Part 4 Part 5 Part 6 Part 7 Real Time Automation Interview Questions - Part 8 What does means Public Static Void main(variable, value)? Public/ Private/ protected/ default - Access specifier Static - modifier Void - return type Main - Class name What are the open source frameworks supported by Selenium Webdriver? TestNG, JUnit, Cucumber, Robot Framework, Appium, Protractor How to get color of webelement using Selenium Webdriver? First get the locator of webelement String color = object.getCssValue("background-color"); String Hexback color = color.fromString(color).asHex(); It will give you RGB codes , you need to convert them into back color using HEX function. How to reverse an Integer? int num = 12345; int rev = 0; while(num!=0) { rev = rev * 10 + num % 10; num = num/10; } Sysou...

Real Time Automation Interview Questions - Part 7

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 7 of the course structure. Click on below links for previous parts. Part 1   Part 2 Part 3 Part 4 Part 5 Part 6 Real Time Automation Interview Questions - Part 7 How many types of Webdriver APIs are available in Selenium? Chrome   Gecko   Chromium   Edge  Html   android What are the different Selenium Webdriver Exceptions you have faced? Webdriver exc, noalertpresent exc, nosuchwindow exc, nosuchelement exc, timeout exc How do you scroll down a page using Javascript in Selenium? window.scrollby( , ) function  E.g: js.executeScript("window.scrollBy(0,1000)"); //Scroll vertically down by 1000 pixels Link: https://www.guru99.com/scroll-up-down-selenium-webdriver.html How do you scroll down to a particular element? //This will scroll the page till the element is found js.executeScript("arguments[0]. scrollIntoView ();", Element); ...

Real Time Automation Interview Questions - Part 6

Image
In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 6 of the course structure. Click on below links for previous parts. Part 1   Part 2 Part 3 Part 4 Part 5 Real Time Automation Interview Questions - Part 6 What are different types of Annotations used in Cucumber? Total 11 Annotations - Feature, Scenario, Background, given, when , then, and, but, example, scenario outline, scenario template. What are Hashmap and HashSet? HashMap and HashSet both are one of the most important classes of Java Collection framework. ... HashMap Stores elements in form of key-value pair i.e each element has its corresponding key which is required for its retrieval during iteration. HashSet stores only objects no such key value pairs maintained.  Links : https://www.geeksforgeeks.org/difference-between-hashmap-and-hashset/ https://www.javatpoint.com/difference-between-hashset-and-hashmap Where do you use a Hashmap? Maps are used for when you w...

Real Time Automation Interview Questions - Part 5

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 5 of the course structure. Click on below links for previous parts. Part 1   Part 2 Part 3 Part 4 Real Time Automation Interview Questions - Part 5 Use of Constructor? The purpose of constructor is to initialize the object of a class while the purpose of a method is to perform a task by executing java code.  Constructors cannot be abstract, final, static and synchronised while methods can be. Constructors do not have return types while methods do. Difference between static and non-static methods? Static method uses compile time binding or early binding.  Non-static method uses run time binding or dynamic binding.   A static method cannot be overridden being compile time binding. A non-static method can be overridden being dynamic binding.  Links : https://www.geeksforgeeks.org/difference-between-static-andnon-static-method-in-java/ What is Super keywo...

Real Time Automation Interview Questions - Part 4

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 4 of the course structure. Click on below links for previous parts. Part 1   Part 2 Part 3 Real Time Automation Interview Questions - Part 4 Have you used GIT in your project, can you explain about it? Yes I have used GIT, It is a version control tool. Where we can maintain our central repo. we used to manage our code via GIT only.  We use Git to maintain our project in our local system. So, if someone like to work on that project I need to send complete update copy to him and after that he can work on that.  There are chances that single project is handled by multiple teams across the globe. So, it will be difficult if we won’t use GIT. Can you give me some GIT commands which you use daily? Git status - which shows status of all the files,if we have some files which is not yet added to our repo so it will give us untracked file.  After that we can use GIT add ...

Real Time Automation Interview Questions - Part 3

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 3 of the course structure. Click on below links for part 1 and 2. Part 1   Part 2 Real Time Automation Interview Questions - Part 3 Tell me the difference between Implicit and Explicit Wait? Implicit wait applies for all the elements and all the tests like if we give 10 sec of implicit wait it will wait for 10 sec for each element before giving nosuchelement exceptions.  While Explicit wait can be applied for any particular step for which you want extra wait time so we can use explicit wait.  We can use mix of both waits to depend on the situation of the step Link : https://www.guru99.com/implicit-explicit-waits-selenium.html Can you tell me some exceptions in Selenium? NoSuchElementException  NoSuchWindowException   NoSuchframeException  StaleElementReferenceException   TimeoutException.  Link : https://www.guru99.com/exception-ha...

Real Time Automation Interview Questions - Part 2

In continuation with the latest series of Real Time Automation Interview Questions, we present you the part 2 of the course structure. Real Time Automation Interview Questions - Part 1 What do you mean by wrapper class and how will you do data conversion? Wrapper class in java are used for data conversion. In data conversion if user wants to convert Int to string, String to int, Boolean, double then we use Wrapper class. Integer.parseInt(); -To convert string to Integer Double.parseDouble(); -To convert string to Double Boolean.parseBoolean(); -To convert string to Boolean String.valueof(); -To convert Integer to String Can you convert String = "110a" in integer? No we got NumberFormatException while converting the above string. What do you mean by Call by Value and call by Reference in Java? Call by value means suppose we have created one sum method with input parameter int a, int b. So while calling the creating the object and running we provide values that is know as call ...

Real Time Automation Interview Questions - Part 1

In this article, we will start with real time Automation interview questions series. Real Time Automation Interview Questions Can you brief me about yourself? Hi, my name is Pankaj. I started my career as a Testing Executive 4.5 years back with Infosys currently I am working as Test Engineer.  My responsibility is to understand Business Requirement Specification and High-Level scenarios and to convert them into test cases & Automation scripts if required. Execution of test cases and reporting of defect to the developer if there any and get them fixed. I have experience on Functional, Automation, Regression, Smoke, Sanity, Web accessibility, Web Analytics, Mobile Testing.  In my previous project I have worked on Automation testing where we have used Selenium with java and TestNG Cucumber framework for BDD approach. We have used Page object model where we have separated our test cases with page objects, and we performed testing on the same. For build management tool we are u...