Sie sind auf Seite 1von 37

SAP® Test

Acceleration and
Optimization 11
Runtime Library
Document version: 1.0 – August 7, 2008
SAP AG
Dietmar-Hopp-Allee 16
69190 Walldorf
Germany
T +49/18 05/34 34 24
F +49/18 05/34 34 20
www.sap.com

© Copyright 2008 SAP AG. All rights reserved. Java is a registered trademark of Sun Microsystems, Inc.

No part of this publication may be reproduced or transmitted in any JavaScript is a registered trademark of Sun Microsystems, Inc., used
form or for any purpose without the express permission of SAP AG. under license for technology invented and implemented by Netscape.
The information contained herein may be changed without prior
notice. MaxDB is a trademark of MySQL AB, Sweden.

Some software products marketed by SAP AG and its distributors SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge,
contain proprietary software components of other software vendors. ByDesign, SAP Business ByDesign, and other SAP products and
services mentioned herein as well as their respective logos are
Microsoft, Windows, Outlook, and PowerPoint are registered trademarks or registered trademarks of SAP AG in Germany and in
trademarks of Microsoft Corporation. several other countries all over the world. All other product and
IBM, DB2, DB2 Universal Database, System i, System i5, System p, service names mentioned are the trademarks of their respective
System p5, System x, System z, System z10, System z9, z10, z9, companies. Data contained in this document serves informational
iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, purposes only. National product specifications may vary.
OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM,
Power Architecture, POWER6+, POWER6, POWER5+, POWER5, These materials are subject to change without notice. These materials
POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System are provided by SAP AG and its affiliated companies ("SAP Group")
Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, for informational purposes only, without representation or warranty of
OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, any kind, and SAP Group shall not be liable for errors or omissions
WebSphere, Netfinity, Tivoli and Informix are trademarks or with respect to the materials. The only warranties for SAP Group
registered trademarks of IBM Corporation. products and services are those that are set forth in the express
warranty statements accompanying such products and services, if any.
Linux is the registered trademark of Linus Torvalds in the U.S. and Nothing herein should be construed as constituting an additional
other countries. warranty.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either
trademarks or registered trademarks of Adobe Systems Incorporated in Disclaimer
the United States and/or other countries. Some components of this product are based on Java™. Any
code change in these components may cause unpredictable
Oracle is a registered trademark of Oracle Corporation. and severe malfunctions and is therefore expressively
prohibited, as is any decompilation of these components.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the
Open Group. Any Java™ Source Code delivered with this product is
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, only to be used by SAP’s Support Services and may not be
VideoFrame, and MultiWin are trademarks or registered trademarks of modified or altered in any way.
Citrix Systems, Inc.
Documentation in the SAP Service Marketplace
HTML, XML, XHTML and W3C are trademarks or registered You can find this documentation at the following address:
trademarks of W3C®, World Wide Web Consortium, Massachusetts http://service.sap.com/<xxxxxxxx>

Institute of Technology.
(hereinafter: Customer)

Terms for Included Open a) Subject Matter of the Agreement


A) SAP grants Customer a non-exclusive,
Source Software non-transferrable, royalty-free license to use
This SAP software contains also the third party open the STLport.org C++ library (STLport) and its
source software products listed below. Please note that for documentation without fee.
these third party products the following special terms and B) By downloading, using, or copying STLport or
conditions shall apply. any portion thereof Customer agrees to abide
1. This software was developed using ANTLR. by the intellectual property laws, and to all of
2. gSOAP the terms and conditions of this Agreement.
Part of the software embedded in this product is gSOAP C) The Customer may distribute binaries compiled
software. Portions created by gSOAP are Copyright with STLport (whether original or modified)
(C) 2001-2004 Robert A. van Engelen, Genivia inc. All without any royalties or restrictions.
Rights Reserved. D) Customer shall maintain the following
THE SOFTWARE IN THIS PRODUCT WAS IN PART copyright and permissions notices on STLport
PROVIDED BY GENIVIA INC AND ANY EXPRESS sources and its documentation unchanged:
OR IMPLIED WARRANTIES, INCLUDING, BUT Copyright 2001 SAP AG
NOT LIMITED TO, THE IMPLIED WARRANTIES E) The Customer may distribute original or
OF MERCHANTABILITY AND FITNESS FOR A modified STLport sources, provided that:
PARTICULAR PURPOSE ARE DISCLAIMED. IN o The conditions indicated in the above
NO EVENT SHALL THE AUTHOR BE LIABLE permissions notice are met;
FOR ANY DIRECT, INDIRECT, INCIDENTAL, o The following copyright notices are retained
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL when present, and conditions provided in
DAMAGES (INCLUDING, BUT NOT LIMITED TO, accompanying permission notices are met:
PROCUREMENT OF SUBSTITUTE GOODS OR Coypright 1994 Hewlett-Packard
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR Company
BUSINESS INTERRUPTION) HOWEVER CAUSED Copyright 1996,97 Silicon Graphics
AND ON ANY THEORY OF LIABILITY, WHETHER Computer Systems Inc.
IN CONTRACT, STRICT LIABILITY, OR TORT Copyright 1997 Moscow Center for
(INCLUDING NEGLIGENCE OR OTHERWISE) SPARC Technology.
ARISING IN ANY WAY OUT OF THE USE OF THIS Copyright 1999,2000 Boris Fomitchev
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY Copyright 2001 SAP AG
OF SUCH DAMAGE. Permission to use, copy, modify, distribute and
3. SAP License Agreement for STLport sell this software and its documentation for
SAP License Agreement for STLPort between any purposes is hereby granted without fee,
SAP Aktiengesellschaft provided that the above copyright notice appear
Systems, Applications, Products in Data Processing in all copies and that both that copyright notice
Neurottstrasse 16 and this permission notice appear in supporting
69190 Walldorf, Germany documentation. Hewlett-Packard Company
(hereinafter: SAP) makes no representations about the suitability
and of this software for any purpose. It is provided
you “as is” without express or implied warranty.
Permission to use, copy, modify, distribute and limited warranty and liability as set forth in the
sell this software and its documentation for any License Agreement distributed with this copy.
purpose is hereby granted without fee, provided SAP offers this liability and warranty obligations
that the above copyright notice appear in all only towards its customers and only referring
copies and that both that copyright notice and to its modifications.
this permission notice appear in supporting b) Support and Maintenance
documentation. Silicon Graphics makes no SAP does not provide software maintenance for the
representations about the suitability of this STLport. Software maintenance of the STLport
software for any purpose. It is provided “as is” therefore shall be not included.
without express or implied warranty. All other services shall be charged according to the
Permission to use, copy, modify, distribute and rates for services quoted in the SAP List of Prices
sell this software and its documentation for and Conditions and shall be subject to a separate
any purposes is hereby granted without fee, contract.
provided that the above copyright notice appear c) Exclusion of warranty
in all copies and that both that copyright notice As the STLport is transferred to the Customer on a
and this permission notice appear in supporting loan basis and free of charge, SAP cannot guarantee
documentation. Moscow Center for SPARC that the STLport is error-free, without material
makes no representations about the suitability defects or suitable for a specific application under
of this software for any purpose. It is provided third-party rights. Technical data, sales brochures,
“as is” without express or implied warranty. advertising text and quality descriptions produced
Boris Fomitchev makes no representations by SAP do not indicate any assurance of particular
about the suitability of this software for any attributes.
purpose. This material is provided "as is", with d) Limited Liability
absolutely no warranty expressed or implied. A) Irrespective of the legal reasons, SAP shall only
Any use is at your own risk. Permission to be liable for damage, including unauthorized
use or copy this software for any purpose is operation, if this (i) can be compensated under
hereby granted without fee, provided the above the Product Liability Act or (ii) if caused due to
notices are retained on all copies. Permission gross negligence or intent by SAP or (iii) if based
to modify the code and to distribute modified on the failure of a guaranteed attribute.
code is granted, provided the above notices B) If SAP is liable for gross negligence or intent
are retained, and a notice that the code was caused by employees who are neither agents or
modified is included with the above copyright managerial employees of SAP, the total liability
notice. for such damage and a maximum limit on the
Permission to use, copy, modify, distribute scope of any such damage shall depend on
and sell this software and its documentation the extent to which its occurrence ought to
for any purposes is hereby granted without have anticipated by SAP when concluding the
fee, provided that the above copyright notice contract, due to the circumstances known to
appear in all copies and that both that copyright it at that point in time representing a typical
notice and this permission notice appear in transfer of the software.
supporting documentation. SAP makes no C) In the case of Art. 4.2 above, SAP shall not
representations about the suitability of this be liable for indirect damage, consequential
software for any purpose. It is provided with a damage caused by a defect or lost profit.
D) SAP and the Customer agree that the typical F) The exclusion or the limitation of claims in
foreseeable extent of damage shall under no accordance with the present Art. 4 includes
circumstances exceed EUR 5,000. claims against employees or agents of SAP.
E) The Customer shall take adequate measures 4. Adobe Document Services
for the protection of data and programs, in Adobe, the Adobe logo, Acrobat, PostScript, and Reader
particular by making backup copies at the are either registered trademarks or trademarks of
minimum intervals recommended by SAP. SAP Adobe Systems Incorporated in the United States and
shall not be liable for the loss of data and its / or other countries. For information on Third Party
recovery, notwithstanding the other limitations software delivered with Adobe document services and
of the present Art. 4 if this loss could have been Adobe LiveCycle Designer, see SAP Note 854621.
avoided by observing this obligation.
Typographic Conventions Icons

Type Style Description Icon Meaning


Example Text Words or characters quoted Caution
from the screen. These include
Example
field names, screen titles,
pushbuttons labels, menu Note
names, menu paths, and menu
options. Recommendation

Cross-references to other Syntax


documentation
Example text Emphasized words or phrases Additional icons are used in SAP
in body text, graphic titles, and Library documentation to help you
table titles identify different types of information at
EXAMPLE TEXT Technical names of system a glance. For more information, see
objects. These include report Help on Help General Information
names, program names, Classes and Information Classes for
transaction codes, table Business Information Warehouse on
names, and key concepts of a the first page of any version of SAP
programming language when Library.
they are surrounded by body
text, for example, SELECT and
INCLUDE.
Example text Output on the screen. This
includes file and directory
names and their paths,
messages, names of variables
and parameters, source text,
and names of installation,
upgrade and database tools.
Example text Exact user entry. These are
words or characters that you
enter in the system exactly as
they appear in the
documentation.
<Example Variable user entry. Angle
text> brackets indicate that you
replace these words and
characters with appropriate
entries to make entries in the
system.
EXAMPLE TEXT Keys on the keyboard, for
example, F2 or ENTER.
1 Document Purpose

Contents
1 Document Purpose ...........................................................................13
2 Adding Functionality ........................................................................14
2. 1 Where to add your functionality......................................................... 14
2. 2 Sample of a Wrapper........................................................................... 14
3 Function Reference...........................................................................15
Function SAP_get_Checkbox_Value (CheckboxName) ...................15
Function SAP_get_Checkbox_Enabled (CheckboxName) ..............15
Function SAP_get_Text_Value (TextName).......................................15
Function SAP_get_Text_Enabled (TextName) ..................................15
Function SAP_get_Radio_Value (RadioName) .................................15
Function SAP_get_Radio_Enabled (RadioName) .............................15
Function SAP_get_ComboBox_Value (ComboBoxName) ...............15
Function SAP_get_ComboBox_KeyValue (ComboBoxName) ........15
Function SAP_get_ComboBox_Enabled (ComboBoxName) ..........16
Function SAP_get_ComboBox_ItemCount (ComboBoxName).......16
Function SAP_get_Label_Value (LabelID).........................................16
Function SAP_get_Label_Value_Location (LabelID, labelIndex) ....16
Function SAP_get_Checkbox_Value_Location (CheckboxName,
CheckBoxIndex) ...................................................................................16
Function SAP_get_Checkbox_Enabled_Location
(CheckboxName, CheckBoxIndex).....................................................16
Function SAP_get_Text_Value_Location (TextName,
TextBoxIndex) ......................................................................................16
Function get_Text_Enabled_Location (TextboxName,
TextBoxIndex) ......................................................................................17
Function SAP_get_Radio_Value_Location (RadioName,
RadioIndex)...........................................................................................17
Function SAP_get_Radio_Enabled_Location (RadioName,
RadioIndex)...........................................................................................17
Function SAP_get_ComboBox_Value_Location
(ComboBoxName, ComboBoxIndex) .................................................17
Function SAP_get_ComboBox_Enabled_Location
(ComboBoxName, ComboBoxIndex) .................................................17
Function SAP_get_ComboBox_KeyValue_Location
(ComboBoxName, ComboBoxIndex) .................................................17
Function SAP_get_ComboBox_ItemCount_Location
(ComboBoxName, ComboBoxIndex) .................................................17
Function SAP_get_Text_Property (TextName, TextIndex,
PropertyName) .....................................................................................18
1 Document Purpose

Function SAP_get_Label_Property (LabelID, labelIndex,


PropertyName) .....................................................................................18
Function SAP_get_ComboBox_Property (ComboBoxName,
ComboBoxIndex, PropertyName).......................................................18
Function SAP_get_Radio_Property (RadioName, RadioIndex,
PropertyName) .....................................................................................18
Function SAP_get_Checkbox_Property (CheckboxName,
CheckboxIndex, PropertyName).........................................................18
Function SAP_GetObject (ObjectName, pObjectIndex,
ObjectType, FunctionType).................................................................19
function Scollthis (Scroll)....................................................................19
Function SAP_findlabel (labelObj) .....................................................19
sub initializeSAP () ...............................................................................19
Sub Go_To_Transaction (Transaction)..............................................19
Sub Goto_Transaction (Transaction).................................................19
Sub SAP_Log_On (lSystem, lClient, lUser, lPassword,
lLanguage) ............................................................................................19
Function SAP_CaptureScreen (StepDescription).............................19
Sub SAP_Log_On_62 (lSystem, lClient, lUser, lPassword,
lLanguage) ............................................................................................20
Sub Log_Off () ......................................................................................20
Sub SAPLogon_Exit () .........................................................................20
Sub Exit_Multiple_Logons_Warning () ..............................................20
Sub ConfirmSave ()..............................................................................20
Function Save_Record (Field) ............................................................20
Function Save_Record_Accept_Faulty (Field)..................................20
Sub Launch_SAP_Connection (ConnectionString)..........................20
Sub Verify_Quantity_Delivered () .......................................................20
Function Save_Delivery_Info ()...........................................................21
Function Save_Group_Number ().......................................................21
Sub Enter_Command_Field (Action)..................................................21
Function SAP_Get_Active_Screen () .................................................21
Function Post_Record (Field) .............................................................21
Sub addObjectDefinitionToDictionary (strKey, StrValue) ................21
Function getChildListByTag (parentNode, Tag) ...............................21
Function getScreens (parentNode) ....................................................21
function getScreenData (ScreenNode, DataRequested) ..................22
Function Get_StatusBar_Info () ..........................................................22
Sub Verify_StatusBar_Message (Expected_Value) ..........................22
1 Document Purpose

Sub Detect_StatusBar_Error_Message () ..........................................22


Sub Detect_StatusBar_Warning_Message () ....................................22
Sub SAP_Select_Cell_Content_for_Line_Item (TableName,
Column1, Value1, Column2, Value2) ..................................................22
Function SAP_Open_Cell_For_LineItem (TableName,
ReferenceColumn, ReferenceValue, WorkingColumn,
ValueToSelect) .....................................................................................22
Function get_Row_Number (Table, mColumn, CellContent,
StartingRow).........................................................................................23
Sub Save_Cell_Content_For_LineItem (TableName, Column1,
Value1, Column2) .................................................................................23
Sub Choose_Selection_Variant_In_Popup (Item).............................23
Function Open_Cell_For_LineItem_not_in_use (TableName,
Column1, Value1, Column2, Value2) ..................................................23
Sub Open_Cell_From_Table (TableName, mColumn, mValue) .......23
Function Get_NextBusinessDay (mDate) ..........................................23
Sub SAP_Select_Cell_Content (TableName, Column, Value) .........24
Sub Open_Stock_Transport_Order () ................................................24
Sub Select_Group_Number_Row () ...................................................24
Function createString (StrContent, StrLen).......................................24
Function AppendToLine (target, append, separator) .......................24
Sub SAP_SendFunctionKey (keystring) ............................................24
Function SAP_Close_Session (SessionIndex) .................................24
Function SAP_Set_Active_Session (SessionIndex).........................24
Function SAP_CloseSessions ().........................................................25
Sub Open_Cell_From_Table_By_Row (TableName, mColumn,
rowNumber) ..........................................................................................25
Function SAP_Get_Cell_Content_For_two_Line_Item_Reference
(TableName, ReferenceColumn, ReferenceValue,
ReferenceColumn2, ReferenceValue2, CaptureColumn) .................25
Sub SAP_Verify_TextBox_Content (Field, ExpectedValue).............25
Sub SAP_Verify_TextBox_Content_isDifferent (Field,
ExpectedValue) ....................................................................................25
Sub SAP_Verify_TextBox_Content_Type (Field, ExpectedValue,
Comparison) .........................................................................................25
sub SAP_Verify_Screen_Name (expectedVal) ..................................26
Function getComparissonKeywordValue (ExpectedValue).............26
Sub Verify_Err_Content_isEmpty () ...................................................26
Function SAP_get_Cell_Data (Table, Row, Col)................................26
Function SAP_get_Grid_Value (Row, Col) ........................................26
1 Document Purpose

sub SAP_Verify_Cell_Content (Table, Row, Col,


Expected_Value) ..................................................................................26
Sub SAP_Verify_Checkbox (field, Expectedval)...............................27
Sub SAP_Verify_ComboBox_Content (Field, ExpectedValue)........27
Sub SAP_Verify_ComboBox_Content_isDifferent (Field,
ExpectedValue) ....................................................................................27
Sub SAP_Verify_ComboBox_Content_Type (Field,
ExpectedValue, compareType)...........................................................27
sub Verify_TrafficLight_Status (Location).........................................27
Function Verify_StatusBar_Content (CompareType, Content) .......27
Function SAP_Verify_Cell_Content_For_LineItem (TableName,
RefCol, RefVal, TargCol, TargVal) ......................................................27
Function SAP_Verify_Cell_Content_For_LineItem_Grid ( RefCol,
RefVal, TargCol, TargVal) ....................................................................28
sub Verify_TrafficLight_Status_in_Table (TableName,
Rownumber) .........................................................................................28
Sub SAP_Verify_Label_Content (labelID, ExpectedVal) ..................28
Sub SAP_Set_Text (FieldName, FieldValue) .....................................28
Sub SAP_Set_Text_Location (FieldName, FieldIndex, FieldValue) 28
Sub SAP_Open_Text (FieldName, LocigalName) .............................29
Sub SAP_Open_Text_Location (FieldName, FieldIndex,
LocigalName)........................................................................................29
Sub SAP_Set_Password (FieldName, FieldValue)............................29
Sub Goto_Transaction (Transaction).................................................29
Sub SAP_Select_Checkbox (FieldName, FieldValue) ......................29
Sub SAP_Select_Checkbox_Location (FieldName, FieldIndex,
FieldValue) ............................................................................................29
sub SAP_Select_Label (text)...............................................................30
Sub SAP_Select_CheckBox_In_Grid (label, FieldValue) .................30
Sub SAP_Select_RadioButton (FieldName, RadioVal).....................30
Sub SAP_Select_RadioButton_Location (FieldName, FieldIndex,
RadioVal)...............................................................................................30
Sub SAP_Press_Enter ()......................................................................30
Sub Press_button (ButtonName)........................................................30
Sub SAP_Press_Button (ButtonName)..............................................30
Sub SAP_Select_ComboBox (FieldName, FieldValue) ....................30
Sub SAP_Select_ComboBox_Location (FieldName, FieldIndex,
FieldValue) ............................................................................................30
Sub Go_Back () ....................................................................................31
Sub SAP_Set_Cell_Data (Table, Row, Col, FieldValue)....................31
1 Document Purpose

Sub SAP_Select_Cell (Table, Row, Col).............................................31


Sub SAP_Select_Row (Table, Row) ...................................................31
Sub SAP_Select_Row_Location (Table, Row, Location) .................31
Sub SAP_Select_Col (Table, Col) .......................................................31
Sub SAP_Select_Col_Location (Table, Col, Location) .....................32
Sub SAP_GRID_Select_Col (GridName, Col) ....................................32
Sub SAP_GRID_Select_Col_Location (GridName, Col, Location) ..32
Sub SAP_Select_Row_By_Content (Table, Column, Value)............32
Sub SAP_Select_Row_By_Content_Grid (Column, Value)..............32
Sub SAP_Select_Menu (MenuPath) ...................................................32
Sub SAP_Select_Node (NodePath) ....................................................33
Function Get_Status_Item (StatusItemText) .....................................33
Sub SAP_Select_Tab (TabName) .......................................................33
Sub SAP_Select_Tab_Location (TabName, TabIndex) ....................33
Sub DragObjectToShoppingCart (ObjectToDrag) ............................33
Sub SAP_Verify_Popup (PopUpName) ..............................................33
Sub Expand_All_Sections...................................................................33
Sub Expand_Section (ToolTip) ...........................................................33
Sub SAP_Press_Save () ......................................................................33
Sub SAP_Press_ToolBar_Button (strButtonAndPath) ....................34
Sub SAP_select_ToolBar_Context_Menu_Item (ButtonName,
PathtoClick) ..........................................................................................34
Sub SAP_Set_Cell_Grid_Data (Grid, Row, Col, FieldValue) ............34
Function Get_Label (LabelName) .......................................................34
Function Select_Variant (Variant_Name)...........................................34
Sub SAP_Select_Line_Item (Table, Row) ..........................................34
Sub SAP_Click_Cell (Table, Row, Column) .......................................34
Sub SAP_Select_Item_In_Tree (ObjectToDrag) ................................35
Sub press_ToolBar_button (strButtonAndPath) ..............................35
Sub select_ToolBar_Context_Menu_Item (ButtonName,
PathtoClick) ..........................................................................................35
Sub SAP_Select_Checkbox_In_Table (Table, Row, Col,
FieldValue) ............................................................................................35
Sub SAP_Select_ComboBox_In_Table (Table, Row, Col,
FieldValue) ............................................................................................35
Function getCheckBoxState (CheckState) ........................................35
Sub SAP_Grid_Select_Row (GridName, RowNumber) ....................35
Sub SAP_Grid_Select_Row_Location (GridName, GridIndex ,
RowNumber) .........................................................................................36
1 Document Purpose

Sub TAO_Set_Text (FieldName, FieldValue, LogicalName).............36


Sub TAO_Set_Text_Location (FieldName, FieldIndex, FieldValue,
LogicalName)........................................................................................36
Sub TAO_Select_Checkbox (FieldName, FieldValue,
LogicalName)........................................................................................36
Sub TAO_Select_Checkbox_Location (FieldName, FieldIndex,
FieldValue, LogicalName)....................................................................36
Sub TAO_Select_RadioButton (FieldName, RadioVal,
LogicalName)........................................................................................36
Sub TAO_Select_RadioButton_Location (FieldName, FieldIndex,
RadioVal, LogicalName) ......................................................................37
Sub TAO_Select_ComboBox (FieldName, FieldValue,
LogicalName)........................................................................................37
Sub TAO_Select_ComboBox_Location (FieldName, FieldIndex,
FieldValue, LogicalName)....................................................................37
Sub TAO_Select_Checkbox_In_Table (Table, Row, Col,
FieldValue) ............................................................................................37
Sub TAO_Select_ComboBox_In_Table (Table, Row, Col,
FieldValue) ............................................................................................37
Function TAO_Select_Tab (TabStripName, TabIndex,
ReportingName) ...................................................................................37
1 Document Purpose

1 Document Purpose
This document is meant to explain all the SAP specific wrappers contained inside the SAP Test
Acceleration and Optimization Runtime Library (RTL).
2 Adding Functionality

2 Adding Functionality
2. 1 Where to add your functionality
In the SAP Test Acceleration and Optimization RTL folder called CBASE there is a file called
CBASE_Custom_Wrappers.vbs

2. 2 Sample of a Wrapper
@Documentation Brief description of Wrapper’s action
Sub TAO_WrapperName(ObjectName, ObjectValue, ObjectReportingName)

TAO_WrapperName_Location ObjectName, 1,ObjectValue, ObjectReportingName

End Sub

@Documentation Brief description of Wrapper’s action


Sub TAO_WrapperName_Location(ObjectName, ObjectIndex, ObjectValue,
ObjectReportingName)

Dim OBJ,LocalVariables
On error resume next

Set OBJ = SAP_GetObject(ObjectName, ObjectIndex, “OBJECTTYPE”,


“FUNCTIONTYPE[SET/GET]”)

OBJ.Method ObjectValue

ReportLog “[INFO/PASS]”, “STEP DESCRIPTION”, ObjectReportingName & “STEP


DETAILS”

CheckErrorHandler
End sub
3 Function Reference

3 Function Reference
Function SAP_get_Checkbox_Value (CheckboxName)
Description: Gets the value (ON|OFF) of the <CheckboxName>
checkbox
Parameters: CheckboxName

Function SAP_get_Checkbox_Enabled (CheckboxName)


Description: Gets the state (enable|disable) of the <CheckboxName>
checkbox
Parameters: CheckboxName

Function SAP_get_Text_Value (TextName)


Description: Gets Value from the <TextName> text box
Parameters: TextName

Function SAP_get_Text_Enabled (TextName)


Description: Gets the state (enable|disable) of the <TextName> text box
Parameters: TextName

Function SAP_get_Radio_Value (RadioName)


Description: Gets Value from the <RadioName> radio button
Parameters: RadioName

Function SAP_get_Radio_Enabled (RadioName)


Description: Gets the state (enable|disable) of the <RadioName> radio
button
Parameters: RadioName

Function SAP_get_ComboBox_Value (ComboBoxName)


Description: Gets Value from the <ComboBoxName> combo
Parameters: ComboBoxName

Function SAP_get_ComboBox_KeyValue (ComboBoxName)


Description: Gets the key value from the combo <ComboBoxName>
Parameters: ComboBoxName
3 Function Reference

Function SAP_get_ComboBox_Enabled (ComboBoxName)


Description: Gets the state (enable|disable) of the <ComboBoxName>
combo
Parameters: ComboBoxName

Function SAP_get_ComboBox_ItemCount (ComboBoxName)


Description: Gets the item count for the combo <ComboBoxName>
Parameters: ComboBoxName

Function SAP_get_Label_Value (LabelID)


Description: Gets Value from the <LabelID> label
Parameters: LabelID

Function SAP_get_Label_Value_Location (LabelID, labelIndex)


Description: Gets Value from the <LabelID> label located in position
<labelIndex>
Parameters: LabelID
labelIndex

Function SAP_get_Checkbox_Value_Location (CheckboxName, CheckBoxIndex)


Description: Gets Value from the <CheckboxName> checkbox located
in position <CheckBoxIndex>
Parameters: CheckboxName
CheckBoxIndex

Function SAP_get_Checkbox_Enabled_Location (CheckboxName, CheckBoxIndex)


Description: Gets the state (enable|disable) of the <CheckboxName>
checkbox located in <CheckBoxIndex>
Parameters: CheckboxName
CheckBoxIndex

Function SAP_get_Text_Value_Location (TextName, TextBoxIndex)


Description: Gets Value from the <TextName> text box located in
position <TextBoxIndex>
Parameters: TextName
TextBoxIndex
3 Function Reference

Function get_Text_Enabled_Location (TextboxName, TextBoxIndex)


Description: Gets the state (enable|disable) of the <TextboxName> text
box located in <TextBoxIndex>
Parameters: TextboxName
TextBoxIndex

Function SAP_get_Radio_Value_Location (RadioName, RadioIndex)


Description: Gets Value from the <RadioName> radio button located in
position <RadioIndex>
Parameters: RadioName
RadioIndex

Function SAP_get_Radio_Enabled_Location (RadioName, RadioIndex)


Description: Gets the state (enable|disable) of the <RadioName> radio
button located in <RadioIndex>
Parameters: RadioName
RadioIndex

Function SAP_get_ComboBox_Value_Location (ComboBoxName, ComboBoxIndex)


Description: Gets Value from the <ComboBoxName> combo located in
position <ComboBoxIndex>
Parameters: ComboBoxName
ComboBoxIndex

Function SAP_get_ComboBox_Enabled_Location (ComboBoxName, ComboBoxIndex)


Description: Gets the state (enable|disable) of the <ComboBoxName>
combo located in <ComboBoxIndex>
Parameters: ComboBoxName
ComboBoxIndex

Function SAP_get_ComboBox_KeyValue_Location (ComboBoxName,


ComboBoxIndex)
Description: Gets the item count for the combo <ComboBoxName>
located in <ComboBoxIndex>
Parameters: ComboBoxName
ComboBoxIndex

Function SAP_get_ComboBox_ItemCount_Location (ComboBoxName,


ComboBoxIndex)
Description: Gets the item count for the combo <ComboBoxName>
3 Function Reference

located in <ComboBoxIndex>
Parameters: ComboBoxName
ComboBoxIndex

Function SAP_get_Text_Property (TextName, TextIndex, PropertyName)


Description: Gets the porperty <PropertyName> value from the
<TextName> text box located in position <TextIndex>
Parameters: PropertyName
TextName
TextIndex

Function SAP_get_Label_Property (LabelID, labelIndex, PropertyName)


Description: Gets the porperty <PropertyName> value from the
<LabelID> label located in position <labelIndex>
Parameters: PropertyName
LabelID
labelIndex

Function SAP_get_ComboBox_Property (ComboBoxName, ComboBoxIndex,


PropertyName)
Description: Gets the porperty <PropertyName> value from the
<ComboBoxName> combo box located in position
<ComboBoxIndex>
Parameters: PropertyName
ComboBoxName
ComboBoxIndex

Function SAP_get_Radio_Property (RadioName, RadioIndex, PropertyName)


Description: Gets the porperty <PropertyName> value from the <Radio
Name> radio button located in position <RadioIndex>
Parameters: PropertyName
Radio Name
RadioIndex

Function SAP_get_Checkbox_Property (CheckboxName, CheckboxIndex,


PropertyName)
Description: Gets the porperty <PropertyName> value from the
<CheckboxName> checkbox located in position
<CheckboxIndex>
Parameters: PropertyName
3 Function Reference

CheckboxName
CheckboxIndex

Function SAP_GetObject (ObjectName, pObjectIndex, ObjectType, FunctionType)


Description: Returns the object defined by the name <ObjectName>,
the location <ObjectIndex>, the type <ObjectType> and
function type <FunctionType>
Parameters: ObjectName
ObjectIndex
ObjectType
FunctionType

function Scollthis (Scroll)


Description: Moves the scroll <Scroll> one page
Parameters: Scroll

Function SAP_findlabel (labelObj)


Description: Gets the value of the label <labelObj>
Parameters: labelObj

sub initializeSAP ()
Description: Initialize SAP
Parameters:

Sub Go_To_Transaction (Transaction)


Description: Go to transaction <Transaction>
Parameters: Transaction

Sub Goto_Transaction (Transaction)


Description: Goto transaction <Transaction>
Parameters: Transaction

Sub SAP_Log_On (lSystem, lClient, lUser, lPassword, lLanguage)


Description: Logs on the specified user
Parameters:

Function SAP_CaptureScreen (StepDescription)


3 Function Reference

Description: Captures a snapshot from the actual SAP screen and add
the description <StepDescription> for the reporter
Parameters: StepDescription

Sub SAP_Log_On_62 (lSystem, lClient, lUser, lPassword, lLanguage)


Description: Logs on the specified user version 62
Parameters:

Sub Log_Off ()
Description: Log out of SAP
Parameters:

Sub SAPLogon_Exit ()
Description: Closes SAP Logon
Parameters:

Sub Exit_Multiple_Logons_Warning ()
Description: If a license popup window appears, end previous sesssion
Parameters:

Sub ConfirmSave ()
Description: Save record and put result into <Field> in Datatable
Parameters: Field

Function Save_Record (Field)


Description: Save record and put result into <Field> in Datatable
Parameters: Field

Function Save_Record_Accept_Faulty (Field)


Description: Save record and put result into <Field> in Datatable
Parameters: Field

Sub Launch_SAP_Connection (ConnectionString)


Description: Launch SAP
Parameters:

Sub Verify_Quantity_Delivered ()
3 Function Reference

Description: Verify Quantity of Deliveries created


Parameters:

Function Save_Delivery_Info ()
Description: Save the information received after the creation of a
delivery
Parameters:

Function Save_Group_Number ()
Description: Save the group number received after the creation of the
Billing Due List
Parameters:

Sub Enter_Command_Field (Action)


Description: Execute <Transaction> into the Command Field
Parameters: Transaction

Function SAP_Get_Active_Screen ()
Description: Return Active Screen either pop up or Main Screen
Parameters:

Function Post_Record (Field)


Description: Save record and put result into <Field> in Datatable
Parameters: Field

Sub addObjectDefinitionToDictionary (strKey, StrValue)


Description: This sub will add an element to the reference
Parameters:

Function getChildListByTag (parentNode, Tag)


Description: Gets all the child object of the type <Tag> of <parentNode>
Parameters: Tag
parentNode

Function getScreens (parentNode)


Description: Gets the screen belonging to <parentNode>
Parameters: parentNode
3 Function Reference

function getScreenData (ScreenNode, DataRequested)


Description: Gets the screen data <DatRequested> belonging to
<ScreenNode>
Parameters: DatRequested
ScreenNode

Function Get_StatusBar_Info ()
Description: Gets the message displayed in the status bar of SAP
Parameters:

Sub Verify_StatusBar_Message (Expected_Value)


Description: Verified the message expected <Expected_Value> versus
the displayed message in the status bar of SAP
Parameters: Expected_Value

Sub Detect_StatusBar_Error_Message ()
Description: Detects if an error message is displayed in the status bar of
SAP and aborts the BP
Parameters:

Sub Detect_StatusBar_Warning_Message ()
Description: Detects if an warning message is displayed in the status
bar of SAP and presses enter to continue
Parameters:

Sub SAP_Select_Cell_Content_for_Line_Item (TableName, Column1, Value1, Column2,


Value2)
Description: Select cell containing <Value2> in column <Column2>
where column <Column1> has a cell value of <Value1> on
the table <TableName>
Parameters: Value2
Column2
Column1
Value1
TableName

Function SAP_Open_Cell_For_LineItem (TableName, ReferenceColumn,


ReferenceValue, WorkingColumn, ValueToSelect)
Description: Opens cell containing <Value2> in column <Column2>
3 Function Reference

where column <Column1> has a cell value of <Value1>


Parameters: Value2
Column2
Column1
Value1

Function get_Row_Number (Table, mColumn, CellContent, StartingRow)


Description: Return the Number of the row where the content is located
Parameters:

Sub Save_Cell_Content_For_LineItem (TableName, Column1, Value1, Column2)


Description: Retrieve <val> in the second <field> text box
Parameters: val
field

Sub Choose_Selection_Variant_In_Popup (Item)


Description: Enter <val> in the second <field> text box
Parameters: val
field

Function Open_Cell_For_LineItem_not_in_use (TableName, Column1, Value1,


Column2, Value2)
Description: Enter <val> in the second <field> text box
Parameters: val
field

Sub Open_Cell_From_Table (TableName, mColumn, mValue)


Description: Opens the cell according to the value <mValue> on the
column <mColumn> of the table <TableName>
Parameters: mValue
mColumn
TableName

Function Get_NextBusinessDay (mDate)


Description: Verify is this is a Business day, If it is just return it, if it is not
get the next one
Parameters:
3 Function Reference

Sub SAP_Select_Cell_Content (TableName, Column, Value)


Description: Select cell containing <Value1> in column <Column1>
Parameters: Value1
Column1

Sub Open_Stock_Transport_Order ()
Description: Opens row containing the stock transport order # created
shown in the label area
Parameters:

Sub Select_Group_Number_Row ()
Description: Selects the row containing the group # created shown in
the label area
Parameters:

Function createString (StrContent, StrLen)


Description: Returns a string <StrContent> of lenght <strLen>
Parameters: StrContent
strLen

Function AppendToLine (target, append, separator)


Description: Adds to <target> string the value <append> with the
separator flag <separator>
Parameters: target
append
separator

Sub SAP_SendFunctionKey (keystring)


Description: Sends a keystring <keystring> to the SAP session
Parameters: keystring

Function SAP_Close_Session (SessionIndex)


Description: Closes the SAP windows belonging to the session
<SessionIndex>
Parameters: SessionIndex

Function SAP_Set_Active_Session (SessionIndex)


3 Function Reference

Description: Sets the session <SessionIndex> to be the active one


Parameters: SessionIndex

Function SAP_CloseSessions ()
Description: Closes the Session
Parameters:

Sub Open_Cell_From_Table_By_Row (TableName, mColumn, rowNumber)


Description: Opens a cell of the table <TableName? according to the
row number <rowNumber> and column name <mColumn>
Parameters: TableName? according to the row number <rowNumber
mColumn

Function SAP_Get_Cell_Content_For_two_Line_Item_Reference (TableName,


ReferenceColumn, ReferenceValue, ReferenceColumn2, ReferenceValue2,
CaptureColumn)
Description: Gets the content of the cell under the column
<CaptureColumn> referenced by the value
<ReferenceValue> on the column <ReferenceColumn> and
by the value <ReferenceValue2> on the column
<ReferenceColumn2> of the table <TableName>
Parameters: CaptureColumn
ReferenceValue
ReferenceColumn
ReferenceValue2
ReferenceColumn2
TableName

Sub SAP_Verify_TextBox_Content (Field, ExpectedValue)


Description: Verify text box<Field> has <ExpectedValue> as value
Parameters: Field
ExpectedValue

Sub SAP_Verify_TextBox_Content_isDifferent (Field, ExpectedValue)


Description: Verify text box <Field> has not <ExpectedValue> as value
Parameters: Field
ExpectedValue

Sub SAP_Verify_TextBox_Content_Type (Field, ExpectedValue, Comparison)


3 Function Reference

Description: Verify text box <Field> value is <Comparision> to


<ExpectedValue>
Parameters: Field
Comparision
ExpectedValue

sub SAP_Verify_Screen_Name (expectedVal)


Description: Verify that he screen name is <expectedVal>
Parameters: expectedVal

Function getComparissonKeywordValue (ExpectedValue)


Description: Function to translate the different kinds of comparison
possible
Parameters:

Sub Verify_Err_Content_isEmpty ()
Description: Verify <Err> is empty as expected value, which means
transaction passed
Parameters: Err

Function SAP_get_Cell_Data (Table, Row, Col)


Description: Gets the content of the cell located on the row <row> and
column <Col> of the table <Table>
Parameters: row
Col
Table

Function SAP_get_Grid_Value (Row, Col)


Description: Gets the content of the cell located on the row <row> and
column <Col> of the table Shell
Parameters: row
Col

sub SAP_Verify_Cell_Content (Table, Row, Col, Expected_Value)


Description: Verifies that the content of the cell located on the row
<row> and column <Col> of the table <Table> is equal to
<Expected_Value>
Parameters: row
Col
3 Function Reference

Table
Expected_Value

Sub SAP_Verify_Checkbox (field, Expectedval)


Description: Verify <Field> has <ExpectedValue> as expected value
Parameters: Field
ExpectedValue

Sub SAP_Verify_ComboBox_Content (Field, ExpectedValue)


Description: Verify <Field> has <ExpectedValue> as selected value
Parameters: Field
ExpectedValue

Sub SAP_Verify_ComboBox_Content_isDifferent (Field, ExpectedValue)


Description: Verify combo box <Field> has not <ExpectedValue> as
selected value
Parameters: Field
ExpectedValue

Sub SAP_Verify_ComboBox_Content_Type (Field, ExpectedValue, compareType)


Description: Verify combo box <Field> value is <compareType> to
<ExpectedValue>
Parameters: Field
compareType
ExpectedValue

sub Verify_TrafficLight_Status (Location)


Description: Reports the traffic light in the <Location> status into the
reporter
Parameters: Location

Function Verify_StatusBar_Content (CompareType, Content)


Description: Verifies if the content of the status bar is <CompareType>
to <Content>
Parameters: CompareType
Content

Function SAP_Verify_Cell_Content_For_LineItem (TableName, RefCol, RefVal,


TargCol, TargVal)
3 Function Reference

Description: Looks up on the table <TableName> the row that has the
value <RefVal> in the column <RefCol> And then compares
the value of the found cell to the expected value <TargVal>
Parameters: TableName
RefVal
RefCol
TargVal

Function SAP_Verify_Cell_Content_For_LineItem_Grid ( RefCol, RefVal, TargCol,


TargVal)
Description: Looks up on the grid the row that has the value <RefVal> in
the column <RefCol> And then compares the value of the
found cell to the expected value <TargVal>
Parameters: RefVal
RefCol
TargVal

sub Verify_TrafficLight_Status_in_Table (TableName, Rownumber)


Description: Reports the status of the traffic light located on the table
<TableName> and row <Rownumber> to the reporter
Parameters: TableName
Rownumber

Sub SAP_Verify_Label_Content (labelID, ExpectedVal)


Description: Verify that the label <labelID> has <ExpectedVal> as value
Parameters: labelID
ExpectedVal

Sub SAP_Set_Text (FieldName, FieldValue)


Description: Enter <FieldValue> in the <FieldName> text box
Parameters: FieldValue
FieldName

Sub SAP_Set_Text_Location (FieldName, FieldIndex, FieldValue)


Description: Enter <FieldValue> in the <FieldName> text box at location
<Inx>
Parameters: FieldValue
FieldName
Inx
3 Function Reference

Sub SAP_Open_Text (FieldName, LocigalName)


Description: Opens the text box <FieldName> identified by the
<LogicalName>
Parameters: FieldName
LogicalName

Sub SAP_Open_Text_Location (FieldName, FieldIndex, LocigalName)


Description: Enter <FieldValue> in the <FieldName> text box at location
<Inx>
Parameters: FieldValue
FieldName
Inx

Sub SAP_Set_Password (FieldName, FieldValue)


Description: Enters encrypted password <FieldValue> in the
<FieldName> text box
Parameters: FieldValue
FieldName

Sub Goto_Transaction (Transaction)


Description: Goto transaction <Transaction>
Parameters: Transaction

Sub SAP_Select_Checkbox (FieldName, FieldValue)


Description: Sets the Checkbox <FieldName> to the value <FieldValue>
Parameters: FieldName
FieldValue

Sub SAP_Select_Checkbox_Location (FieldName, FieldIndex, FieldValue)


Description: Sets the Checkbox <FieldName> located on <FieldIndex>
to the value <FieldValue>
Parameters: FieldName
FieldIndex
FieldValue
3 Function Reference

sub SAP_Select_Label (text)


Description: Selects the label <text>
Parameters: text

Sub SAP_Select_CheckBox_In_Grid (label, FieldValue)


Description: Sets the checkbox <label> to the value <FieldValue>
Parameters: label
FieldValue

Sub SAP_Select_RadioButton (FieldName, RadioVal)


Description: Select RadioButton <FieldName>
Parameters: FieldName

Sub SAP_Select_RadioButton_Location (FieldName, FieldIndex, RadioVal)


Description: Select RadioButton <FieldName>
Parameters: FieldName

Sub SAP_Press_Enter ()
Description: Press Enter key
Parameters:

Sub Press_button (ButtonName)


Description: Press the <ButtonName> button
Parameters: ButtonName

Sub SAP_Press_Button (ButtonName)


Description: Press the <ButtonName> button
Parameters: ButtonName

Sub SAP_Select_ComboBox (FieldName, FieldValue)


Description: Selects <FieldValue> from <FieldName> drop down combo
box
Parameters: FieldValue
FieldName

Sub SAP_Select_ComboBox_Location (FieldName, FieldIndex, FieldValue)


Description: Selects <FieldValue> from <FieldName> drop down combo
3 Function Reference

box
Parameters: FieldValue
FieldName

Sub Go_Back ()
Description: Go back to previous page
Parameters:

Sub SAP_Set_Cell_Data (Table, Row, Col, FieldValue)


Description: Set a <value> in table <table> at row <Row>, collumn
<Col>
Parameters: value
table
Row
Col

Sub SAP_Select_Cell (Table, Row, Col)


Description: Select in table <table>, row <Row> collumn <Col>
Parameters: table
Row
Col

Sub SAP_Select_Row (Table, Row)


Description: Select row <Row> in table <table>
Parameters: Row
table

Sub SAP_Select_Row_Location (Table, Row, Location)


Description: Select row <Row> in table <table> located in <Location>
Parameters: Row
table
Location

Sub SAP_Select_Col (Table, Col)


Description: Select column <Col> in table <Table>
Parameters: Col
3 Function Reference

Table

Sub SAP_Select_Col_Location (Table, Col, Location)


Description: Select column <Col> in table <Table> located in
<Location>
Parameters: Col
Table
Location

