Earn Money in 10 days

Selenium Videos

Protractor In Selenium

Livechat

Wednesday, 4 July 2018

Protractor in Testing

Now a days most of the applications are built on angular js.Angular js applications are very fast in loading so we get synchronization issue with selenium.

Angular js web element can't automate by selenium webdriver.Because angular js attributes are ng repeater,ng controller,ng binder,ngmodel.
Selenium locators can be identify by Id,Name,Link Dom,Css etc.So Protractor can handle those attributes which can't automate by selenium.

What is Angular Js?
Angular js is a open source framework for front end and web application.It is developed by Google and written java-script. Angulr js application which uses extended html syntax to express web application component.Basically it is used in dynamic web application.
Angular js extends html with ng directives.

  1. Ng app directives defines an angular js application.
  2. Ng-model directive binds the value of html controls(input,select) to application data.
  3. Ng-Bind directive binds application data to html view.
Synchronization issue in angular js application.
Selenium goes by line by line execution.These elements take some time to load.By the time if selenium search for these elements sometimes its load and sometimes don't.If selenium take some action on it they are not present so it will be synchronization issue.

Automation on angular applications By Protractor
  1. Protractor is an end to end test framework for angular js applications.
  2. Protector which is built on top of selenium can handle angular elements.
  3. Protractor is purely javascript and you can.t use any other language like c# and java.
Protractor  Test Framework

Protractor is a nodeJs program.To Run you will need to have node .js installed.You will download protector package using npm which comes with node.js.

What is nodejs.
Node js is open source cross platform java-script run time environment for excecuting java script code server side.

Installation of Protractor
  1. Open Command Prompt
  2. Type "npm install –g protractor" and Press Enter.
It will install two command line tools.
  1. Protractor
  2. webdriver-manager
Web-driver manager is a helper tool to easily get an instance of selenium server running. 


In the Next post i will show you installation and various scenarios of protractor automation.



Thursday, 28 June 2018

BlackBox Testing

Black box testing is a software testing in which a manual tester test the functionality of a software how it will work without the knowledge of internal structure.This type of testing is based on software requirements.                                         

Data Inputs are prepared for the software and output is compared with the expected results.

Following are the Steps which are done for black box testing.

  1. Requirements and specifications of the system is to be examined.
  2. Tester chooses valid input and  positive test cases for system to be works expected.
  3. Invalid inputs or negative testcases are execute as well so that system should give error.
Type of BlackBoxTesting
  1. Functional Testing
  2. Non Functional Testing
  3. Regression Testing
Black-box Testing Techniques
  1. Equivalence Partitioning
  2. Boundary Value Analysis
  3. Cause Effect Graph 
Tools used for blackboxtesting
Tools depends on blackboxtesting which type of testing have to perform.
Functional Testing
Qtp,Selenium
NonFuctionalTesting
LoadRunner,Jmeter



Software Testing

What is Software Testing.

Software Testing is meeting  all the specification which is written in  Requirement  Known as software requirement specification.
Software requirement specification is a written document in which contains all details how the system will perform exactly.
It is a process of finding error in software program whether the software or application is working as a end user.
Software Testing is specially to identify the product is defect free in order to produce good quality product.Also Verifying the software is working s expected.Any new application or software must manually tested before giving to the customer.

Three type of approaches in Software Testing.

  1. BlackBoxTesting 
  2. WhiteBoxTesting
  3. GreyBoxTesting







Popular Posts

 
subscribe
Subscribe Us
emailSubscribe to our mailing list to get the updates to your email inbox... We can't wait more to have your email in our subscribers email list. Just put your nice email in below box: