After developing an application, it is not always possible to carry out application tests with real user accounts or acquire user accounts of all user roles for the test.
Simulation Account Management can duplicate existing user accounts into dummy accounts. App developer or app tester can then perform application tests with the dummy accounts, to simulate running the app as if by real users and their respective user roles and permissions.
Nature
Accounts created for real users to access DragOnce and run apps in it.
Dummy accounts are used to simulate existing user accounts for application testing purposes in the Developing and Testing environments.
Usage
In DragOnce, a user account can actively perform any operations allowed by their User Type and permissions.
In Simulation Mode for application tests, dummy accounts can only be passively utilized and do not have active functionality like regular user accounts.
Logging
The actions performed by the dummy account won't be considered actions taken by the actual user account.
The actions performed by the user account will not be considered actions taken by the simulation account.
Password Setting
The password is specific to the user account only. Changing the user account's password will not affect the password of the corresponding simulation account.
The password is specific to the stimulation account only. Changing the stimulation account's password will not affect the password of the corresponding user account.
System Email Delivery
System emails generated by actions taken using a user account will be sent to the email address specified in the Admin Panel under User List > User Account Profile > Contact Email field.
System emails generated by actions taken using a user account will be sent to the email address specified in Simulation Account List > Simulation Account Profile > Testing Email field.
In Developing and Testing environments, app testers can utilize simulation accounts in application tests on both web and mobile platforms.
Information !
If There are three kinds of environment in DragOnce, serving different purposes:
1) Developing (green banner) for creating and editing apps
2) Testing (yellow banner) for deploying an app for user’s tests
3) Production (turquoise banner) for deployment of app for user to run
Simulation Account List is only accessible in Developing and Testing Environments.
Below is a demonstration of how to access simulation accounts on each platform.
In the web application, mouse over at the top right corner and click Add Simulation
Account.
Login with a simulation account set up in Simulation Account List e.g. Peter Yeung.
You can go to the section ‘How to Configure?’ below for more information on how to prepare the simulation account list.
Once logged in, the app will switch to simulation mode, and the user being simulated will be indicated at the top right corner of the screen.
Mouse over the simulation icon to expand the account list to add more simulation accounts (up to a maximum of 8 accounts)..
..or switch between different simulation accounts to test as different users/user roles.
To turn off simulation mode, click on the handle button from ‘On’ to ‘Off’, and the “Simulating:” indicator will disappear.
To remove a simulation account, press the ‘Cross’ button after the account name.
Switched off simulation mode will resume operation in the app with the user account logged in DragOnce.
Tap the radio button in front of an account name to activate that account. At most *eight* simulation accounts can be added into the app.
Click the ‘Add Account’ icon and log in with a simulation account.
Logged-in simulation account(s) will be available for selection. The name of the simulating user will be displayed on the top banner for reference.
Tap the radio button in front of an account name to activate that account. At most *eight* simulation accounts can be added into the app.
Uncheck all accounts will switch off simulation mode, and resume operation in the app with the user account logged in DragOnce.
Click on the account name and hold it will pop up a Remove option. Tap Remove to remove that account from the list.
To set up simulation accounts, the system must first have a user account(s) for duplication.
You can find more information on how to prepare the user account by clicking the link below:
After logging in, at the top left of the Launch Board menu bar, mouse over App Management and click Developing to enter Developing Environment.
Information !
If There are three kinds of environment in DragOnce, serving different purposes:
1) Developing (green banner) for creating and editing apps
2) Testing (yellow banner) for deploying an app for user’s tests
3) Production (turquoise banner) for deployment of app for user to run
Simulation Account List is only accessible in Developing and Testing Environments.
Click on the ‘Simulation Accounts’ icon to open the Simulation Account List.
In the Simulation Account List, click the Link button to open the Picker window.
The picker window lists out user accounts in the system for setting up simulation accounts.
Select the user account and click Apply at the bottom right.
In the system message for confirmation to add the user as a simulation account, click "confirm 確定".
The selected user account will be added to the Simulation Account List.
Mouse over a user account and click the Settings button to edit the account profile (we use ‘Peter Yeung’ account as an example below).
Click the ‘Submit’ button to confirm the changes.
Simulation Account, User Name
The Account info is borrowed from the source account. The email in the Simulation Account field will be the login ID for this simulation account.
Reassign Password, Confirm Password
When resetting the login password for this simulation account, the password cannot be left empty. However, there are no other rules or limitations on how to set the new password.
Testing Email
The email address provided will be used to receive system emails sent by applications in DragOnce to this simulation account (optional but highly recommended).
Answer: While the content of system emails always address to the user the simulation account is simulating, the emails will be sent to the email address in Testing Email field only.
A common practice is to enter the email account of app teaser into the Testing Email fields of all simulation accounts utilized in the test, to let the tester receive emails for all user/ roles and verify.
Answer: Simulation account is an account on its own, in which its settings and actions are completely isolated from its source account.
It is actually recommended that a simulation account should not use the same login password and its source account for security reasons.
Answer: Should the Testing Email field of a simulation account be left empty, no email will be generated by any actions performed by that simulation account.
Information !
If have to remove a simulation account, there are two ways to achieve:
1) Mouse over the name of a Simulation Account, and click the Unlink button at the end, and confirm in the system message.
2) Check the box in front of the name of the simulation account, and click the Unlink button next to the Simulation Account List title, and confirm in the system message. This method can remove multiple accounts at a time.
After going through this tutorial, you should have picked up the knowledge and skills in the basic concept of simulation accounts on:
How to create and manage simulation accounts in Simulation Account List
How to utilize simulation account in web application tests
How to utilize simulation account in mobile application tests
Upon completion of all tasks, you have created
Simulation accounts for Employee user Peter Yeung and Manager user Sylvia Ma
Now you are ready to proceed to the other tutorials to build your first app in DragOnce!