Tools for Creating UI Automation Macros

Rebecca Krosnick
{"title":"Tools for Creating UI Automation Macros","authors":"Rebecca Krosnick","doi":"10.1109/vl/hcc53370.2022.9832966","DOIUrl":null,"url":null,"abstract":"Automation macros enable users to perform digital tasks programmatically to save time or support hands-free interaction. For example, macros can be used to perform web scraping for a research project (e.g., scraping articles from a news site) or personal task automation via natural language (e.g., ordering food for delivery). Some kinds of automation are built into our devices and are readily available (e.g., via Siri [1] or Alexa [2]), but this set is limited and often will not support a user’s niche or complex needs. Users can create their own custom macros, but traditionally this requires writing program code which involves a significant amount of effort for programmers and is infeasible for non-programmers. In my PhD work, I have studied and designed tools for developers and end-users to more intuitively create user interface (UI) automation macros. First, I studied the challenges and needs of programmers writing web automation scripts [3], both in a traditional text editor and in richer environments, including a prototype IDE I built that provides context about the target UI and feedback on element selection logic. Next, I designed a programming by demonstration (PBD) environment that enables end-users to create custom macros for answering questions on the web without needing to write code [4]. So far my work has focused on helping users create macros that perform a desired web scraping or automation task on a single website. However, it makes sense that users might also want to perform the same kinds of automation on semantically similar websites. For example, a user might want to create an automation macro that can order food not only from the DoorDash website, but also from the GrubHub and Uber Eats websites. Another user might want to create an automation macro that scrapes data from staff directories across different department and university websites. In both cases, the websites’ content will be similar and the macro should perform the same high-level actions, but the websites’ exact visual appearance, widgets, and underlying implementation will vary. Currently users would need to create separate macros from scratch for each website. In my future work, I plan to help users create semantic macros -– macros that are capable of performing a given highlevel semantic task across different websites – without needing to create new automation logic from scratch for each new website. II. DEVELOPER ENVIRONMENTS FOR CREATING MACROS","PeriodicalId":351709,"journal":{"name":"2022 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/vl/hcc53370.2022.9832966","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Automation macros enable users to perform digital tasks programmatically to save time or support hands-free interaction. For example, macros can be used to perform web scraping for a research project (e.g., scraping articles from a news site) or personal task automation via natural language (e.g., ordering food for delivery). Some kinds of automation are built into our devices and are readily available (e.g., via Siri [1] or Alexa [2]), but this set is limited and often will not support a user’s niche or complex needs. Users can create their own custom macros, but traditionally this requires writing program code which involves a significant amount of effort for programmers and is infeasible for non-programmers. In my PhD work, I have studied and designed tools for developers and end-users to more intuitively create user interface (UI) automation macros. First, I studied the challenges and needs of programmers writing web automation scripts [3], both in a traditional text editor and in richer environments, including a prototype IDE I built that provides context about the target UI and feedback on element selection logic. Next, I designed a programming by demonstration (PBD) environment that enables end-users to create custom macros for answering questions on the web without needing to write code [4]. So far my work has focused on helping users create macros that perform a desired web scraping or automation task on a single website. However, it makes sense that users might also want to perform the same kinds of automation on semantically similar websites. For example, a user might want to create an automation macro that can order food not only from the DoorDash website, but also from the GrubHub and Uber Eats websites. Another user might want to create an automation macro that scrapes data from staff directories across different department and university websites. In both cases, the websites’ content will be similar and the macro should perform the same high-level actions, but the websites’ exact visual appearance, widgets, and underlying implementation will vary. Currently users would need to create separate macros from scratch for each website. In my future work, I plan to help users create semantic macros -– macros that are capable of performing a given highlevel semantic task across different websites – without needing to create new automation logic from scratch for each new website. II. DEVELOPER ENVIRONMENTS FOR CREATING MACROS
创建UI自动化宏的工具
自动化宏使用户能够以编程方式执行数字任务,以节省时间或支持免提交互。例如,宏可以用于为研究项目执行网络抓取(例如,从新闻站点抓取文章)或通过自然语言执行个人任务自动化(例如,订购外卖食品)。有些类型的自动化是内置在我们的设备中,并且随时可用(例如,通过Siri[1]或Alexa[2]),但这一组是有限的,通常不会支持用户的利基或复杂的需求。用户可以创建自己的自定义宏,但传统上这需要编写程序代码,这对程序员来说需要大量的努力,对非程序员来说是不可行的。在我的博士工作中,我研究和设计了开发人员和最终用户更直观地创建用户界面(UI)自动化宏的工具。首先,我研究了程序员在传统文本编辑器和更丰富的环境中编写web自动化脚本[3]的挑战和需求,包括我构建的一个原型IDE,它提供了关于目标UI的上下文和元素选择逻辑的反馈。接下来,我设计了一个演示编程(PBD)环境,使最终用户能够创建自定义宏来回答web上的问题,而无需编写代码[4]。到目前为止,我的工作主要集中在帮助用户创建宏,在单个网站上执行所需的网络抓取或自动化任务。然而,用户也可能希望在语义相似的网站上执行相同类型的自动化,这是有道理的。例如,用户可能想要创建一个自动化宏,不仅可以从DoorDash网站订餐,还可以从GrubHub和Uber Eats网站订餐。另一个用户可能希望创建一个自动化宏,从不同部门和大学网站的员工目录中抓取数据。在这两种情况下,网站的内容将是相似的,宏应该执行相同的高级操作,但网站的确切视觉外观、小部件和底层实现将有所不同。目前,用户需要从头开始为每个网站创建单独的宏。在我未来的工作中,我计划帮助用户创建语义宏——能够跨不同网站执行给定的高级语义任务的宏——而无需为每个新网站从头开始创建新的自动化逻辑。2创建宏的开发人员环境
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信