Sie sind auf Seite 1von 2

Actions

ACTIONS: Action is a set of script statements used for performing a specific


task
Types of Actions:
There are three types of actions
1.Normal actions
2.Re-usable actions
3.External actions
Note: External actions are not editable .The re-usable actions called in another
test are known as external actions

Operations On Actions:

Navigation for inserting a new action:


• Activate the menu item insert
• Select the option call to new action
• Rename the desired action
• Select the one of the following options
o At the end of the test
o After the currant step
• Click on ok
Navigation for splitting an action in to two actions:
• Save the action
• Keep the cursor on the first statement of the second path
• Activate the menu item step
• Select the option split action
• Select one of the following options
o Independent of each other
o Nested
• Specify the desired action name
• Click on ok

Navigation for making an action as reusable action:


• Select the desired action
• Activate the menu item step
• Select the option action properties
• Select the check box reusable action
• Click on ok
Navigation for renaming the action:
• Activate the menu item step
• Select the option action properties
• Specify the desired name
• Click on ok
Navigation for calling on existing action:
• Activate the menu item insert
• Select the option call to existing action
• Browse the desired test
• Select the desired action
• Select one of the following options
o At the end of the test
o After the currant step
Click on ok

Key word driven framework:


• Create the folder structure as follows

• Crate the required test data file and save them in the corresponding folders
• Create the required shared repository files and save them in the
corresponding folder
• Create the required library files and save them in the corresponding folder
• Create the required environment files and save them in the corresponding
folder
• Create the required recovery files and save them in the corresponding folder
• Open the main test and associate all the required files to each
• Develop the script in such a weather it executes based on the key words
specified in the data table
Example:

Var= data table (“keys”,1)


Select case var
Case “L1”
Login( )
Ins ord( )
Logout( )

Case”L2”
Openord( )
Logout( )
Case “L3”
Login( )
Logout( )
End select

• Specify the desired key words under the corresponding column in the data
table and save the test in the corresponding folder

When ever required open the test and execute it and analyze the result

Das könnte Ihnen auch gefallen