Design of An Automated Testing Tool for Typesetting of Reflowable Documents

Kuo Zuo, Ning Li, Yingai Tian, Xia Hou
{"title":"Design of An Automated Testing Tool for Typesetting of Reflowable Documents","authors":"Kuo Zuo, Ning Li, Yingai Tian, Xia Hou","doi":"10.1145/3384544.3384558","DOIUrl":null,"url":null,"abstract":"In order to test the typesetting effect of the same reflowable document in a variety of office software, and point out the difference between the typesetting effect, a tool used for automatically testing the typesetting effect of the reflowable document was designed. With the testing tool, a document to be tested is firstly transformed into an image conforming to test requirements. Next, an automated color marking method is designed for the document in the format of OOXML to look up a reverse correlation between layout objects and typesetting elements by means of the editable feature of the reflowable document, while regularization analysis is utilized to analyze documents in other formats based on the image features of typesetting elements. At last, the effect of typesetting elements is analyzed at the pixel level. According to the experimental result, the test contents using the tool designed in this paper can reach 70% of the level-1 common function points. What's more, both the test efficiency and the accuracy of testing results are better than that performed by manual testing.","PeriodicalId":200246,"journal":{"name":"Proceedings of the 2020 9th International Conference on Software and Computer Applications","volume":"32 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-02-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2020 9th International Conference on Software and Computer Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3384544.3384558","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In order to test the typesetting effect of the same reflowable document in a variety of office software, and point out the difference between the typesetting effect, a tool used for automatically testing the typesetting effect of the reflowable document was designed. With the testing tool, a document to be tested is firstly transformed into an image conforming to test requirements. Next, an automated color marking method is designed for the document in the format of OOXML to look up a reverse correlation between layout objects and typesetting elements by means of the editable feature of the reflowable document, while regularization analysis is utilized to analyze documents in other formats based on the image features of typesetting elements. At last, the effect of typesetting elements is analyzed at the pixel level. According to the experimental result, the test contents using the tool designed in this paper can reach 70% of the level-1 common function points. What's more, both the test efficiency and the accuracy of testing results are better than that performed by manual testing.
可回流文件排版自动测试工具的设计
为了测试同一份可回流文档在多种办公软件中的排版效果,指出排版效果之间的差异,设计了一款可回流文档排版效果自动测试工具。使用测试工具,首先将待测文档转换为符合测试需求的图像。其次,针对OOXML格式的文档设计了一种自动颜色标记方法,利用可回流文档的可编辑特性查找布局对象与排版元素之间的反向关联,利用正则化分析方法根据排版元素的图像特性分析其他格式的文档。最后,在像素级上分析了排版元素的影响。实验结果表明,使用本文设计的工具测试的内容可以达到一级常用功能点的70%。测试效率和测试结果的准确性均优于人工测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信