Você está na página 1de 16

12096

BUTSAM-6333 (BUTSAM-11843)
VERIFY - Add Asset Field Validation

Given User is signed in


And user is on Asset Main Page
When user clicks on Add Location Button
then user is naviagted to add location page
When user selects unique asset category
then user selects from select template
and navigate to Enter Asset Information
When user enter the fields
and click on complete button
Then Error message "Please Enter fieldName" should be displayed against the
following field
| Scan Code|
| Inventory Number |
And Error message "Please Select a fieldName" should be displayed against the
following field
| Scan Code Type |
| Default Location |
| Current Location |
| Responsible Worker |
| Inventory Worker |
When Enter into the following fields with more than respective field character
limit
| Field Name |
| Model |
| Description |
| Cost Code |
| Notes |
And Select values in the following dropdown fields
| Asset Group |
| Status |
| AUC state |
| Ownership Type |
|Purchase Currency |
And Click on "Create" button on Add Customer page
Then Error message "Maximum of limit characters allowed for this field" should
be displayed against the following field
| Field Name | | Character Limit |
| Name | | 256|
| Scan Code | | 36 |
| Inventory Number | | 50 |
| Serial Number | | 50 |
| Storage | | 256 |
| Purchase Price | | 20 |
| Replacement Cost | | 20 |
| Purchase Order Number | | 36 |
| Cost Code | | 20 |
|Vendor | | 64 |
Then Error message for following items for invalid date format
| AUC Date |
| Purchase Date|
| Warranty Expiration Date|
And Click on "Complete" button on Add Customer page
Then Tenant is created successfully
BUTSAM-6332 (BUTSAM-11842)
VERIFY - Delete asset dialog

Prequistics - No Inventory or Friendly name is associated with the selected asset


option
Given User is signed in
And user is on Asset Main Page
When user selects an asset
then user view delete image
when user click the image
then user view an delete alert
And user sees "Are you sure to delete Asset ? This message cannot be undone "
displays on the delete alert

Prequistics - When both friendly name and inventory name is associated with the
selected asset option
Given User is signed in
And user is on Asset Main Page
When user selects an asset
then user view delete image
when user click the image
then user view an delete alert
And user sees "Are you sure to delete 'inventory name' ? This message cannot be
undone " accordingly
displays on the delete alert

Prequistics - When only friendly name is associated with the selected asset option
Given User is signed in
And user is on Asset Main Page
When user selects an asset
then user view delete image
when user click the image
then user view an delete alert
And user sees "Are you sure to delete 'friendly name' ? This message cannot be
undone " accordingly
displays on the delete alert

Prequistics - When only inventory name is associated with the selected asset option

Given User is signed in


And user is on Asset Main Page
When user selects an asset
then user view delete image
when user click the image
then user view an delete alert
And user sees "Are you sure to delete 'inventory name' ? This message cannot be
undone " accordingly
displays on the delete alert

BUTSAM-40 (BUTSAM-11844)
VERIFY - Tenant List Display

Given User is signed in with Admin portal


And user navigates to admin main page
When user view list of all tenants
Then user view the following items
|Customer Name|
|Display Name|
|Customer ID|
|Sales Organisation|
|Tenant Type|
|URL Domain |
|Created Time|
|Updated Time|

BUTSAM - 40 (BUTSAM-12020)

SIT - Verify Tenant List Empty

Given User is signed in with Admin portal


And user navigates to admin main page
When user sees no tenants available
And user sees a message "No Tenants configured in the system.Please create a new
Tenant."

BUTSAM-6266 (BUTSAM-11840)
VERIFY - Add asset - Persistent footer

Given User is signed in


And user is on Asset Main Page
When user clicks on Add Location Button
Then user is naviagted to add location page
When user selects unique asset category
Then user is navigated to select templates screen
And user view a static footer button "Skip template"
When user clicks skip template
then user is navigated to the enter asset information page

BUTSAM-2193
[AM] UI - Delete a single asset Web

Given User is signed in


And user is on Asset Main Page
When user clicks on asset
Then user view delete icon
When user clicks the delete icon
Then user view a dialogue is opened
And sees two buttons cancel and delete
When user clicks the "delete" button
then asset is deleted
And user see the toast of confiramtion "Asset is deleted Successfully"

When user clicks on asset


Then user view delete icon
When user clicks the delete icon
Then user view a dialogue is opened
And sees two buttons cancel and delete
When user clicks the "cancel" button
Then is not deleted
And User is returned to the state
the app was before starting the delete action

BUTSAM-2044 (BUTSAM-11912)
UI - List of assets List summary

Given User is signed in


When user is on Asset Main Page
Then asset list is loaded
And user sees an Add asset button
And user sees a sorting selector by following options
|Scan Code|
|Inventory Code |
|Manufacturer|
|Model|
|Name|
|current Location|
|Responsible Worker|
And user sees total number assets in list

BUTSAM-6331 (11909)

When user is on Asset Main Page


Then user see no asset is present in the list
And add asset button is present
When user clicks Add Asset Button
Then user is navigated to Add Asset pages

BUTSAM-1058 (BUTSAM-11949)

Given User is signed in


When user is on Asset Main Page
Then user view following filters
|All Asset Group|
|All Locations|
|All Catergory|
|More Filters|
And user views Search Box in the asset main page

BUTSAM-1057 (BUTSAM-11950)

Given User is signed in


When user is on Asset Main Page
Then user sees following items in top bar
|Assets|
|Locations|
|Employees|
|Templates|
|Reports|
When user clicks on the asset tab
Then user sees asset list
And user sees asset tab is highlighted

When user clicks on the locations tab


Then user sees location list
And user sees location tab is highlighted

When user clicks on the Employees tab


Then user sees Employees list
And user sees Employees tab is highlighted
When user clicks on the Templates tab
Then user sees Templates list
And user sees Templates tab is highlighted

When user clicks on the Reports tab


Then user sees Reports list
And user sees Reports tab is highlighted

BUTSAM-1056 (BUTSAM-11951)

Given User is signed in


When user is on Asset Main Page
Then user sees following items
|His name at the top|
|Tenant Name of the company|
|Icon presenting person|
|Transfer Cart icon |
|Hilti Logo |
|ON!Track text|

BUTSAM - (2388)
(12196)
12382 12381
Given User is signed in
And user is on Asset Main Page
When user clicks on Miscellaneous tab
Then user view Manufacturers under Miscellaneous tab
When user clicks manufacturers
Then user view the manufacturer list
When user select the manufacturer from the manufacturer list
Then user view a delete Image in the right corner
When user clicks the "delete" image
Then user view a alert.
And user view a message "Are you sure you want to delete 'manufacturer-name'? This
action cannot be undone." written
And user sees two options "delete" and "cancel"
When user selects the "Delete" option
Then manufacturer is deleted
And user view a message "Manufacturer was successfully deleted".

BUTSAN - 3133

Verify Pagination in Worker section


(12197)

When user is on worker tab


Then user view the worker list
When user scrolls down the list
Then user view first 10 items
When user again start scrolling towards end of list
Then user view another 10 items are added in worker list

BUTSAM-2298 (12222)

SIT - verify user is able to edit manufacture in the manufacturer list


Given Asset Details page is displayed
When user clicks on Miscellaneous tab
When User clicks on a manufacturer from manufacturer list
Then edit icon is displayed on the Miscellaneous page
When user clicks on the edit manufacturer button
Then user lands to the Edit manufacturer Page
And user view the following items in read mode only
| Number of Assets |
| Number of Asset Templates |
| Note |
When user clears the manufacturer name field
And clicks on Done button
Then Error message is displayed as "Please provide info in mandatory field"
And clicks on cross button on Edit manufacturer Page
When user clicks on the edit manufacturer button
And user edits any field
And clicks on cross button on Edit manufacturer Page
Then user lands back to manufacturer list view Page
When user clicks on the edit manufacturer button
Then user lands to the Edit manufacturer Page
When user edits any field
And clicks on Done button
Then toast message is displayed as "Manufacturer was successfully updated"
And user see the fields updated According to the changes

BUTSAM-2421 /BUTSAM-12370

SIT - Verify user is able to view Company Settings in the main view

Given User is signed in


When user is on Asset Main Page
Then user view user signed in information on top right
And user view following items
|First Name|
|Last Name|
|Tenant company name (display name)|
When user clicks on the company option
Then user view the following items:
|Company settings|
|User Settings|
|Legal|
|Logout|
When user select company settings details
Then user is redirected to Company Settings details page
And user see the following options:
|Company Details|
|Asset Trackin Section|
|Company Name|
|Currency
|Country
|State
|City
|Zip Code
|Address Line 1
|Address Line 2
|Phone Number
|Mobile Number
|Web
|Company Logo
|Edit Button|
When user click Asset Tracking section
Then user view Bluetooth Asset Tracking section

BUTSAM - 2329 BUTSAM-12374

Verify - User is able to edit details in the company settings

When user clicks the edit button on company edit page


Then user is redirected to the Edit page
And user see the following options:
|Company Name|
|Address Line 1|
|Address Line 2|
|City|
|Postal Code|
|State|
|Country|
|Phone Number|
|Mobile Number|
|Tenant Website URL|
|Purchase Currency|
When user clears the following fields
|Customer ID field|
|Customer Name|
|Display Name|
And clicks on Done button
Then Error message "Please enter a valid value" displayed in the Tenant Website URL
options
When user enter the details and click save
Then user view a message "Are you sure you want to make changes in customer
settings"
And two buttons cancel and ok
When user clicks cancel button
Then user navigates to the Company settings Page
When user clicks the edit button on company edit page
Then user is redirected to the Edit page
When enter the details
And clicks on "ok" button
Then user see Toast message "Company Settings Have Been Updated"
And user is redirected to company setting page
When user clicks on address
then user is unable to edit changes

BUTSAM - 2223 //https://jira.hilti.com/browse/BUTSAM-12524

Verify user is able to edit tenant


Prequistics Select tenants are activated

Given Customer List page is Displayed


And user navigates to admin main page
Then User sees an Edit button for all such Tenants who are activated.
When user click on tenant from tenant list
When user click the edit button
Then user lands to edit tanent page
When user clears the following fields
|Customer ID field|
|Customer Name|
|Display Name|
And clicks on Done button
Then Following Error message is displayed
| "Please enter CustomerID "|
| "Please Enter Customer Name"|
| "Please Please enter Display Name"|
And clicks on cross button on Edit tenant Page
Then user lands back to tenant list view Page
And user view the changes done are not saved
When user click the tenant from tenant list
When user clicks the "deactivate" button
Then user view a alert message "Are you sure you want to deactivate this tenant-
name"
And user sees two options i.e "cancel" and "deactivate"
When user selects "Deactivate" option
Then user sees tenant is deactivates
And User is navigated to the Tenant list page

Prequistics Select tenants are inactive


When user click on tenant from tenant list
When user click the edit button
Then user lands to edit tanent page
When user clears the following fields
|Customer ID field|
|Customer Name|
|Display Name|
And clicks on Done button
Then Following Error message is displayed
| "Please enter CustomerID "|
| "Please Enter Customer Name"|
| "Please Please enter Display Name"|
And clicks on cross button on Edit tenant Page
Then user lands back to tenant list view Page
And user view the changes done are not saved
When user click the tenant from tenant list
When user clicks the "activate" button
Then user view a alert message "Are you sure you want to activate this tenant-name"
And user sees two options i.e "cancel" and "activate"
When user selects "activate" option
Then user sees tenant is activates
And user see a message "customer-name has been Activated"

BUTSAm - 2237
12392

Given User is signed in


When user is on Asset Main Page
When user clicks on the Worker Tab
Then user view worker list
When user selects a worker from list
And user view Delete button
When user clicks on the delete button
Then user view a alert message "Are you sure you want to delete worker"
And user view two buttons i.e. Delete And Cancel
When user clicks delete button
Then user view worker is deleted
And user a toast "Worker XYZ deleted successfully"
And user see a updated count of the workers

When user selects a worker from list


And user view Delete button
When user clicks on the delete button
Then user view a alert message "Are you sure you want to delete worker"
And user view two buttons i.e. Delete And Cancel
When user clicks cancel button
Then worker is not deleted

When user clicks himself in the worker list


When user clicks the delete button
Then user view a error message
And user is unable to delete Worker

When user click on the worker which is last Customer Admin


When user clicks the delete button
Then user view a error message
And user is unable to delete Worker

When user click on the worker which is customer Admin


And user is not Customer Admin
When user click on delete button
Then user view a error message
And user is unable to delete Worker

When user click on the worker which have asset linked with it
When user click on delete button
Then user view a error message
And user is unable to delete Worker

When user click on the worker which have Location Manager linked with it
When user click on delete button
Then user view a error message
And user is unable to delete Worker

BUTSAM - 704
12393

Given User is signed in


When user is on Asset Main Page
When user clicks on the Location Tab
Then user view Location list is Loaded
Then user view first 100 items
When user again start scrolling towards end of list
Then user view a spinner when scrolls
Then user view another 100 items are added in location list
When user reaches end of list
Then user view a message i.e ."You have reached the end of the list"

BUTSAM -2477 12704

Given User is signed in


When user clicks on worker tab
Then user is navigated to the worker page
When user click on the edit option
Then user is navigated to the edit option page
When user scrolls to Application Access Section
Then user view two options "No" and "Yes"
And user view "yes" option is selected by default
And user view Email address is filled by default
When user selects "No" option in the Application Acess
And click complete Button
Then user view a toast with error message "Request failed with status code (Error
Code)"
When user selects "yes" Radio button
And user select role "Admin" from drop down
Then user click complete Button
And user view a toast with error message "Request failed with status code 405"
When user select role "" from drop down
And user view a toast with error message "Request failed with status code 405"

Country to be verify

BUTSAM - 12114

Given User is signed in


When user clicks on worker tab
Then user is navigated to the template page
And view template list
Then user view description of all records in the list

BUTSAM - 11469
Given User is signed in
When is on asset detail page
Then user view the state in respected color

BUTSAM - 13399
Given User is signed in
When is on asset detail page
Then User types "!@@#3412" in search in asset detail page
And User view "0 items" is displayed in the list

BUTSAM - 3135

Scenario: 3135 - Verify No records displayed on Asset Page for non-matching


character
When User clicks on the Sort by dropdown
And User sorts the Template for "First Name"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Last Name"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Badge Id"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Contract Type"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Responsibility"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Designation"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Application Access Role"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly
When User clicks on the Sort by dropdown
And User sorts the Template for "Number of Assigned Assets"
When User clicks "ascending" order button
Then User list is order accordingly
When User clicks "descending" order button
Then User list is order accordingly

BUSTAM - 3129

Given User is signed in


When user clicks on Template Tab
THEN User view Following items:
- Total number of asset templates
- Sorting options
- Export option/Button
- Add Template button

When user select the template from the list


Then user view following items
- Manufacturer
- Model
- Description
- Cost code
- Template Name
- Asset group
Search Manufacturer Is not Working

BUTSAM-18152
https://jira.hilti.com/browse/BUTSAM-18033
18029

plugins/org.eclipse.equinox.launcher_1.5.100.v20180827-1352.jar

Error in worker regarding postal code

Feature: Add Label

Background:
Given Login into Application

@CloseBrowser @Regression
Scenario: BUTSAM17314 , BUSTAM13268 , BUSTAM15726- Verify CRUD operation for
Asset Label from Label List View Page
Given Asset Details page is displayed
When user clicks on "Administration" Tab on the header
When user clicks label option
Then user view add label button
And User sees the summary section with following details:
| number of items displayed |
| sort option |
| ascending option |
| descending option |
And User check Default sorting is applied on the basis of Label Name
When User click on "Sort by" drop down
Then Sort by drop down displays following options
| Label Name |
| Asset Count |
When User selects Label name under Sort by drop down
When User clicks on Ascending order
Then List will be loaded with Label Name in ascending order
When User clicks on Descending order
Then List will be loaded with Label Name in Descending order
When User click on "Sort by" drop down
When User selects Asset count under Sort by drop down
When User clicks on Ascending order
Then List will be loaded with Asset count in ascending order
When User clicks on Descending order
Then List will be loaded with Asset count in Descending order
When User clicks Add Label button
When user enters the fields
When user click add button on label page
Then label is added to the list
And User sees the list view page with a toast message "added successfully".
And user view newly added label is add to the list
@CloseBrowser @Regression
Scenario: BUTSAM15726 - Verify user is able to create a label from Label List
View
Given Asset Details page is displayed
When user clicks on "Administration" Tab on the header
When user clicks label option
When label page is displayed
Then user view add label button
When User clicks Add Label button
Then user view add label page
And Cancel and Add button will be displayed in disabled mode
When User search and select Label
Then Cancel and Add button will be in enabled mode
And User clicks on Cancel button
When User clicks Add Label button
When User search and select Label
And User clicks on Add button
Then label will be added.
And User sees the list view page with a toast message "added successfully".
And user view added label is add to the list
Then user check for the item count
Then User clicks on Cross icon
And check for the item count
And user compares the item count after and before search
And user view added label is add to the list
When User clicks Add Label button
Then User sees existing label with cross button
When User clicks on Cross, then label is removed from the asset
When User clicks Add Label button
Then User types any existing label
And User clicks on Add button
And user view toast "already exists"
When User clicks Add Label button
When user enter more than 64 chars label and enter comma
Then proper error message "Maximum of 64 characters allowed" should be shown
When user enter less than 1 chars label and presses Enter
Then proper error message "Minimum 3 and maximum 64 characters for each label"
should be shown
And User clicks on Cancel button
When user clicks added label
Then Edit and Delete icon are displayed
When User clicks on Edit icon
Then Box is displayed having selected label in edited mode
And Cancel and Rename button are displayed
When User edited the label with new label name
And User clicks on Rename button
Then Confirmation pop up is displayed with message "Are you sure you want to
rename label".
And User clicks on Yes button
Then label will be edited
And Label still associated with the Assets
And Confirmation message "Label was successfully renamed" is displayed
When User clicks on Edit icon
And User edited the label with existing label name
And User clicks on Rename button
Then Confirmation pop up is displayed with message "Are you sure you want to
rename label".
And User clicks on Yes button
Then Error message "Label Name already exists" is displayed
When User search the label
When user clicks added label
When User clicks on Delete icon
And Cancel and Delete button are displayed
Then Confirmation pop up displayed with message "Are you sure you want to
Delete label".
When User clicks on Delete icon
Then label will be deleted
And Label is delinked from Assets
And Confirmation message "Label was successfully deleted" is displayed

@CloseBrowser @Regression
Scenario: BUTSAM13768 -
Given Asset Details page is displayed
When user clicks on "Asset" Tab on the header
When user enter the empty data in non mandatory fields
Then user view the asset list
And user clicks on sorting option
Then user view filled data is on top
And unfilled data is in bottom

+HiltiAM3.0*100330112018

BUTSAM - 3158

GIVEN User logged in application


Then user selects "worker" tab
When user clicks on Add Worker
Then user will be allowed to select any role from the following
Administrator (Customer Admin)
Warehouse Manager
Foreman
Field Worker
Auditor
Everyone

And user selects the worker from the list


WHEN User clicks on edit option
And user changes the role
Then system changes the role
And user view new role updated when logs in

When user select himself


And click on edit options
And selects new role
Then user view a message "You can not change your own role"

When user selects last Customer Admin


AND Logged in user attempts to modify the role of last Customer Admin in the
application
And click on edit options
And selects new role
Then user view a message "You can not change your last customer admin's role"
When user selects worker
AND Logged in user is not a Customer Admin
And click on edit options
And selects customer admin
Then user view a message "You can not change customer admin's role"

#When User clicks on Any Label


#When User clicks on Edit icon
#And User edited the label with existing label name
#And User clicks on Rename button
#Then Confirmation pop up is displayed with message "Are you sure you want to
rename label".
#And User clicks on Yes button
#Then Error message "One or more label(s) already existed" is displayed
And Label is delinked from Assets

#Then Google Maps are displayed


#And Search Address bar is displayed
#And Two buttons are displayed
#| Map |
#| Satellite |
#When User hovers over the Map button
#Then Terrain Popup is displayed
#And Zoom in Zoom Out Buttons are displayed
#And Switch to full screen size Map is displayed
#And User can hover and drop a pin on the Google Map
#And User can search a Location in the Search Address bar
#Then Auto-suggestions are displayed
#And searched results are displayed on the map

Você também pode gostar