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, Many times specially during web development on core HTML 5[although its not just limited here only.], we need a web server to test the application and specially JavaScript and other features of html 5, which are only available on localhost,HTTP. Now, here you can go with traditional web servers like Tomcat Apache or any other server, but then you need to configure them accordingly and very carefully and that may took very dedicated time around 00:30 mins to 1 hour [i am talking here about very basic web server]. So, is there any techniques that can help us to creating a web server in just a simple one line command hit... Yes there is. actually there are many server framework that are just a few line setup away to have a basic web server. Here i gonna talk very simplest one, that will help us to create a very basic web server. And it is Python's module "SimpleHTTPServer". Dependency/Requirement: But there is a very small dependency to have you on y...
1- Download Apache from here: http://tomcat.apache.org/download-70.cgi 2- Follow the step: After downloading the zip-file, I extracted it to c:\java (the location is of your own choosing though). Next I turn to NetBeans to configure Tomcat 7 as a new server. Open the Tools menu and select the option Servers: The list of currently configured servers appears. Underneath is the big Add Server button. Press that button. Select the type of Server to add and provide a name for it – just for reference within NetBeans. Press Next. Provide the location where this server instance is installed – the target directory for the extraction of Tomcat 7. Also provide credentials for a Tomcat Administrator account ( in my case I used admin/admin). Press Finish. The newly configured Server is presented: Press Close. Now the Tomcat 7 Server can be started (and stopped, deployed to etc.) from within NetBeans. Open the Services Window (from the Window m...
Comments
Post a Comment