Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the responsive-lightbox domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
Debugging in UFT

Debugging

Debugging is very essentials for any programming. To catch the error and its cause or traversing through the code to verify the values etc., debugging plays a important role.

we can insert the breakpoint, where error is suspected and start debugging program from that point.

We have following ways of debugging.

1. Step into(F11): In debug mode, ‘Step into’ goes line by line. If there is any function on line, It will enter the function and start debugging function line by line.

2. Step Out(Shift+F11): After step into, if it enters function and we press ‘step out’ or Shift+F11, then the code will be executed till the end of the function.Control will returns to the next line of the calling code.

3. Step Over(F10): It will also execute line by line, but if any line contains function calling. Then, the whole function will be executed and control will be returned to the next line of the calling code.

Note: Note:
We have a good feature in UFT is that we can debug or run the program from any step of the script. We just need to right click on the line of code and select options like ‘Debug from step’ or ‘Run from Step’.
Avatar photo

Shekhar Sharma

Shekhar Sharma is founder of testingpool.com. This website is his window to the world. He believes that ,"Knowledge increases by sharing but not by saving".

You may also like...