View Canvas provides functionality necessary to interact with a Contexts' View. Various use cases are accomplished on the Canvas related to the visual elements of the test application. View Canvas is accessible either from the Context detail page or from the logic editor screen of the Action.
When you hover on the canvas, rectangular areas are drawn identifying the closely enclosing element in the view for the current position of cursor. When you right click in a given area, subsequent actions are tied to that element.
Context menu operations
Following operations are available from the context menu of an element in view canvas (right-click)
- Select an operation to perform on the element (logic editor only)
- Create Bulk Statement (logic editor only)
- Add element to Repository or Edit the element, if already in the repository
- Reconcile an existing element with this element on the View
Selecting an overlapping element
In some cases, multiple elements in the View may be in such close proximity, that they may all appear to belong to the same rectangular area. accelQ indicates such occurrences with an icon in the top right corner (header) of the context menu.
By default, accelQ ties the rectangular area to one of the more prominent elements. If you need to view the list of all such overlapping elements or make a different selection, click on the icon in the context menu header. If you make a selection from this option, all subsequent operations from the context menu become applicable to the newly selected element.
This is a special situation of overlapping elements. In cases where accelQ cannot make an automatic determination of prominence of multiple overlapping elements, it is left as an ambiguous element. None of the elements in the rectangular area are selected by default. The moment you right click such a rectangular space, an element selection screen is presented instead of showing the context menu. Once a selection is completed on the screen, context menu pops up automatically.