Web Testing Interview Questions

Web Testing Interview Questions

Here are some Web testing interview question if a test Engineer is having understanding of all below testing questions then he/she can say himself/herself good in web testing basics. web testing is having good scope and done by manual test engineers as well as automation test engineer. Below are some common interview questions

Before going further into web testing concept we should have knowledge of below keywords

  • Test Environmet Architecture
  • Client
  • Server
  • Browsers
  • DOM
  • Cookies
  • Sessions
  • Redirections
  • HTTP / HTTPS Protocol

 

What is Browser Compatibility Testing?

What is SQL Injection Testing?

What is Client Server Architecture?

What is Cookies ?

What is Sessions?

What is Difference between Cookies and Sessions?

What is the scope of web testing ? – Performance testing , load testing , environment testing , functional testing , API testing, browser compatibility testing , Security Testing , Database Testing , Usability Testing , Interface testing

Common issues in web testing ?

What is difference between HTTP and HTTPS?

Http : Hypertext Transfer Protocol – Set of rules passing information from client to Server. Uses port 80

HTTPS : Hypertext Transfer Protocol using SSL- Secure Sockets Layer – or Using TSL Transport Layer Security. Uses port 443

What is cross site Scripting ?

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

Manual Testing Interview Questions

Manual Testing Interview Questions 

Here are some manual testing interview question if a test Engineer is having understanding of all below testing questions then he/she can say himself/herself good in manual testing basics. Manual testing is having its own scope and done by test engineers. Below are some common interview questions

What is Software Testing ?

Software testing means developed product meets the users’ requirements

What is Verification ?

There is always some standard defined for software product development by organization. So Is product  is developing as per the specifications and using the standard development processes. The process comprises the following activities:

  • Inspections
  • Reviews
  • Walk-throughs
  • Demos

What is Validation ?

We do validation on developed product to find bugs this covers below testings

  • Functional Testing
  • Non Functional Testing

What is difference between verification and validation?

What is Agile Methodology?

Agile Methodology is a software testing process that evaluates software from the customers’ point of view. In this methodology ,  development team and QA team can start together on project . There is no need that development team complete coding for starting QA. There will be requirement of continuous customer interaction.

What is Sprint?

 

What is Sprint Size?

What is Spill Over ?

What is Product Backlog ?

What is User Stories ?

What is Black Box Testing?

What is White Box Testing?

What is Test Plan?

What is Test Coverage ?

What is equivalence Partitioning ?

What is boundary value analysis?

What is Unit Testing?

What is Functional Testing?

What is Integration Testing?

What is System Testing?

What is UAT – User Acceptance Testing?

What is Smoke Testing?

What is Sanity Testing?

What is Regression Testing?

What is Retesting?

What is difference between Regression Testing and Retesting?

What is Performance Testing?

What is load Testing?

What is Stress Testing?

What is Data Flow Testing?

What is end to end Testing?

What is Alpha Testing?

What is Beta Testing?

What is Bug Life Cycle?

What is bug , Defect , Error ?

What is severity and priority ?

Give an example of low severity and high Priority ?

Give an example of low severity and low Priority ?

Give an example of high severity and high Priority ?

Give an example of high severity and low Priority ?

What is QA – Quality Assurance ? – We monitor process

What is QC – Quality Control ? – Process implemented by QA implemented by QC

What is bug leakage ? – when the bug is discovered by the end user/customer and missed by the testing team

what is Bug release? – when software is released with a set of known bugs

What is Monkey Testing ? – Checking behavior of software by random inputs and trying to crash application.

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

Common Software Testing Interview Questions

Common Software Testing Interview Questions

All Test Engineer need the common questions which can be asked in interview. Below are few Interview Questions Categories

Manual Testing Interview Questions

Web Testing Interview Questions

API Testing Interview Questions

Database Testing Interview Questions

Automation Testing Interview Questions

Selenium Testing Interview Questions

Unified Functional Testing Interview Questions

Security Testing Interview Questions

Common Process Related Interview Questions

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

What is C# (C Sharp) ?

What is C#  (C Sharp) ?

C# is a general-purpose, modern and object-oriented programming language pronounced as “C sharp”. C# is a programming language of .Net Framework.C# is an object-oriented programming language derived from C++ and Java. C# allows developers to build applications using Visual Studio on .Net platform. C Sharp supports below type of applications

  • Window applications
  • Web applications
  • Distributed applications
  • Web service applications
  • Database applications etc.

Our C# tutorial includes all topics of C#

  • Control statements
  • Objects and classes
  • Inheritance
  • Constructor
  • Destructor
  • Polymorphism
  • Abstraction
  • Abstract class
  • Interface
  • Namespace
  • Encapsulation
  • Properties
  • Indexer
  • Arrays
  • Strings
  • Regex
  • Exception handling
  • Multi threading
  • File IO
  • Collections

Below is C# example program to print Expert Software Team

using System;
namespace Expertsoftwareteam{
class Demoexample {
static void main(){
    Console.WriteLine("Expert Software Team");
	}
  }
}
  • A namespace is a collection of multiple classes. Each namespace is declared with keyword ‘using’.
  • The first statement of the code includes the namespace ‘System’ into our program. System namespace defines the fundamental classes and events used in C#. The namespace to be used depends on the program requirement.
  • The second statement is declaring a namespace “Expertsoftwareteam” for the class “Demoexample” A C# file can contain multiple classes within the same namespace.
  • The third statement includes the class declaration. A class may contain multiple attributes and multiple methods.
  • The fourth statement includes a declaration of the Main method. The main method is the entry point of execution for each class.
  • The last statement is the C# syntax used for printing a statement to console. WriteLine is a method of the class ‘Console.

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How to Download and install Selenium Web Driver ? 

How to download and install selenium web driver ?

All the engineers who want to work on selenium they are having query How to download and install selenium web driver. How to create setup for selenium testing. A lot of queries is there in mind of engineers. Lets give some light on this

Prerequiste for Selenium Web Driver installation

For Java

Step 1 : Download Java : Download java software development kit from Java Official Website

Step 2 : Install Java : Install Java by following instructions from java Official Website 

Step 3 : Download Eclipse IDE : Download Eclipse latest version from Eclipse Official Website

Step 4 : Install Eclipse IDE : Install Eclipse

  • Double click on downloaded setup
  • Select Eclipse IDE for Java Developers
  • Select Path to install. In our Case it is “C:\eclipse”
  • Click on Install Button
  • Wait for Installation
  • Click on Launch to launch Eclipse

Step 5 : Download Selenium java Client Driver from Selenium Official Website

  • Results to download zip file
  • Extract Zip file to C Drive
  • This Directory contains multiple jar files
  • Will be imported into Eclipse for selenium project

Step 6 : Configure Eclipse and IDE Driver

  • Launch Eclipse exe file from eclipse installed location. In our case it is “C:\eclipse”
  • Select Workspace location
  • Create a new project through File > New > Java Project.
  • Name the project as “newproject”
  • Project Name
  • Location to save project
  • Select an execution JRE
  • Select layout project option
  • Click on Finish button
  • Right Click on Newly Created Project in Eclipse
  • Enter Package Name in our case it is newpackage
  • Click Finish
  • Right Click on package name i.e. newpackage
  • Create a new Java class
  • Enter Class Name
  • Click Finish

Step 7 : Load Selenium Jar Files into Project

  • Right-click on “newproject”
  • select Properties.
  • Click on “Java Build Path”.
  • Click on the Libraries tab
  • Click on “Add External JARs..”
  • On pop-up window.
  • Open lib folder
  • Select all jar files and add it
  • Select files outside lib folder
  • click “Apply and Close” button
  • Click OK
  • Import Selenium Libraries Done

Step 8 : Installing Browser Drivers

For HTMLUnit and Firefox there is no need of separate component as web driver can directly communicate But for all other browsers like chrome , internet explorer etc. there is need of separate component called Driver Server 

In Selenium latest version , All browsers need a driver server to automate

We can officially download drivers from Selenium official website

For C#

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

What is Selenium Web Driver ?

What is Selenium Web Driver ?

Selenium WebDriver is a web automation framework that allows you to execute your tests against different browsers, not just Firefox, Chrome (unlike Selenium IDE).

WebDriver allows engineers to use a programming language in creating your test scripts which is not  possible in Selenium IDE.

Engineers can now use iterations logics and conditional operations.

This platform supports multiple languages Java, C#, PHP, Python, Perl, Ruby

Pros

  • Simple installation compared to RC.
  • Communicates directly to Browser Unlike RC.
  • Browser Interaction is more realastics.
  • Fast Execution time than IDE and RC.

