1.

What are the different types of recording modes available in UFT? Is it possible to change between Recording modes while creating a Test?

Answer»

Following are the different types of recording modes available in UFT: 

  • Context-Sensitive Recording MODE: Context-Sensitive Mode is another name for regular recording mode. It's the default recording mode, and it makes the most of Quick Test Professional's test object MODEL. It recognises things in the app no matter where they are on the screen. It keeps track of the objects in your programme and the operations you make on them.
  • Analog Recording Mode: Quick Test Professional records and tracks every movement of the mouse as you drag it around a screen or window in analogue recording mode. Analog recordings made by UFT are saved as Tracks in your test directory. It's handy for capturing operations that can't be captured at the object LEVEL. For instance, a signature is created by dragging the mouse. You may record in analogue mode in the following ways:
    • In relation to the screen - Use the screen option when your analogue operation involves many screens, such as dragging and dropping an object from one window to another.
    • In relation to the window - Use relative to a window when your analogue operation is limited to a single window.
  • Low-Level Mode: This mode allows you to record any object in your application, regardless of whether QTP recognises the object or operation. All run-time objects are recorded as Window or WinObject test objects in this mode, which records at the object level. It's utilised when you need to know the exact coordinates of an object for your tests. Hashmaps are a nice example, where clicking different portions of a picture lead to different URLs. This mode of recording is used when recording tests are done in an environment that QTP does not recognise. The x,y coordinates of any clicks are recorded in low-level mode. 
    Analog and low-level recording use up more disk space than standard recording. Screen positions during recording and playback MUST be SIMILAR in both modes, or the script will fail. As a result, only use analog or low-level recording when the regular recording mode fails to adequately capture your operation. When recording objects or surroundings that QTP does not support, QTP will occasionally convert to low-level mode.

Yes, we can switch to Analog/Low-level mode in the middle of a recording, accomplish the task at hand, and then return to conventional recording. The Analog mode switch is only available when recording, not while editing.



Discussion

No Comment Found