General Functions ReadXLS 1. Function Arguments : FileLocation,SheetName 2.
. Returns Array Containing the Row & Cols From Excel File(TestCase) 3. File Should Exist ParseExcelForMissingData 1. 2. 3. 4. 5. Function Arguments : ArrayName,Location Returns Array of TestCases that are to be executed(Without missing data.) Create a file having Test Cases Number & Missing DataCol. Name format of The File Created Date MissingCol Column Names are Hard coded, if there is a a change in format of TestCase Excel Sheet,we need to change the function.
Creat Status File 1. Function Arguments : ArrayName,Location 2. Create a file having Test Cases Number & Status. 3. Name format of The File Created 10-16-08 TestExecutionStatus
GetObjectIndex 1. Function Arguments : ObjectName,ArrayName 2. Returns the Index of Object 3. Array contains the Object Name & Index location
GetData 1. Function Arguments : ArrayName,Row,Col 2. Returns the Data at intersection of Row & Col
GetCaption 1. Function Arguments: WindowName,TabName,FieldName 2. Returns the caption availability Navigation: 1. Function Arguments: TabNames (5 Nos , as optional),Action 2. Navigates to the specified location as per the parameters 3. Performs the action (Click) 4. Returns if the operation was successful Recovery System with exception handling 1. Function Arguments: NILL
2. Returns the application to the base state where every test case starts 3. Handles the random errors and returns the application to the base state, failing the previous test case Error Logging and Reporting Results 1. Function Arguments: TestCaseID,Module,BitmapImage 2. Returns the results to the Results file 3. Incase of errors captures the Bitmap and stores in the specified location
Script Functionality 1. Edit 2. List Set : Fills the Edit with specifed value Disable : Checks whether Edit is Disabled Enable : Checks whether Edit is Enabled Visible : Checks whether Edit is visible Mandatory : Checks whether Edit is Mandatory Verify : Verifies whether set of values are available in List Selects : Selects the specified value available in List Disable : Checks whether List is Disabled Mandatory : Checks whether List is Mandatory Verify-Default : Verifies the list for Default Value. Visible : Checks whether list t is visible.
3. Button Click: Clicks on specified button. Visible : Checks whether Button is visible Disable : Checks whether Button is Disabled 4. RadioButton Select : Selects specified value from RadioButton. Verify : Verifies the currently selected value. Disable : Checks whether RadioButton is Disabled Enable : Checks whether RadioButton is Enabled Mandatory : Checks whether Edit is Mandatory Visible: Checks whether Edit is Visible 5. Link Click : Clicks on specified link 6. CheckBox Set : Sets ON/OFF Disable : Checks whether CheckBox is Disabled Verify: Checks whether CheckBox is Visible Enable : Checks whether CheckBox is Enabled Visible : Checks whether CheckBox is visible. 7. Table Verify : Verifies whether desired value is available in Table Capture : Captures the specifed value from Application
Error Message : Captures the Error Message
Rules to Followed While Creating DataSheets
Col Names & Sequence 1) Test Case# 2) Window Name 3) Navigation 4) Caption 5) Action 6) Verify 7) Value (Data) 8) Caption OR Windows ID 9) Expected Result None of the cols, should be blank, if nothing is to specified , put Null in to that Cell & highlight it with Red color Index OR Windows ID is Necessary for all the Objects except Link While fetching the value from Application & entering in to Excel File, Make sure spelling are correct and text is in the same case as specified in Application. Edit o While selecting the Field Caption, refer to Caption property. List o While selecting the Field Caption, refer to Caption property Button o While selecting the Field Caption, refer to Caption property. RadioGroup o Need to understand on how to implement this Link o While selecting the Field Caption, refer to Caption property. CheckBox o Need to understand on how to implement this
Data sheet
Test Case# 1
Window Name Login
Sub Window Audit Procedur es Summari es
Caption UserName
Action SetData
Overview Procedures
Select your association
Select
Value MICAdmi nistrator Documen t Receipt of approved target
Windows ID $txtUserName $pie.component s. tablechart.Table ViewEx
Expected Result Null
Null