The Architect is used to create test cases by moving through the site workflow. This solution removes the need for scripting in almost all cases. It creates fully functional cross-browser test suites. Like all systems that use machine learning, it works best when it has as much data as possible to process. It then uses data to interact with the UI successful at execution, resulting in easily built, robust test cases.
Simply stated: deploying Architect gives the user the capability of creating test cases with a few clicks of the mouse and limited technical experience.
To Access and Launch the Architect:
Once logged in, select he project to create the new test case in.
From the Functional Tests page, click on New Test then select Architect from the dropdown menu. *If the Architect option is missing, reach out to Functionize support to get it enabled.
The Create New Test window will display:
Enter or verify the starting URL.
Select the I understand... box.
Select the Start recording automatically if Architect should begin recording the application under test upon opening.
Configuration options There is typically no need to alter this section, but the user can make changes accordingly—simply select the down arrow to open and display the configuration options and make selections as needed.
Select Save Settings if it is desired to save the above credentials for future test creation.
Otherwise click Start to begin Architect test case recording.
Once the test is started, a new tab will open and redirect to the starting URL. Architect will appear in the top right corner of the browser window.
VIDEO ALERT! Please find a video tutorial on getting Started with Architect here >> How to Use Architect or continue below:
Click the Record button to deploy Architect and start recording.
*A box may pop open if any additional cookies need to be cleared before running the test scripts. If cookies or HML5 storage exist on the browser, Architect will prompt to clear some or all of the cookies. Make the choice that is appropriate for the test case, however, remember that if the cookies are kept the test will not have those cookies at executions unless specifically injecting the cookies into the test case as a custom action.
To clear cookies, select Delete All and Clear HTML Storage then select Continue. To run the Architect without clearing cookies, simply select Continue. After selecting Continue the page will refresh and launch the Architect.
NOTE: If it is preferred to always have cookies/data cleared before starting a new test, then go to Settings in Architect, and toggle "Always clear browsing data" to ON.
The page will refresh and Architect will then load the first action as a pageinit for the starting url.
Additionally, various buttons and controls will appear that allow the user to complete desired actions.
Verify: click the flag and click an element to verify it exists in its current state.
Hover: Hover actions are most often required when dropdown menus do not require a left-click to activate.
Plus icon: Access all advanced action types such as Navigate, Email, Wait, API, File Viewer, DB Explorer, and Page Variables.
Type instructions: Build test documentation by typing the instructions in the Architect.
Drag and Drop: After actions have been added, the order can be changed by dragging and dropping the actions and inline test documentation into the preferred order.
Save, stop, pause: Allows the test creation process to be stopped, started and controlled at a high level. Up arrow: At the top right side of the Architect is a small arrow that collapses the Architect to free up space.
Saving a Test Case in Architect
Once the test case is complete, the user can save the test case. To do so,
1. Click Save in Architect.
2. Save the Test Name, then click Continue.
3. The user will be routed back to the Functionize dashboard once the completed test case has been saved. Note: Project Details will pop up, asking the user to identify the test type. Please select Test Case or Page Object then click Submit.
Learn more about Architect Test Creation in this webinar.