Solution Explorer Pane
Solution Explorer
Pane, we need to first understand Solution
What is a Solution in UFT?
Solution
is a collection of testing documents. The testing documents can be function libraries, actions, object repositories. Solution in UFT provides you a way to view, edit and manage all your testing assets (GUI based or API based) from a single location. Solutions are stored in your file system in a HP proprietary format .ftsln
Solution
can be thought of as a binder where you can ‘bind’ or ‘keep’ all your testing assets together for an easy access. When you create a new Test in UFT, a Solution Untitled
is created automatically along with it. You can rename the Solution by right clicking on it > Save As…
New Solution
by going to File > New > New Solution…. What is Solution Explorer Pane in UFT?
Solution Explorer Pane
can be used to view and manage the Solution(s). Solution Explorer Pane comes up on the left hand side inside the UFT IDE as soon as you launch UFT.ToolBox Pane
Toolbox Pane
displays the test objects/library functions/local functions available to the action that is currently in focus. It enables you to view and drag and drop these objects/functions into your action or component. Available Keywords
pane in QTP 11 was renamed to ToolBox
in UFT 11.5. Document Pane
Document Pane
.Canvas Pane
Canvas Pane
provides a pictorial representation of GUI or API test flow. As can be seen in the image above – bordered blue – Canvas Pane
opens as a tab inside the Document Pane
. You can right click on the individual actions in the flow and access various settings related to that action.Canvas Pane
closed. It can improve UFT performance.Keyword View and Editor
Keyword View
enables you to view the action steps in a tabular excel-sheet-like format. Editor
is much more powerful and allows you to create/edit scripts , write logical statements in a more natural fashion. Almost all UFT engineers create and design their scripts in UFT Editor.With UFT 11.5 and above versions, this toggling is now available through the tool bar at the top. (as shown in animation below)
Output Pane
Output Pane
displays info that is set to be output from a given test. Output Pane is available below the Document Pane.- Shows you the output sent using
Print
utility statement. - Shows missing resources during a run session. As an example, if you are trying to load a function library during the run-time and for any reason, function library fails to load, Output Pane will show you the relevant details.
Active Screen Pane
Active Screen
in UFT.Active Screen Pane
can be seen below the Document Pane
and it is available as the 2nd tab after the Output Pane tab.Data Pane
Data Pane
is available as the 3rd tab, just after the Active Screen
tab.Debug Panes
Debug Pane
allows you to debug tests and functions libraries using debugging capabilities within UFT and VBScript. To use UFT debugger you should ensure that Microsoft Debugger
is installed in your machine. Since July 2016, Microsoft has removed MS Debugger from their servers. Until it comes back, follow this article on how to download and install MS debuggerView
-> Debug
- Breakpoints Pane: Shows all the breakpoints in the editor.
- Call Stack Pane: Shows detail about the methods and functions on the call stack. Test is in paused mode during this time.
- Local Variables Pane: It displays the values of variables and their types in the current action/function library.
- Console Pane: You can inject VB Script or C# code in the console to retrieve information from the application or change variable values during current run session.
- Watch Pane: It displays the values of selected variables and their types in the current action/function library. The difference between Local Pane and Watch Pane is that while in local variables you view the value of ALL variables, in the watch pane you can view value of variables selected by you.
Properties Pane
Properties pane
is available as a tag on the right side of IDE. It can also be accessed usingView
-> Properties
or a keyboard shortcut Ctrl + Alt + P
.- view/modify properties of a test
- make an action Reusable to Non-Reusable and vice versa
- add input/output parameter to a test.
Bookmarks Pane
Bookmarks Pane
can be accessed using View
> Bookmarks
. All bookmarks are neatly stacked in the Bookmarks Pane
. You can jump to any bookmark by clicking on the corresponding line in the Bookmarks Pane
.Errors Pane
Errors Pane
can be used to locate:- syntax errors
- missing resources
- missing references
- missing property values
View
–> Errors
or keyboard shortcut Ctrl+Alt+E
.Run Step Results Pane
Run Step Results Pane
displays the results of a single step performed using the Run Step command.Tasks Pane
Tasks Pane
enables you to view and access TODO comments in actions and function libraries.‘To Do
‘todo
‘to-do
‘TODO