Integration of Protractor Beautiful Test Reports

Test Reporting in the Software testing is an essential part.  Finding a good reporting is an always very tedious task. In this tutorial, We will learn how we can integrate the ‘Protractor Beautiful Reporter’ – https://github.com/Evilweed/protractor-beautiful-reporter.

Why we choose this.
Normal Jasmine reporter is very simple and not much screenshot friendly. This plugin has following features which makes it more suitable for Reporting for Protractor / Angular based Projects.

  • Get attached Screenshots
  • Selenium & Browser’s Logs (only for Chrome)
  • Full Stack Trace (with suspected line highlight)
  • Screenshot only on failed spec.
  • Test Search
  • Filters (can display only Passed/Failed/Pending/Has Browser Logs)
  • Inline Screenshots
  • Details (Browser/Session ID/OS)
  • Duration time for test cases (only Jasmine2)

Note  – If you are using the jasmine 2(Jasmine 1.x: No longer supported), It can be integrated very easily with two steps.

Installation  – 

In your protractor config file  e.g protractor-config.js

Please note that the screenshots are generated are in  /tmp/screenshot directory.

If you want to have screenshot in sub folder  –

Screenshots Subfolder (optional)

You can store all images in a subfolder by using screenshotsSubfolder option:

Reports –  

 

Normal Test Results of Passwd Testcases – 

Support of logs  : – 

Failed logs and screenshot results

Read more at – https://github.com/Evilweed/protractor-beautiful-reporter

We have used it for a while. It far better than “Jasmine2HtmlReporter“. which lags in UI and some features.

Note: Make sure you delete the previous build folder of Junit else. It will combine your builds in one report.

Thanks for reading ! 🙂 If you enjoyed it, hit that share button. Would mean a lot to me and it helps other people see the story.

3,059 total views, 33 views today

 

Web Automation with Machine Learning – mabl.com

In this tutorial, we are going to learn about tool mabl.com that is an only ML-driven test automation service that automatically maintains tests and identifies regressions for you.

In this tutorial, we are going to create an end to end test cases in mabl.com and make them run in mabl.com platform.

https://www.mabl.com/
https://help.mabl.com/

1,527 total views, 18 views today

 

Automation Testing with Testing.io — Stable & Fast Tests

In this is a tutorial, we are going to learn about how to setup testim.io and we will create some of the test cases and run and schedule it.

Feature in Testim.io

  • Creating a Test
  • Recording and Playing back a test
  •  Labeling tests
  •  Validations and Assertions
  •  Screenshots
  •  Feedback on Each Step
  •  User Documentation
  • Grouping Parameterization
  • Version Control Branching
  • Reporting of Suite and Test Runs

Thanks for watching ! 🙂 If you enjoyed it, hit that heart button below. Would mean a lot to me and it helps other people see the story.

1,413 total views, no views today

 

Impact of the GDPR on Software Testing

As you all know that the General Data Protection Regulation (GDPR) is coming in Few days and We can’t ignore it.

gdpr

General Data Protection Regulation (GDPR) is one regulation that any development teams can’t ignore. We have to be compliant with these regulations.

If you are collecting user information, any personal Information like name, email, phone and other in your databases and putting them in your staging environment for Testing purpose or Production like Test data. You need to read below point to save it for GDPR. It would be better to remove or delete/mask it completely.

What is GDPR?
The General Data Protection Regulation regulates how companies protect EU residents’ personal data. It goes into effect on May 25, 2018. For every breach after that point, companies could incur fines of up to 4 percent of the company’s annual global turnover or €20 million (whichever is greater). Wow.

How to stay away from GDPR, Testers point of view?

  • Don’t Use Production’s Copy of Test-data if it includes some Sensitive or personal information.
  • Use Mocked or Dummy data sometimes we can them synthetically generate the test data while Testing in Staging.
  • If you have used the Production’s data in Staging and it is breached make sure you convey to respective authority.
  • You can use extract and mask technique, which basically has Production like a database but full masked and does not make any sense in real life.

So In a nutshell, Make sure as a tester in your Testing Procedure is compliant too to GDPR along with your Company.

Thanks for reading!
If you enjoyed it, hit that share button below. Would mean a lot to me and it helps other people see the story.

2,343 total views, no views today

 

Getting Started with Selenium Test cases in Python - Part 4

In this tutorial, we are going to learn about the How to write the Selenium Testcases in Python. We will discuss about the Waits while creating Test cases for the below statement.

We have one demo where we are written the test cases in Python and understand it.

This is a Part 4 of the series Getting Started with Selenium Test cases in Python.

Thanks for reading! 🙂 If you enjoyed it, hit that share button below. Would mean a lot to me and it helps other people see the story.

1,032 total views, no views today

 

Getting Started with Selenium Testcases in Python – Part 3

In this tutorial, we are going to learn about the How to write the Selenium Testcases in Python. We are going to cover the how to do Navigation, Locators, Drag and Drop and other Concepts.

We have one demo where we are written the test cases in Python and understand it.

We are going to automate http://demoaut.katalon.com to make an appointment in the system using Selenium Python.

This is a Part 3 of the series Getting Started with Selenium Testcases in Python

Slides  – https://docs.google.com/presentation/d/1IIxCaLfqdngWoQ1mi2bb7Sgqlg7LYLLJ0MaBWbhAcj0/edit?usp=sharing

Thanks for reading! 🙂 If you enjoyed it, hit that share button below. Would mean a lot to me and it helps other people see the story.

900 total views, 6 views today

 

Getting Started with Selenium Python – Part 2 (Unittest module)

The Python unit testing framework, sometimes referred to as “PyUnit,” is a Python language version of JUnit, by Kent Beck and Erich Gamma. JUnit is, in turn, a Java version of Kent’s Smalltalk testing framework. Each is the de facto standard unit testing framework for its respective language.

1,072 total views, no views today