It's All Writing.

Writing makes you happy.

How to implement multiple key's group by at node

Prerequisites There are arrays has multiple elements as below. [ { "name": "SHINCHI, Takahiro", "mail": "shinchi@its-all-writing.com", "hobby": "Walking" }, { "name": "SHINCHI, Takahiro", "mail": "shinchi.xx@gmail.com", "hobby": "Playing t…

How to execute End-to-End Testing with WebdriverIO on CircleCI 2.0

It's easy way to execute Web application's End-toEnd testing that using circleci/node:latest and selenium/standalone-chrome:latest as image of Docker. I'll show sample .circleci/config.yml as below. version: 2 jobs: build: docker: - image:…

How to get Salesforce sObject's fields information by node

It's simple. You can use jsforce for this purpose. The describe method returns sObject's meta data. The environment and code is below. Enviroment node jsforce lodash Code const jsforce = require('jsforce'); const lodash = require('lodash')…

How to detect that it can be merged between multiple elements in an array at node.

Prerequisites There are arrays has multiple elements as below. const mergeableArray = [ { 'age': 18, 'status': true }, { 'hobby': 'fishing' }, { 'status': null } ]; const unmergeableArray = [ { 'age': 18, 'status': true }, { 'hobby': 'fish…

How to get Salesforce sObject's fields information by python

It's simple. You can use simple_salesforce for this purpose. The describe method returns sObject's meta data. The environment and code is below. Environment python 3.6.x simple_salesforce Code #!/usr/bin/python from simple_salesforce impor…

How to delete child records ( cascade deleting ) at the time of deleting parent record.

I wrote The application in which have the structure in which User ( parent record ) has many Comments ( children records ). And I tried to implement cascade deleting ( at the time of deleting User (parent record ), I also want to delete Co…

How to make a End-to-End Testing by WebdriverIO and Microsoft Excel.

I explained the way to convert xlsx to JSON and a basis of WebdriverIO by entry in last time and the time before last.Now, I’ll explain “How to make a End-to-End Testing by WebdriverIO and Microsoft Excel.”. Prepare Now, I’ll prepare the e…

Basis of WebdriverIO

Basis of WebdriverIO WebdriverIO is a End-to-End Testng tool for a Web Application.It implements all Webdriver protocol commands and provides that you can manipulate that by Node.js. Previous entry, I explained the way to take JSON out fro…

How to make a specification which is executable and inspectable.

I explain how to make a specification which is executable and inspectable through some entries continued. The following technologies is used. Node.js JSON WebdriverIO Microsoft Excel ( Please don’t hate! Excel is one of the most suitable t…