Hello World, Motto: By this post, I will talk all about screenplay-pattern for automation testing. So Here, there are two terms, which are BDD and screenplay-pattern . so let's understand these first. 1 : BDD ( Behavior Driven Development ) Behavior Driven Development is a software engineering process that stems from Test Driven Development(TDD) and Acceptance testing. If you want to dig in more into it then follow this site. 2 : screenplay-pattern a code pattern on the top of serenity and an alternative model to PageObjects and it follows the SOLID property. Now, here let's understand "SOLID". It stands for Single Responsibility Principle Open Closed Principle Liskov Substitution Principle Interface Substitution Principle Dependency Inversion Principle Sample/Dummy Project: https://github.com/nityanarayan44/BDD-Screenplay References: http://blog.caplin.com/2017/01/04/screenplay-pattern-a-solid-alternative-pattern-to-page...
Hello World, Everyone of us usage the emojis at some point, because its quiet expressive. and when you are a programmer then it becomes more curious to print emoji characters out. I thought of printing emojis out for the logs , most of the time when I used to print the logs specially for the errors or exception message then I always try to express the message with more expression . Well, you can print emojis using python as well. For that we can follow one of the following things: 1- Unicodes 2- Library 1- Unicodes: There are unicodes for every single character that is going to be printed out and that's why there are unicodes for the emojis too. For example : Unicode for thumbs up is "U+1F44D" which in python is going be be as "U0001F44D". As you have noticed that we are replacing "+" with "000", and not only that we also append "\" in front of this unicode while printing. So finally the thumb up emoji can be printed with : print(...
Hello World, There is more information on the Internet than any human can absorb in a lifetime. What you need is not access to that information, but a scalable way to collect, organize, and analyze it. Then, You need web scraping. So let's discuss this scrapping thing. Now, the Scrap Means: to take out something from somewhere and If we add 'web' to it, then it means to take out something from the web resources. Web scraping automatically extracts data and presents it in a format you can easily make sense of. In this tutorial, we’ll focus on its applications in the webpage data extraction, but web scraping can be used in a wide variety of situations. Roadmap for this blog: - Setup with the tools and library - Basic of the HTML DOM - Scrapping Rule - Coding part Pre-Requisite: - A basic understanding of programming concept in python ---------------------------------------------------------- Getting Started with the tool...
Comments
Post a Comment