Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Smart strategy for User Interface Bi-di mode auto-check

IP.com Disclosure Number: IPCOM000235717D
Publication Date: 2014-Mar-24
Document File: 7 page(s) / 108K

Publishing Venue

The IP.com Prior Art Database

Abstract

Bi-Directional (BiDi) user interface and text check is a necessary and important part in globalization verification test (GVT). To be specifically, developers and tests should take extra effort to develop and test those right to left (RTL) languages, e.g. Arabic, Hebrew. These written languages are written in a direction from right to left (RTL) and so does corresponding UI layout. In most applications, the RTL mode is symmetrically consistent with left to right (LTR) mode. However, nowadays, the tests have to compare these two modes manually. In GVT test, they have to compare RTL UI layout and text with LTR’s one by one for all the UI in one application. This is very inefficient and will cost too much effort to compare if there are huge numbers of UI in one application. This innovation introduces a method or apparatus to check BiDi mode UI automatically by snapshot compare and envent check. It will save time and cost to do manually compare, especially in the development of large applications.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 44% of the total text.

Page 01 of 7

Smart strategy for User Interface Bi

Smart strategy for User Interface Bi- --di mode auto

di mode auto di mode auto- --check

check

This invention offers a new solution to solve the problems in Bi-Directional(BiDi) user interface check in GVT test. It provides a way to help developer or tester find BiDi related issues quickly and save the effort to verify these issues automatically. In our invention, the user interface can be mirrored to compare with the regular mode and create one report for those non-overlapped places. What's more, advanced features of user behavior can be easily supported in great efficiency.

The key idea of this invention is a solution to auto-check the accuracy of BiDi user interface or behavior. The main advantage of our invention over existing solution is:


1) It provides an easy way to check the BiDi related issues of user interface or behavior.


2) It saves the time and effort to auto check or verify BiDi related issues with a report to show the issues are .

As described above, the key value of this disclosure is to auto-check the accuracy of Bi-di mode of user interface, so that both developers and testers can easily detect the widgets not following Bi-di mode correctly. The Smart strategy for user interface Bi-di check is described as below:

1


Page 02 of 7


a. Snapshot the UI in LTR mode, keep it in image format


b. Utilize the image processing tool, mirror the image kept in step a.


c. Change the UI to RTL mode, keep it in image format


d. Compare the image generated in step b and step c

2


Page 03 of 7

If user interface is in correct Bi-di mode, then image generated in step b and step c should totally be the same. So after comparison, the non-overlapping parts are the widgets not in correct Bi-di order.

Below is an example:


1. Left to right:


2. Mirror of LTR:

3


Page 04 of 7


3. Right to left:

2 and 3 can be used to check correction of Bi-di mode in application.

Bi-Directional(BiDi) user interface check is a necessary and important part in globalization verification test(GVT). In RTL mode, all UI widgets should be in mirror format compared with LTR mode.

4


Page 05 of 7

However, nowadays, testers have to verify and check BiDi mode manually, which means that testers should be quite familiar with

all functions of the application, and they should be quite sensitive to detect the differences between LTR mode and RTL mode. They should verify all UI widgets manually, some UI widgets maybe changed after user's operation, so they should go through all user scenario to check the BiDi mode. This workload is really huge, and it's not efficient for manually check.

A straight-forward thought is compare the symmetry mirror of LTR with RTL mode directly, but this is not working because of the following two problems:


1) Text, characters, embedded images and some widgets are not symmetric in RTL and LTR


2) Some of dynamic widgets based on user action/event cannot be checked by symmetry mirror comparison simply

In our invention,...