Multi-Shoring

Utilizing AngularJS and LESS in AEM context

In the project which was ended long before, worked as a front-end developer, I faced the challenge that I needed to develop a suitable workflow for front-end development in AEM context. Besides the three well-known mundane front-end technologies – HTML, CSS and JavaScript, I managed to get another two good helpers – AngularJS and LESS, which were really great tools and contributed a lot to the final success of the project.

AngularJS

What is it?

Read the rest of this post »

Posted in Coding, Web application

SparkR for Data Scientists

Although the title Data Scientist is not mentioned as often as other IT job titles, it has been in the IT world for a while and is becoming more important with the popularity of the Internet and eCommerce. What kind of skills should a data scientist have? It could be a long list, but I think a data scientist at least needs to be good at: Read the rest of this post »

Comparison of Test Management Tools

Test management is the activity of managing a software testing process. It’s an important phase to focus on in order to get high-quality software. Examples include creating and executing test cases. To manage these activities, we use test management tools. There are currently lots of user-friendly test management tools available on the market. Some are open source and some are licensed.

Why Test Management Tools:

  • A test management tool acts as a common place where all the test cases required for execution are stored so updates to the test cases reach all members involved in it
  • Repetition of work can be avoided
  • Increased productivity in a short duration

The test management tools used for comparison are PractiTest, Qmeter, TestRail, Zephyr, qTest, TestLodge, Testuff, Testcollab, Gemini, and TestLink. All of these tools have their own pros and cons. The tool comparison matrix below will help in selecting the best test management tool based on the requirements.

Diagram4

 

Posted in News

DevOps, Agile and Mobile Developing

Unlike most traditional program products or IT solutions, mobile development is very dynamic. You must follow the evolutionary change of mobile devices regularly to keep up. Usually, faster response, adaptive planning, early delivery and flexible response to change are the keys to providing a successful mobile app solution. An agile software development style, such as SCRUM, or a faster Iterative and Incremental development is highly recommended to be embedded in mobile developing.

In our China office, we use SCRUM development in most of our focus areas and mobile development equally. We work in sprints and deliver continuously. The lifecycle looks something like this: Read the rest of this post »

Get HTTP Cookie for Web Service Authorization in SoapUI

Web service may need credentials to allow a client to make a request call to the report server. The authorization method depends on the security settings for your report server. SoapUI is a popular web service testing tool, and testers need to send authentication information in SoapUI to the server before testing target requests.

Authorization Types

SoapUI provides a UI function to get credentials for basic authorization, NTLM authorization, and OAuth 2.0 authorization. Testers just need to select the authorization type and type username, password and domain, then the request can pass the authorized information to server. But some servers need to get the sessionID or cookies to validate instead of username. In this blog post, we will discuss how to get the HTTP cookie as a credential. Read the rest of this post »

Posted in Testing

Exchange Data between TM1 Instances by TM1RunTI

Here is an example to transfer data between TM1 Instances byTM1RunTI configuration file and some tips for trouble shooting.

TM1RunTI is a command line interface tool that can initiate a TM1 TurboIntegrator (TI) process from within any application capable of issuing operating system commands. That means it can be called cross TM1 Instance, especially when you want to exchange data between instances.

Suppose there are two TM1 Instance A and B. Now we want to transfer data from A to B. The TI in instance B will be called by TI in instance A, so the data can be loaded into instance B. Read the rest of this post »

Posted in BI&Database

Integrate Scala to automation test projects

Scala is a JVM-based, statically- checked, multi-paradigm programming language — mixing up object-oriented programing with functional programing, which delivers a concise and elegant code style. Scala codes can be seamlessly compatible with Java projects as the complier of which turns all those .scala files into several .class binary files. And currently IDE plugins for Scala have been mature in some extent to support a smooth coding experience.

I’ve tried to integrate Scala code into an existing selenium-testng frame. It turned out easy to reach: Read the rest of this post »

Posted in Coding, Testing

A Spark Example to MapReduce System Log File

In some aspects, the Spark engine is similar to Hadoop because both of them will do Map & Reduce over multiple nodes. The important concept in Spark is RDD (Resilient Distributed Datasets), by which we could operate over array, dataset and the text files. This example gives you some ideas on how to do map/reduce from a log file stored in HDFS and determine which IP address was repeated most frequently:

Sys Log Format

Here is the log file format that we used to do analysis and count how many Source Addresses occur most. We will filter most of the information and only look at Source Address section. Read the rest of this post »

First bite of Apple’s new UI testing tool

In early June, Apple released a new UI testing tool in WWDC 2015. I’ve tried this interesting tool in some of our internal projects during the past three weeks, and I’ve discovered some pros and cons along the way. I share my experiences below:

What’s my environment:

OS X Yosemite 10.10.3

Xcode 7.0 beta 2 (pre-release version)

Swift 2.0 (pre-release version)

iPhone 6 Simulator iOS 9.0 (pre-release version)

The pros of Apple’s new UI testing tool: Read the rest of this post »

Posted in mobile, Mobile APP, Testing

Heron: Is it Apache Storm 2.0?

In terms of real-time messaging or event analytics on the distributed node, we think of Storm and Kafka, both famous Apache projects. Storm has been used in Twitter’s production for many years, so it proves to be powerful. On June 4, Twitter shared news that the company developed a new system called Heron to handle billions of events each day, which is fully API-compatible with Storm. Here, we preview the new features in Heron and what’s different with Storm: Read the rest of this post »