Presentation AS 1 Quick Reference Guide 12 X

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 27

© 2017 by
Automation Specialist I
Quick Reference Guide
© 2017 by
Key Points:
© 2017 by
1.How to Create a Module
2.How to Create a ControlGroup
3.How to Create a TestCase Structure
4.How to Create a TestStep using Drag & Drop
5. How to Create a TestStep using Add TestStep Function
6.How to Steer a Control
7.How to Use Dynamic Dates
8.How to Set a Buffer
9.How to Use a Set Buffer
10.How to Work with Tables
11.How to Create Reusable TestStepBlocks
12.How to Use ActionMode WaitOn
13.How to Use a Self-Defined Test Configuration Parameter
14.How to Use a Business Parameter
16.How to Use Dynamic Comparison
Table of Contents
17.How to Identify by Parent
18.How to Use ResultCount
19.How to Use ExplicitName
20.How to Link TestCases to Requirements
21.How to Execute TestCases
22.How to Define a Recovery Scenario
23.How to Use ActionMode Constraint
24.How to Use FireEvent
© 2017 by
How to Create a Module
1. Scan application page using XScan
2. Select necessary Controls
3. Uniquely identify each Control
4. Rename the Module
5. Save
Back to Contents Page
© 2017 by
How to Create a ControlGroup
1. Select necessary ModuleAttributes
2. Right Click
3. Choose Convert to ControlGroup
4. Rename the ControlGroup
Back to Contents Page
© 2017 by
How to Create a TestCase Structure
Back to Contents Page
1. Create a TestCase and name it
2. Create a Test Configuration Parameter
3. Create and name TestStep Folders to
contain TestSteps
© 2017 by
How to Create a TestStep using Drag & Drop
1. Locate necessary Module
2. Drag and drop it into the appropriate
TestStep Folder to create a TestStep
3. Rename the TestStep
Back to Contents Page
© 2017 by
How to Create a TestStep using Add
TestStep Function
1. On object where the TestStep should
be added, right click and select “Add
TestStep” or press “Ctrl+T
2. Type in search characters
3. Click on desired Module or use the
arrow keys to select and press “Enter Back to Contents Page
© 2017 by
How to Steer a Control
1. Locate the necessary control within a
TestStep
2. Enter the appropriate Value
3. Enter steering instructions using
ActionMode and DataType
Back to Contents Page
© 2017 by
How to Use Dynamic Dates
1. Choose the right Date Expression
2. Fill in the base date
3. Enter the desired offset
4. Enter the desired format
Back to Contents Page
© 2017 by
How to Set a Buffer
1. Enter a Property (e.g. InnerText) and
a Buffer name as the Value of a
TestStep Attribute
2. Set ActionMode to Buffer
Back to Contents Page
© 2017 by
How to Use a Set Buffer
Back to Contents Page
1. Enter {B[<Buffername>]} as the Value
of a TestStep Attribute
2. Set ActionMode to Input or Verify
* Stored values can be viewed in the menu item:
Project >> Settings >> Engine >> Buffer
© 2017 by
How to Work with Tables
Back to Contents Page
1. Select the table control to work with
2. Select for row or column either a static
value like ‚#1‘ or enter dynamic values
like ‚#{B[<Buffername>]}‘
3. Select the cell and enter a value and the
corresponding ActionMode for the task
© 2017 by
How to Create Reusable TestStepBlocks
1. Create a TestStep Library within a
TestCase Folder
2. Add TestSteps or TestStep Folders to
the Library by creating them or
dragging and dropping in existing ones
Back to Contents Page
© 2017 by
How to Use ActionMode WaitOn
1. Enter a Property (e.g. InnerText) as
the Value of a TestStepAttribute
2. Enter the desired value (e.g. True or
The coupon code was applied)
3. Set ActionMode to WaitOn
Back to Contents Page
© 2017 by
How to Use a
Self-Defined Test Configuration Parameter
1. Create the Parameter in the Test
Configuration tab
2. Enter its name and value
3. Use {CP[ParameterName]} to apply
the value
Back to Contents Page
© 2017 by
How to Use a Business Parameter
1. Create Business Parameters on the
Reusable TestStepBlock itself
2. Name each Parameter
3. Create a Reference to the Reusable
TestStepBlock within a TestCase
4. Enter Values for each Parameter in each
usage of the TestStepBlock Back to Contents Page
© 2017 by
How to Use Dynamic Comparison
1. Select a TestStepValue and enter the
string you want to verify
2. Replace the dynamic portion of the
string using {XB[Buffername]}
3. Set the ActionMode to Verify
Back to Contents Page
© 2017 by
How to Identify by Parent
1. Select the control to identify in XScan
2. Locate and select its parent control
3. Ensure that the parent control is
uniquely identifiable
4. Save
Back to Contents Page
© 2017 by
How to Use ResultCount
1. Navigate to the TestStepValue
2. Set applicable ActionMode
3. Click the blue drop down arrow in the
value cell
4. Enter ResultCount in the left textbox and
select an operator and value
Back to Contents Page
© 2017 by
How to Use ExplicitName
1. Add Configuration Parameter
“ExplicitName” to the Module Attribute
2. Set the Value to True
3. Rename corresponding TestStepValue
if applicable
Back to Contents Page
© 2017 by
How to Link TestCases to Requirements
1. Drag and drop the TestCase to the
relevant Requirement
Back to Contents Page
© 2017 by
How to Execute TestCases
1. Create an ExecutionList
2. Link TestCase or TestCase Folder by
drag and drop
3. Link the ExecutionList to the
Requirement Set
4. Run the ExecutionList
5. View results in the ActualLog
Back to Contents Page
© 2017 by
How to Define a Recovery Scenario
1. Create Recovery Scenario Collection
2. Add TestStep to use if an error occurs
3. Add CleanUp Scenario if necessary
Back to Contents Page
© 2017 by
How to Use ActionMode Constraint
1. Steer a TestStepValue which by now
exists multiple times
2. Set ActionMode to Constraint; select
Value to search for all subsequent
TestStepValues necessary to make
the selection unique
Back to Contents Page
© 2017 by
How to Use FireEvent
1. Add the Steering parameter
“FireEvent” to the Module Attribute
2. Add the desired FireEvent as the
Value
Back to Contents Page
© 2017 by
Tricentis Academy
academy@tricentis.com
www.tricentis.com/academy

Navigation menu