Relevant for: GUI tests and scripted GUI components and business process tests
What is the Analog Recording Settings dialog box? This dialog box enables you to select whether UFT records mouse movements or keyboard input relative to the coordinates of your screen, or relative to the coordinates of the specified window.
When should you use the Analog Recording settings dialog box? Use this dialog box to instruct UFT precisely how to record using analog recording mode.
The Record relative to the screen option records any mouse movement or keyboard input relative to the coordinates of your screen, and disregards any open applications and any applications specified in the Record and Run Settings dialog box.
Select this option if you perform your analog operations on objects located within more than one window, or if the window itself may move while you are recording your analog operations.
The Record relative to the following window option records any mouse movement or keyboard input relative to the coordinates of the specified window.
Select this option if all your operations are performed on objects within the same window and that window does not move during analog recording. This helps ensure that the test or scripted component will run the analog steps in the correct position within the window even if the window's screen location changes after recording.
- You can switch to analog recording mode only while recording. The option is not available while editing.
- When you record in analog recording mode relative to the screen, the run session will fail if you change the screen resolution or the screen location after recording.
- The analog tracking continues to record the movement of the mouse until you drag the mouse to the UFT window (for example, when you want to turn off analog recording or to stop recording). Clicking on the UFT icon in the Windows taskbar is also recorded. This should not affect your run session. The mouse movements and clicks on the UFT screen itself are not recorded.
- If you have selected to record in analog recording mode relative to a window, any operation performed outside the specified window is not recorded while in analog recording mode.