KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


how to open notepad window application

Share

anhth15

Posts : 4
Points : 265
Join date : 2017-12-04

how to open notepad window application

Post by anhth15 on Tue Dec 26, 2017 12:21 pm

Hi everyone,

I am a beginner in Kapow. I don't know how to open Notepad application and write something on it. Please help.

Many thanks.
anhth15.
avatar
jking

Posts : 45
Points : 1689
Join date : 2014-03-01
Location : USA

Re: how to open notepad window application

Post by jking on Wed Dec 27, 2017 2:58 am

What version of Kapow are you running?  Opening Notepad, or any desktop automation, requires Version 10.0 or higher and requires a Desktop Automation License 

Device Automation lets you create robots that can automate work processes involving Windows and Java applications on your networked computers.  Note that because Device Automation is substantially different from website and database automation, Design Studio has a dedicated workflow language, editor and steps for this purpose. 

Device Automation workflow is a sequence of steps that are executed one after the other. The steps model how a user would interact with the application that is being automated. Device Automation workflows are contained inside a single step action called Device Automation, which itself is part of a normal robot. A robot can contain multiple Device Automation steps, each with their own workflow. A robot can contain other types of steps. 

The Device Automation Editor shows a view of the robot and the applications being automated along with details on the robot state and buttons to control the robot manually. 

Steps are the basic building blocks of a workflow in Device Automation, just as they are in website Robot Language. In Device Automation, all steps have one entry point and one exit point, except for a few steps that have no exit point. Some steps are simple steps and merely perform one action such as moving a mouse or pressing a key. Other steps, called composite steps, may contain additional steps. Composite steps are used to group steps that belong together or to handle branching and other ways to control how execution proceeds. 

Since Kapow was originally designed for accessing HTML at a time when HTML pages were mostly static, the state of the application (web page) was be tracked internally in the robot. By contrast, the Device Automation functionality is designed to automate remote applications where the state resides in the application. Therefore, in Device Automation execution of steps move forward only. The state of the execution is on the remote device and it is not possible to undo by going back in the workflow. As a consequence, when designing your workflow, newly inserted steps are not executed until you explicitly select to do so in the Device Automation Editor. 

Branching only occurs as part of composite steps, such as the Conditional Step. The branches are alternative branches, so only one branch is chosen when a workflow is executed. This differs from website robots where branches are executed sequentially one after the other, and the state is reverted at the start of each branch. 

In Device Automation, error handling differs because it is not specified for every step. Instead, a try-catch step explicitly catches errors occurring within its scope and defines how to handle them. 

Device Automation has features that allow the robot designer to design the automation to gauge the external state of the application and react appropriately. For example, a click on a button can be made to wait until the button appears. Or a step can detect that an application is already started, to avoid starting another instance. When you design a workflow, guards and finders are used to wait for specific states of the application, ensuring that the robot finds the required elements and interacts with them as expected. Guards are described in the Guarded Choice Step and finders are described in Finders in Device Automation.

    Current date/time is Sat Aug 18, 2018 3:52 pm