LEAP

LEAPWORK的自动化见解和生产力提示。

前往学习中心

如何在ServiceNow中自动单击菜单

Clicking items in 的 main menu is an essential action in 现在的服务 tests and processes. Learn how to automate that process with LEAPWORK. 

 

现在的服务 's main menu, located in 的 left pane is a vital part of working with 的 platform. The menu can be personalized, menu items can be added to favorites, and 的 contents of 的 menu depend on user privileges. 

Most modules and functionalities of 的 现在的服务 platform are accessed via 的 main menu which means that practically any automated test and process would involve at least one click in that menu. 

With 的 standard “点击Web元素” 零件 in 的 LEAPWORK Automation Platform it's easy to capture and click individual items in 的 现在的服务 UI as part of 自动化 flows.

3.1点击网页元素

但是,当 the number of test cases that involve clicking menu items grows and as menu items change behavior with new releases, it helps to have a standardized practice for automating clicks in 的 main menu. 

Best practice is to rely on a sub-flow that can be reused across as many 自动化 flows as needed. This would be a 零件 that contains all 的 actions and configurations related to 单击ServiceNow中的菜单项。

如果子流的更新或配置不同,更改将在包含子流的所有流中生效,从而大大减少 维护工作量。这种方法确保您仅需要进行自动化 the menu clicks in one place and 让您更好地了解流程套件。

了解有关LEAPWORK子流的更多信息。 

在LEAPWORK,我们专门为ServiceNow制作了一堆现成的现成示例或子流。 

Instructions: Download and install 的 现在的服务 sample flows.

这些示例包括一个用于单击ServiceNow中的菜单项的子流,称为“ SNC单击菜单项”。

As demonstrated in 的 tutorial video above, this sub-flow lets you specify which menu item(s) to be clicked as part of your 自动化 flows.

3.2 SNC单击菜单项

菜单项由顶层导航指定,即 应用名称,例如“事件”,以及通过子级导航,例如“解决”。 In this case, 的 "SNC Click Menu Item" 零件 returns a list of resolved incidents. 

现在的服务 所需的一切

查看  LEAPWORK的教程,开箱即用的示例和教育资源开始使用ServiceNow。

新的号召性用语

卡斯珀·费伦德(Kasper Fehrend)
卡斯珀·费伦德(Kasper Fehrend)
LEAPWORK的高级产品布道者。