Bulk upload: Jira issues

Problem

The major challenge for a Product owner & Scrum master in Agile based project is to think of stories & get the requirement crystal clear for the team.

The next challenge we get through is creating & writing the stories in Jira. In this post, I will share how I have created bulk stories in Jira using simple CSV files.

Details

I own a project which is based on Scrum. I am working very closely with Product owners in getting the prioritization, alignment & requirements of stories in the sprints.

So we are using a tool called Test Rail to manage our Test cases. The project is more inclined toward QA automation. But the solution which I will talk about can be applied to any project.

Continue reading “Bulk upload: Jira issues”

JavaScript elements handling in selenium

As we see most of the applications are moving towards development with Angular, React, Aurelia, JS, TS bases scripting language and framework which uses these scripting languages.

When it comes to Quality assurance there is still some project which has not adopted a new framework based on these scripting languages.

For those, we have to interact with the JavaScript element multiple times just to make a tweak in the code. As DOM is very responsive and GUI is fragile we need to make those adjustments in the code. Here are some ways via which we can carry out that in a project which uses Selenium and Java together.

Continue reading “JavaScript elements handling in selenium”

Implementing page object model using protractor and typescript

Before we dwell on some facts let us step back and understand why I am actually writing this blog. As we understand with this rapid growth not only the developers but we Automation Test Engineers are also constantly grooming ourselves by learning new stuff.

Be it a new programming language or a scripting language we have to widen our thoughts. So while thinking of creating a new automation framework now we are discussing things like handling promises, synchronization, infrastructures, continuous testing, continuous integration, version control, etc

In one of the recent projects, I have created a framework in which we picked a new tech stack in contrast to the one which is widely used (Yes, I am talking about Java+ Eclipse + TestNg.)

Let’s go deep dive and understand what all I have done for automating an application for which Frontend is written in Aurelia and Backend in C#

Continue reading “Implementing page object model using protractor and typescript”

TS issue with Circular dependency

TypeError: Class extends value undefined is not a function or null

TypeError: Class extends value undefined is not a function or null

Continue reading “TS issue with Circular dependency”

Maven : Know-how !

To build the Enterprise Edition applications we use Maven.

Please download and install Maven. The build is tested with version 2.2.1 and 2.0.9.

The maven build should be able to set up the sources out of the box. The build should construct all components of the application (e.g. Java Archives, Web application archives, Flex application, etc.) automatically and consolidate them to deployable packages.
Continue reading “Maven : Know-how !”

Soft assertions in protractor based typescript automation framework

How many of us has seen that while running code at once glance if the code fails at some step, then other test steps which meant to run post that step is marked as skipped in the final result?
Also, how about rephrasing the same sentence such that the code does not run and marked as skipped in the final run-results challenging the law of ‘fail-fast’. By the execution, we can not infer whether the code was wrong or the functionality dint work as it was an incomplete run for the one who ran it. I am sure many of the QA folks can relate to this. To be more precise, can we relate to this console screenshot.

How many of us has seen that while running code at once glance if the code fails at some step, then other test steps which meant to run post that step is marked as skipped in the final result?

Also, how about rephrasing the same sentence such that the code does not run and marked as skipped in the final run-results challenging the law of ‘fail-fast’. By the execution, we can not infer whether the code was wrong or the functionality dint work as it was an incomplete run for the one who ran it. I am sure many of the QA folks can relate to this. To be more precise, can we relate to this console screenshot.

Selenium Builder – Exporting and execution

In continuation of my last blog, I will here share a more advanced capability of Selenium Builder.
Now as we are done with the set up we can talk one step ahead. Let’s start with an example :
I have opened a website in firefox and I want to automate some actions on this page. Let’s say :

 I want to open the URL (https://khyatisehgal.wordpress.com/).
I need to check a blog on this website, the very first one.
I want to see the author’s about my column.

In continuation of my last blog, I will here share a more advanced capability of Selenium Builder.
Now as we are done with the set up we can talk one step ahead. Let’s start with an example :
I have opened a website in firefox and I want to automate some actions on this page. Let’s say :

  1.  I want to open the URL (https://khyatisehgal.wordpress.com/).
  2. I need to check a blog on this website, the very first one.
  3. I want to see the author’s about my column.

And that’s all.

What I will do for this is,

  1. open the firefox
  2. launch the Selenium Builder.
  3. start doing the above steps.

Continue reading “Selenium Builder – Exporting and execution”

Web Automation – quick walk !

What is WEB ? Everything which is available over internet is Web .

Automation in layman terms is to imitate a user action. It could be a joker who used to mimic as some child or a Robot doing the same stuff an human used to do.

So Automation is a big picture all-in-all it is a task which once done can save a lot of human manual tasks.

So lets start with how we can start this tour ?

images (4)

In software development , automation is as important as manual stuff. And to mention specifically for Testing perspective , Automation testing is a base-line which a Team can rely on.

Continue reading “Web Automation – quick walk !”