Tutorial
iDOOtools is free software for developer and operations manager. Download freeware iDOOtools
Content
- Introduction
- Creating a model scenario – Basic functions
- Basic principles
- Creating a variable
- Components
- Using sequences
- Execution Monitor
- Access Execution Monitor
- Execution Monitor interface
- Initiating a scenario's execution
Introduction
iDOOtools lets you model and generates operating scripts graphically. This manual aims to provide the basics that will enable you to create scenarios with no particular knowledge of the product.
Creating a model scenario – Basic functions
We are going to create a scenario by considering the following points in order :
- Basic principles
- Creating variables
- Using and configuring components
- Using sequences between components
- Running the scenario
The purpose of our example scenario is to detect whether a file named new.txt is present. If the file is found, it is renamed as new.html by changing its extension.If the file is not found, it is generated automatically before being renamed according to the same criteria.
Basic principles
To open iDOOtools, double-click the Designer icon
. Designer is the graphical development workshop module that lets you implement the different iDOOtools components.
The interface is shown in the screenshot :
The left pane shows the components, which are organized in a series of categories including Files and Directories, Applications, Execution, Database, etc.
The center pane, called Scenario, is where you "draw up" your scenario. The Sequences pane on the bottom contains tools that let you link components together either conditionally or unconditionally.You can use the Variables pane on the bottom to create variables and tables that can then be used when configuring components.
In the default setup, the interface always opens with a new scenario. If this is not the case, you can use the "File" \ "New" menu option to create one.
Creating a variable
The first step is to create a variable. In the "Variable" pane, click "New" and specify the following fields :
- Name: Scenario directory
- Type: Text
- Value: c:\temp
- Description: access path (optional)
Note: In our example, "Value" will identify the scenario's working directory. In our example, we have used c:\temp but you can use any path, provided it exists.
The variable has now been created.
Components
Components let you control a technology. They are organized into categories, and displayed on the left of the main window. You can select which component you want to use to perform a basic operation. To perform a ping test, for example, open the "Network" category and select the "Ping" component.
The processes selected for execution as part of a scenario are displayed in the Scenario pane in the center of the main window. To select and specify a component, double-click its icon or drag and drop it onto the scenario.
Open the "Files and Directories" category and select the "Test file(s) presence" component. This component checks whether a file is present in a specified local or remote directory.
To configure the components added to the scenario, double-click the icon in the Scenario pane. This opens the component's settings, letting you specify all of its configurable fields.
First, you have to activate the function by clicking on this button
that will become
, then you can specify fields in two ways: either by typing in the values directly or select it through the list calling by CTRL SPACE. The value of this variable will either be a value determined upstream by another component or else the value specified when the variable was created.
Double-click on "Test file(s) presence" in the "Scenario" pane and specify the following settings:
File name: new.txt – file whose presence is to be tested.
Full path: C:\temp.
The next step is to configure another component that will automatically generate a sample text file.
Select the "Create file" component in the "Files and Directories" category, and drag it to the "Scenario" pane:
This component creates a flat file with the parameters specified by the user.
As with the previous component, double-click the component's icon in the "Scenario" pane to edit its settings.
Specify the fields as follows: Destination file name: new.txt (which will be the name of the created file) Then select the Text file option and enter the text in the input box, for example:
Then select the option "Append or overwrite" option. Click the "Confirm" button to save your input. The final component that must be configured lets you change the name of the file created by the "Create file" component, giving it an HTML extension:
Select the "File management" component in the "Files and Directories" category, and drag it to the "Scenario" pane:
As before, double-click the component's icon in the Scenario pane to edit its settings:
- File name: new.txt
- File name: new.html
- Source directory: Select C:\temp
Check the "Overwrite target files" option and "confirm".
Click the "Confirm"button to save your input.
»Next page
