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”

Newman integration with Postman

A postman is a tool that helped a lot of software engineers in testing APIs.

We can actually send the collections to marketing people & clients also. There is a lot we have evolved in this tool. Today I am going to show how I integrated Newman with the postman in one of my existing collections.

Lets get started

  • ​​ First you need to create a folder in your operating system.
  • Put your postman collection here – by Exporting the project from the postman.                       
Export in postman
Continue reading “Newman integration with Postman”

Agile Practise: Test Phases

To be honest as a QA, we shall not be much process driven.I personally don’t like involving myself in much of a process thing.

But keeping bullets or notes of stuff which I have to do always help in accomplishing a task.

Whenever we kick off any new project or revamp strategies of existing project then its always good to write all your ideas be it process driven or execution driven on a document. This pandemic has made us so flexible & available that such document always help , as sharing such atleast gives a basic idea to the team.

Today what I am sharing is not a hard coded or only source of truth that is followed throughout the industry but yes can be considered .

Continue reading “Agile Practise: Test Phases”

ERROR @wdio/sync: TypeError: hook.apply is not a function at execHook

Problem

hook.apply is not a function at execHook (/Users/khyati.sehgal/Documents/workspace/web-app/e2e/node_modules/@wdio/sync/build/executeHooksWithArgs.js:21:31) [0-0] 2021-02-02T02:58:31.052Z

ERROR @wdio/sync: TypeError: hook.apply is not a function at execHook

Continue reading “ERROR @wdio/sync: TypeError: hook.apply is not a function at execHook”

Automating react application

Nowadays we all moving towards frameworks like Angular, react Js, Vue JS, etc.

So for Quality teams we have also started looking for options which support scripting language. But before starting any new things a wise approach is to understand the requirement & then look for suitable solution which full-fill it.

Options I considered

  1. Protractor
  2. Jest
  3. Nightwatch JS
  4. Cypress
  5. webdriver JS
  6. selenium
Continue reading “Automating react application”

Agile practice: Test Strategy

Objective 

Before starting any project , we always try to consider working on certain pointers which will help the team in long go. One of them is a QA Strategy & defining the scope of QA in the project.

Scope

What should be the scope of quality related to sprint, release, UAT, etc. If we work on it before hand during initial phases of the project so that we can get maximum benefit out of it.

Continue reading “Agile practice: Test Strategy”

Generating allure reports in webdriverio

Webdriver provides lot of reports which we can add as a part of the automation suite. You can find details in the webdriverio documentation here

Depending on your requirement you can look for the options. The product on which I am working on, is a customer facing application, so we wanted to consider variant matrix covered as a part of browsers, Operating system, versions of them. Also for the stakeholders to show how the tests are running & moreover the coverage, we have to integrate the reports in our post scripts.

Let’s understand to generate & serve the reports what shall we need to do.

Continue reading “Generating allure reports in webdriverio”

Setting environment variables in AWS amplify

Use case

  • There are certain variables which we need to set while building our application like Integration of test Runner services like Sauce Labs, Browserstack, etcFor this you need to fetch the user name & key from the build tool itself.
  • Also , there could be a chance where you need to run automation at one environment & don’t need to run the whole regression suite on it.

And many more.. As we set them for any Operating system like Windows, Mac, its always good to have them in delivery process as well. Just to make sure we are keeping things flexible

In such cases, you need to set environmental variables.

Continue reading “Setting environment variables in AWS amplify”

Integrating git with AWS amplify

In my recent assignment, we as a team finalised AWS amplify to use as a scalable devops tool.

It took a lot for us a team to get ourself familiar with AWS Amplify, but as the world is evolving we tried our best to put the best of the tools we can add in our project.

Continue reading “Integrating git with AWS amplify”

Cucumber Scenario set up in a typescript-driven protractor framework.

In this blog, I will describe how I have mapped the feature file to step definition and then to page objects in a protractor driven cucumber project.

In this blog, I will describe how I have mapped the feature file to step definition and then to page objects in a protractor driven cucumber project.

Background:

The project is based on

Continue reading “Cucumber Scenario set up in a typescript-driven protractor framework.”

Effective Delivery Teams in Agile practice

For an organization to make sure the business is running, as usual, it directly depends on how the employees understand the business. Now the question is, do we as really want them to understand how we run business and what shall happen if we dint meet the EBITA for that matter.Safeguarding the health of each of the delivery teams is a continuous responsibility. It requires teams that are continuously improving on the ever-changing mechanics of the product -employment-client lifecycle.

For an organization to make sure the business is running, as usual, it directly depends on how the employees understand the business. Now the question is, do we as really want them to understand how we run business and what shall happen if we dint meet the EBITA for that matter.

Or in other words, how important for the employees of an organization is to understand what core believes it holds?

Safeguarding the health of each of the delivery teams is a continuous responsibility. It requires teams that are continuously improving on the ever-changing mechanics of the product -employment-client lifecycle.

Continue reading “Effective Delivery Teams in Agile practice”

Was unable to find a step for “”: Mapping stepDefinitions to feature file in cucumber

Was unable to find step for “Given open application as admin user”cucumberautocomplete

While working with cucumber, when steps are not mapped completely with the feature files, it usually gives this as a warning.

In this blog, I will share how can we map the step definition with the feature files.

How does the feature look like?

unimplemented_methods
unimplemented_methods

But I already have a step defined for this, then why this error is coming?

Continue reading “Was unable to find a step for “”: Mapping stepDefinitions to feature file in cucumber”

Revamping automation framework with Product Mindset logic’s.

Often we really don’t care to look at the material which we don’t understand or which is not eye-catchy. In this space, I will try to share a real-time example of how we as a team understood and deliver a problem that our Product owners and stakeholders were facing at the client-side. And thus helped us as a team in better collaboration over the certain things which we were doing in chunks.
Alright to start with..how about this, can you read this? Very few people can connect to this…right?

Not easy to understand

And now this? More people can understand.

A Simpler way to understand a complex code.

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused

Error Stack Trace

Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused: connect
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
Continue reading “Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 127.0.0.1:4723 [/127.0.0.1] failed: Connection refused”

FAILED: test org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {“code”:-32603,”message”:”Cannot navigate to invalid URL”}

FAILED: test
org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"}
(Session info: chrome=49.0.2623.105)
(Driver info: chromedriver=2.18.343845 (73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 180 milliseconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
System info: host: 'HSNMM-KhyatiS', ip: '10.50.33.63', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'
Session ID: 805809dc0b6156ce969fb10e0e95c2a5
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{platform=ANDROID, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=49.0.2623.105, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=true, applicationCacheEnabled=false, takesScreenshot=true}]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)

Continue reading “FAILED: test org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {“code”:-32603,”message”:”Cannot navigate to invalid URL”}”