Thursday

Awesome Github Topics


Last week, GitHub released an awesome feature called Topics. It allows authors to tag their repositories.

If you have read my previous post you would know what gitlogs are.

Why I love gitlogs is because they innovate and have now updated and built a simple project called Awesome Github Topics

It's an indexed list of the top 500 topics on GitHub that's painstaking filtered and categorized into different categories based on developer interests.

http://www.gitlogs.com/awesome-topics

Monday

Exploring Gwen Continued


Continuing from my previous post  and after attending the meetup last evening I decided to put in a few hours to see what the tool had to offer.

Opensource is wonderful and when it's in the test automation space and from the city you live in it gets even better!

The tool is quite intriguing.

Let's explore:

Github page: https://github.com/gwen-interpreter/gwen-web

See also:

Install by downloading the zip or using maven: https://github.com/gwen-interpreter/gwen-web/wiki/Installation

Add the gwen.properties file in the users home directory
This makes it a lot more easier to use.

Here are a list of supported properties: http://htmlpreview.github.io/?https://github.com/gwen-interpreter/gwen-web/blob/master/docs/conf/gwen-web-settings.html

Choose the browser from the properties file

Use the -r option to create reports
Moore options here https://github.com/gwen-interpreter/gwen-web/wiki/Gwen-Web-User-Guide


Use the --parallel option to run tests in parallel
gwen --parallel   .. 
Configure the gwen.rampup.interval.seconds runtime setting. If you set this value to 5, the staggered execution will look like this:
|< 0 secs >|<-- --="" 1a="" feature="">|<-- --="" 1b="" feature="">|..
|<----- 5="" secs="">|<-- --="" 2a="" feature="">|<-- --="" 2b="" feature="">|..
|<---------- 10="" secs="">|<-- --="" 3a="" feature="">|<-- --="" 3b="" feature="">|..
|<--------------- 15="" secs="">|<-- --="" 4a="" feature="">|<-- --="" 4b="" feature="">|..
This brings us to a very interesting question: Should we do codeless automation?

Here are some experts on the same:

Thursday

Exploring Gwen

Gwen Stefani! Not really :)

Gwen: The tool that claims to reduce the development effort when testing using selenium in a BDD(Gherkin) fashion.

Attending a meetup by the developer(Branko Juric) himself here

Quoting the details:

"Automating tests with Selenium WebDriver is a very developer centric activity. But what if you could express the expected behavior of a feature in a standard business language instead and have an interpreter translate and evaluate it for you? This session will introduce and demonstrate an open source automation tool called Gwen that allows you to compose executable tests in a way that frees you from the development concerns typically associated with automation. It will also show you how Gwen can help BDD practices and Agile teams rapidly accelerate their UI testing. As a user of this tool, you no longer need to write any code that interacts with Selenium, develop any page objects, or build any test frameworks at all."

I thought let me play around before I attend the session.


  1. Installation: https://github.com/gwen-interpreter/gwen-web/wiki/Installation
  2. Flood IO Challenge
  3. Open a regular command prompt .. Traverse to where gwen is downloaded and stored
  4. test gwen --help


















Page Scopes
  • Gwen-web introduces the concept of page scopes. Page scopes are stacks of name-value pairs bound to namespaces in memory. Gwen uses them internally to manage all pages and web element bindings for you. You simply specify what pages and web elements you require using a prescribed DSL
Not convinced yet!
Got much more to explore and will do after the session I guess :)