Testing is actually defined to identify and improve the coding to improve its efficiency and make it bug-free.
Before we pen down all the details on web testing, let's quickly define what is web testing? In simple words checking your web application for possible bugs before it's made live or you can say that checking web application before the code is moved into the production department is called web testing.
Here in this article, we will be listing frequently asked Testing Interview Questions and Answers with the belief that they will be helpful for you to gain higher marks. Also, to let you know that this article has been written under the guidance of industry professionals and covered all the current competencies.
S.no | Manual Testing | Automated Testing |
---|---|---|
1. | It is easy for the beginners who have just entered into the quality assurance industry to kick start career. | It can be used in different versions of the software, so it in the end reduces the cost to test different types of similar softwares. |
2. | WordPress websites, their inner links and all the plugins of the system are defined and it’s easy to verify the plugins and links in the system. | It’s in the hand of testers to define the test suites and write the suitable test scripts for the program to check, so they can easily build the test suites that can check all the features of the system easily. |
3. | As different features are there, and also it is developed by different teams. So, parallel development is possible. | It can be used in different versions of the software, so it in the end reduces the cost to test different types of similar softwares. |
4. | Plugins mostly have only one type of functionality to perform, so the developer’s mind is also focused on a single thing and can dedicate time towards one thing | Testers have the added advantage to program very hard tasks which can easily unveil any hidden information in the software that is being developed. |
Scroll down to know more about manual testing interview questions and answers
These steps are involved to carry out the automation process:
Certain conditions make automation testing useless for agile methods:
Here are some of the frameworks used in Software Automation Testing:
These points should be considered:
Retesting | Data Driven Testing |
---|---|
It is a procedure of checking bugs | In information that drives the testing process, the application is tried with different test information. |
It is basically done with the help of JavaScript. Code Snippet written below for name field in a form.
function validate() {
var x = document.forms["Form"]["name"].value;
if (x == "") {
alert("Name must be filled out");
return false;
}
}
Selenium is a free (open source) Test Suite structure. It is utilized to computerized Web and Mobile conditions.
Quick Test Professional (QTP) is a commercial automation tool known as HP UFT. It endorses different testing environment like PowerBuilder, Oracle, Java, Siebel, Visual Basic, Stingray, PeopleSoft, Mobile, ActiveX, Delphi, Flex and SAP. VBScript is the language that gets synchronized with Performance Testing Tool (HP LoadRunner) and Test Management Tool (HP ALM). One characteristic feature is that it’s framework is keyword driven.
Here are some of the fields in Bug Report:
Static Testing | Dynamic Testing |
---|---|
It means document evaluation to identify if there is any error or not. It is usually conducted at SDLC beginning stage. | Dynamic Testing is used to execute the code. Expected outcome and output is validated simultaneously. |
Logger, Reusable, Modular, Integration, Reporting, Consistent and Independent are some of the attributes of a good framework. If, on one side, it should be adaptable to change, then, on the other side, it should automatically fit itself to the code.
It holds all the changes that foreign key make to the primary key. Delete Cascade rule has to be defined by the foreign key in order to serve the purpose.
It is a document that defines testing activity performance in a sequential manner. It is usually derived from SRS, Product Description and Case Document. Here are certain things that it covers: Reference, Items to be tested, Introduction, Software Issues and Risks, Testing of features, Schedules, Responsibility and Approvals.
It is the right set of Software and Hardware that are going to be used to perform the test.
For web application in Windows Operating system, IIS is the web server, Dot Net is the Web page Design, MS SQL server is Database and Chrome/Firefox/Internet Explorer is the Browser.
If you test the code, it helps you identify the error or defect (if any).
HDAM | HIDAM |
---|---|
It doesn’t have separate index file. Instead, every key file passes through randomizer that defines the record in the database. | It is a separate index file with base as root segment. It has an information file that marks data position. |
Only one object is allowed by DBD in a specific time. For execution, when more than one object looks for permission, lock contention comes into action.
There are total three types of locks in mainframe:
Continue | Next Sentence |
---|---|
In this, the flow of control is continued to the next statement after the scope terminator | It means delivering the statement to the next period. |
A test case can have numbers of attributes according to the case requires, but these are the crucial ones which we mostly have with any test case: TestCaseId, Test Summary, Description, Prerequisite, Test Steps, Expected Results, Actual Results, Test Result, Automation Status, Date & Executed By.
Defect severity term is used to mention the severity of the defect impacting the functionality. Based on the organization, the defect severity can be mentioned in different levels, ranging from minor to critical or show stopper.
Usually priority – severity defects are divided into four categories, Low priority-Low severity, Low priority-High severity, High priority-Low severity, and High priority-High severity.
To example, these defect level: a spelling mistake in a page non-frequently navigated page will be categorized as Low priority-Low severity, whereas application crash in some very corner case will be defined as Low priority-High severity. For High priority-Low severity case example, brand name spelling mistake and logo colour change can be mentioned. And, login functionality issue can be categorized as High priority-High severity defect.
A bug that impacts the major functionality of an application and due to which the application can’t be delivered, can be defined as a critical bug. It’s different both in severity and characteristics compared to a blocker bug as it doesn’t block or affect the testing of other parts of the application.
Software Development Life Cycle or commonly known as SDLC refers to the all the activities performed during software development, such as the gathering of requirement, requirement analysis, coding, designing, implementation, testing, deployment and maintenance.
In testing, 100% automation would be tough to achieve because there would be several edge test cases and some of them are also executed seldom. Automating these types of cases which are not executed that often will not add value to the automation suite.
Go through the our all automation testing interview questions that will help in your interview.
These type of information which are used very often and change as per the authorization and environment should always be maintained in a separate file. In case the user hardcore it into the code system, then the user has to change it in every file which has its reference.
Few of the good practices of automation testing will include:
Yes, UI level testing is possible. But, we can do far from that. As early feedback is crucial for every testing project, we don’t need to wait until the UI layer gets developed. We can test the APIs directly, so that we can share crucial feedback early in the project development, giving developers more time to fix the bugs more proficiently.
We have to consider various factors while selecting an automation tool best suited to a project, such as: