Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:52 AM
Hello,
Step-by-Step Guide to Approve from List View Using ATF
-
Navigate to ATF: Go to
System Applications > Automated Test Framework > Tests. -
Create a New Test: Click
Newto create a new test and provide a name for your test. -
Add Test Steps: Add the necessary steps to your test. The key steps will be opening the list view, selecting the record, and performing the approval action.
Example Test Steps
Step 1: Open a New Form
- Action:
Open a New Form- Table:
Your Table(e.g.,Incident) - Record: Leave empty if you want to create a new record.
- Table:
Step 2: Set Field Values
- Action:
Set Field Values- Table:
Your Table - Fields: Set the necessary fields to create a record that needs approval.
- Table:
Step 3: Submit Form
- Action:
Submit a Record- Table:
Your Table
- Table:
Step 4: Open a List
- Action:
Open a List- Table:
Your Table - View: Select the appropriate view (e.g.,
Default view).
- Table:
Step 5: Impersonate a User
- Action:
Impersonate User- User: Select the user who has the authority to approve the record.
Step 6: Select Record in List
- Action:
Open a Record from a List- Table:
Your Table - Filter: Add a filter to find the specific record you created in step 2 (e.g.,
Number = INC0010001).
- Table:
Step 7: Click UI Action
- Action:
Click a UI Action- UI Action: Select the UI Action for approval (e.g.,
Approve).
- UI Action: Select the UI Action for approval (e.g.,
Example of Setting Up the Test Steps
-
Create a new test:
- Navigate to
System Applications > Automated Test Framework > Tests. - Click
Newand provide a name for your test.
- Navigate to
-
Add test steps:
- Click
Add Test Stepand configure each step as described.
- Click
Add a Test Step: Open a New Form
- Step Configuration:
- Action:
Open a New Form - Table:
incident(or your specific table) - View:
Default view(or your specific view)
- Action:
Add a Test Step: Set Field Values
- Step Configuration:
- Action:
Set Field Values - Table:
incident - Fields:
short_description = "Test Incident for Approval",priority = "3"
- Action:
Add a Test Step: Submit Form
- Step Configuration:
- Action:
Submit a Record - Table:
incident
- Action:
Add a Test Step: Open a List
- Step Configuration:
- Action:
Open a List - Table:
incident - View:
Default view(or your specific view)
- Action:
Add a Test Step: Impersonate User
- Step Configuration:
- Action:
Impersonate User - User:
Approver(a user with approval rights)
- Action:
Add a Test Step: Open a Record from a List
- Step Configuration:
- Action:
Open a Record from a List - Table:
incident - Filter:
short_description = Test Incident for Approval
- Action:
Add a Test Step: Click UI Action
- Step Configuration:
- Action:
Click a UI Action - UI Action:
Approve
- Action: