Usecase:

Solution:

Techstack of my solution:

  • Jest
  • Typescript

Implementation:

Add your condition before tests. As per my structure

describe()     if() --> conditional implementation

it()

it()

Tests only run if condition passed with given value.

Hope this post may save your time when needed. Happy coding :)

As I was selecting the UI test framework for a web project, done a little bit of research depending on Project Requirements. Hope this post will help techies who looking for a quick review of the latest frameworks.

Use Case

  • UI Test Automation for Web project written in Angular.
  • Need multi-browser support…

When “RequestSpecification” for the HTTP request, you may forget to check URL encoding. That may affect the path you need to invoke.

Example:

You need to invoke:

http://www.mocky.io/v2/5c78ed70300000a42d49b04d?user=qavisenti@gmail.com&groupby=zone&displaygroup=smart

By default, URL encoding enabled with RequestSpecification requests and will be the request as follows:

http://www.mocky.io/v2/5c78ed70300000a42d49b04d?user=qavisenti%40gmail.com&groupby=zone&displaygroup=smart

Hence disable URL encoding:

RestAssured.baseURI = "http://www.mocky.io/v2/5c78ed70300000a42d49b04d";RestAssured.urlEncodingEnabled = false;RequestSpecification httpRequest = RestAssured.given().
queryParam("user","qavisenti@gmail.com").
queryParam("groupby","zone").
queryParam("displaygroup","smart").
request().log().all();
Response response = httpRequest.request(Method.GET);

I was working with a test automation framework with cucumber, selenium and TestNG.

According to the requirement, had to have hybrid test architecture to cater to use cases. Hence decided to do REST API testing with Rest Assured.

Framework:

  • BDD method used via Cucumber
  • Selenium for…

Question:

Input String may have content inside of brackets. All the content in brackets should be in reversed order.

Ex:

  • Input — “Hello(Wel(co)me)” Outcome — “HelloomcoleW”

Assumptions:

WSO2’s cloud-enabled, 100% open source enterprise service bus (ESB) [1] is a standards-based messaging engine that provides the value of messaging without writing code. It provides data integration capabilities, eliminating the need to use a separate data services server for your integration processes.

In general, ESB has to offer a…

Setup

  • Enterprise Integrator 6.1.0
  • Analytics profile configure with Oracle 12 c database
  • Analytics two nodes in separate instances

Data source Configuration

  1. Install Oracle database server.
  2. Create databases in Oracle.

Create

  • USER MANAGEMENT database (),
  • WSO2_ANALYTICS_EVENT_STORE_DB (anaevesto61),
  • WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB (anaprodstor61) and
  • Two carbon databases (wso2carbonana1, wso2carbonana2) as we need 2 local databases for…

Dilshani Subasinghe

Techie | Traveler | Writer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store