Sub SAP_GRID_Select_Col (GridName, Col)


Description: Select column <Col> in grif <GridName>
Parameters: Col
GridName

Sub SAP_GRID_Select_Col_Location (GridName, Col, Location)


Description: Select column <Col> in grid <GridName> located in
<Location>
Parameters: Col
GridName
Location

Sub SAP_Select_Row_By_Content (Table, Column, Value)


Description: Selects the row according to the value <Value> in the
column <Column> in table <Table>
Parameters: Value
Column
Table

Sub SAP_Select_Row_By_Content_Grid (Column, Value)


Description: Selects the row according to the value <Value> in the
column <Column> in grid
Parameters: Value
Column

Sub SAP_Select_Menu (MenuPath)


Description: Select Menu <MenuPath>
Parameters: MenuPath
3 Function Reference

Sub SAP_Select_Node (NodePath)


Description: Select Menu <MenuPath>
Parameters: MenuPath

Function Get_Status_Item (StatusItemText)


Description: Get <StatusItemText> from staus bar
Parameters: StatusItemText

Sub SAP_Select_Tab (TabName)


Description: Select Tab <TabName>
Parameters: TabName

Sub SAP_Select_Tab_Location (TabName, TabIndex)


Description: Select Tab <TabName> located in <TabIndex>
Parameters: TabName
TabIndex

Sub DragObjectToShoppingCart (ObjectToDrag)


Description: Selects <Object> from <Tree> and Drag it to the Shopping
Cart
Parameters: Object
Tree

Sub SAP_Verify_Popup (PopUpName)


Description: Verify <PopupName> popup exists
Parameters: PopupName

Sub Expand_All_Sections
Description: Expand all collapsed sections
Parameters:

Sub Expand_Section (ToolTip)


Description: Expands the collapsed <ToolTip> section
Parameters: ToolTip

Sub SAP_Press_Save ()
Description: Press the Save Button
3 Function Reference

Parameters:

Sub SAP_Press_ToolBar_Button (strButtonAndPath)


Description: Click Button in Document Overview Tree Toolbar
Parameters:

Sub SAP_select_ToolBar_Context_Menu_Item (ButtonName, PathtoClick)


Description: Click Button and Select a context item in Document
Overview Tree Toolbar
Parameters:

Sub SAP_Set_Cell_Grid_Data (Grid, Row, Col, FieldValue)


Description: Set a <value> in table <table> at row <Row>, collumn
<Col>
Parameters: value
table
Row
Col

Function Get_Label (LabelName)


Description: Select and set Focus in a <labelName> label
Parameters: labelName

Function Select_Variant (Variant_Name)


Description: Select and set Focus in a <Variant_Name> Variant
Parameters: Variant_Name

Sub SAP_Select_Line_Item (Table, Row)


Description: Select line item <Row> in table <table>
Parameters: Row
table

Sub SAP_Click_Cell (Table, Row, Column)


Description: Clicks the cell in table <table> at row <Row>, column
<Col>
Parameters: table
Row
Col
3 Function Reference

Sub SAP_Select_Item_In_Tree (ObjectToDrag)


Description: Selects <Object> from <Tree> and Drag it to the Shopping
Cart
Parameters: Object
Tree

Sub press_ToolBar_button (strButtonAndPath)


Description: Press the button <strButtonAndPath> in the Toolbar
Parameters: strButtonAndPath

Sub select_ToolBar_Context_Menu_Item (ButtonName, PathtoClick)


Description: Press the button <ButtonName> located in the path
<PathoClick> in the Toolbar
Parameters: ButtonName
PathoClick

Sub SAP_Select_Checkbox_In_Table (Table, Row, Col, FieldValue)


Description: Sets the checkbox located on the table <Table> at the row
<Row> and Column <Col> with the value <FieldValue>
Parameters: Table
Row
Col
FieldValue

Sub SAP_Select_ComboBox_In_Table (Table, Row, Col, FieldValue)


Description: Sets the combo located on the table <Table> at the row
<Row> and Column <Col> with the value <FieldValue>
Parameters: Table
Row
Col
FieldValue

Function getCheckBoxState (CheckState)


Description: Normalizes the value <CheckState> of the state of a
checkbox
Parameters: CheckState

Sub SAP_Grid_Select_Row (GridName, RowNumber)


3 Function Reference

Description: Selectes the row <RowNumber> of the grid <GridName>


Parameters: RowNumber
GridName

Sub SAP_Grid_Select_Row_Location (GridName, GridIndex , RowNumber)


Description: Selectes the row <RowNumber> of the grid <GridName>
located on <GridIndex>
Parameters: RowNumber
GridName
GridIndex

Sub TAO_Set_Text (FieldName, FieldValue, LogicalName)


Description: Enter <FieldValue> in the <FieldName> text box
Parameters: FieldValue
FieldName

Sub TAO_Set_Text_Location (FieldName, FieldIndex, FieldValue, LogicalName)


Description: Enter <FieldValue> in the <FieldName> text box at location
<Inx>
Parameters: FieldValue
FieldName
Inx

Sub TAO_Select_Checkbox (FieldName, FieldValue, LogicalName)


Description: Select Checkbox <FieldName> <FieldValue>
Parameters: FieldName
FieldValue

Sub TAO_Select_Checkbox_Location (FieldName, FieldIndex, FieldValue,


LogicalName)
Description: Select Checkbox <FieldName> <FieldValue>
Parameters: FieldName
FieldValue

Sub TAO_Select_RadioButton (FieldName, RadioVal, LogicalName)


Description: Select RadioButton <FieldName>
Parameters: FieldName
3 Function Reference

Sub TAO_Select_RadioButton_Location (FieldName, FieldIndex, RadioVal,


LogicalName)
Description: Select RadioButton <FieldName>
Parameters: FieldName

Sub TAO_Select_ComboBox (FieldName, FieldValue, LogicalName)


Description: Selects <FieldValue> from <FieldName> drop down combo
box
Parameters: FieldValue
FieldName

Sub TAO_Select_ComboBox_Location (FieldName, FieldIndex, FieldValue,


LogicalName)
Description: Selects <FieldValue> from <FieldName> drop down combo
box
Parameters: FieldValue
FieldName

Sub TAO_Select_Checkbox_In_Table (Table, Row, Col, FieldValue)


Description: Sets value in Table
Parameters:

Sub TAO_Select_ComboBox_In_Table (Table, Row, Col, FieldValue)


Description: Sets value in Table
Parameters:

Function TAO_Select_Tab (TabStripName, TabIndex, ReportingName)


Description: Selects Tab based on Index
Parameters:

Das könnte Ihnen auch gefallen