Browse Prior Art Database

Compare the length of the container and the content according to the font and size.

IP.com Disclosure Number: IPCOM000211841D
Publication Date: 2011-Oct-20
Document File: 6 page(s) / 142K

Publishing Venue

The IP.com Prior Art Database

Abstract

Truncation is a traditional defect type in UI testing. In our opinion, each object has a container with its own. If the length of the text is bigger than its container, truncation occurs. The length of an ascertained string depends on its font and size and easy to figure out. So we will use the length of the string with actual font to compare with the length of the container. And to verify the truncation or not. It is a basic, easy and lightweight solution for truncation.

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

Page 01 of 6

Compare the length of the container and the content according to the font and size .

In almost every software design interface, the UI may depend on the length of English text to produce a display that is usable. Translations are however often much longer than the original English and this can lead to text truncation or undesirable screen layout.

In the past, people always use pattern recognition to deal with this problem.Pattern recognition is a high level technology but hard to use.It is restricted by color,layout,font type and so on. Our solution is base on the font.Truncation occurs because of the length of the strings is bigger than the container.And the length of the strings influenced by font type ,size,and font style.Our solution is base on the length of the strings.It can be used as a plug-in into a automation tools, such as RFT(Rational Function Tester).

Truncation could exist in everywhere: panel title, GUI selection field, buttons and etc. Therefore it is:
A hassle and time consuming for tester to identify where the problem is.

2.

So with the invention we are intended to provide a solution to help people identify the truncation issue by figuring out the number of pels a string is in a font type and size .

The truncation is occurs because of the length of the characters is bigger than the length of the container.


1.

It is a complex problem to verify the truncation in UI Testing.

For example, different characters has different length, like "i" and "w", their length are not equal. But with same font type and size, the length of a...