Micro Focus QTP (UFT) Forums
QTP Error Handling - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: QTP Error Handling (/Thread-QTP-Error-Handling)



QTP Error Handling - rocky9 - 06-05-2015

1. If you are using function library in script but ,you forget to load the function library into script so the script failed, How can you handle this problem without stopping the execution of Script.


2. How to skip blank cells in excel during script execution.If some of the cells are blank then skip that cell and continue.


Please help me in these questions.


RE: QTP Error Handling - babu123 - 06-05-2015

1) u cant add the function library without stopping
2) U can use a if function
if datatable.cell<>"" then
step to perform.
end if


RE: QTP Error Handling - rocky9 - 06-06-2015

Thanks babu123 for reply

In a interview the interviewer asked this question (adding function library during execution), and I said we cant add during execution but if function lib not found then we can handle it using if condition it code before it executes. But the interviewer told there are some ways for doing this without stopping the code execution.