Cons

  • Installation is complicated than IDE.
  • Need Knowledge of Programming.
  • Can not support new browsers.
  • Has to code for test results and logs.

Summary

  • Selenium WebDriver is a tool for testing web applications across different browsers using different programming languages.
  • WebDriver allows engineers to use a programming language in designing your tests thus give power to script.
  • WebDriver is faster than Selenium RC because of its simpler architecture.
  • WebDriver directly talks to the browser.
  • WebDriver’s API is more concise.
  • WebDriver can support HtmlUnit.
  • Web Driver cannot readily support new browsers.
  • Web Driver does not have a built-in command for automatic generation of test results.

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

Selenium Tutorials for beginners

Selenium Tutorials for beginners

Selenium is the open source web based automation tool. In this tutorials you will cover basics as well as advance features. Below are few topics which we are going to cover

What is Selenium ? Brief introduction about Selenium

What is Selenium Web Driver ?

How to Download and install Selenium Web Driver ? 

What is C# ?

 

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

What is Selenium ? Brief introduction about Selenium

What is Selenium ? Here is Brief introduction about Selenium

What is Selenium ? Selenium is a open source automated testing tool for web applications across different browsers and platforms. Selenium focuses on automating web-based applications.

What is Selenium Testing? When an test engineer perform testing using selenium tool is called Selenium Testing.

Selenium has 4 components

  • Selenium Integrated Development Environment (IDE) : a Firefox add-on that you can only use in creating relatively simple test cases and test suites.
  • Selenium Remote Control (RC) – Selenium 1 refers to Selenium RC : also known as Selenium 1, which is the first Selenium tool that allowed users to use programming languages in creating complex tests.
  • WebDriver : the newer breakthrough that allows your test scripts to communicate directly to the browser, thereby controlling it from the OS level.
  • Selenium Grid : is also a tool that is used with Selenium RC to execute parallel tests across different browsers and operating systems.

Selenium RC and WebDriver are merged to a single framework to form Selenium 2.

Selenium is more profitable than QTP in terms of costs and flexibility. It also allows you to run tests in parallel, unlike in QTP where you are only allowed to run tests sequentially.

Selenium Integrated Development Environment

Selenium Integrated Development Environment (IDE) is very simple(easy to learn) framework in the Selenium suite. For this we need to install Firefox plugin. However, because of its simplicity, Selenium IDE should only be used as a prototyping tool. For more advanced test cases, we need to use either Selenium RC or WebDriver.

Pros

  • Easy to use
  • easy to install
  • No Programming experience required
  • Only HTML Knowledge
  • Front built in interface for Test Results

Cons

  • Available in Firefox Browsers
  • Create only Prototype tests
  • No support Loop and conditions
  • Execution is very slow compared with RC and Web Driver

Selenium Remote Control (RC) – Selenium 1 refers to Selenium RC.

Selenium Remote Control is first automated web testing tool that allowed developers to put programming concepts like looping , conditions etc. This platform supports multiple languages Java, C#, PHP, Python, Perl, Ruby

Pros

  • Supports Loop and Conditions
  • Support data driven testing
  • Support new browser
  • Fast against IDE
  • Cross browser Platform

Cons

  • Installation is more complicated
  • Needs Selenium Remote Control Server in running mode
  • Need Programming Knowledge
  • API Contains redundant and Confusing Command
  • Inconsistent Results
  • Slower against Web Driver

Web Driver

The WebDriver is better than both Selenium IDE and Selenium RC. Its implements a more modern and stable approach in automating the browser actions. WebDriver does not rely on JavaScript for Automation. It controls the browser by directly communicating with it.

This platform supports multiple languages Java, C#, PHP, Python, Perl, Ruby

Pros

  • Simple installation compared to RC
  • Communicates directly to Browser Unlike RC
  • Browser Interaction is more realastics
  • Fast Execution time than IDE and RC

Cons

  • Installation is complicated than IDE
  • Need Knowledge of Programming
  • Can not support new browsers
  • Has to code for test results and logs

Selenium Grid

Selenium Grid is a tool used together with Selenium RC to run parallel tests across different machines and different browsers all at the same time. Parallel execution means running multiple tests at once.

It is having some great Features as follows

  • Nice Performance in terms of execution speed
  • Enables simultaneous running of tests in multiple browsers and environments.
  • Saves time enormously.
  • Follow hub and nodes concept. The hub acts as a central source of Selenium commands to each node connected to it.

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.