how can we handle exceptional handling in qtp
Answer Posted / denis parker
Scripting related exceptions can be handled in two ways:
1. On Error Resume Next - To Suppress error and proceed the script execution
2. On Error GoTo 0 - To express (or prompt) the error and proceed or stop the script execution based on user selections in the error prompting message box.
Generic Application (outside the scripting)related exceptions can be handled in more ways (but listed here 3 ways):
1. Recovery Scenario
2. Conditional Statements
3. Using "Exist" method
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how Selenium is different from UFT?
How to write business scripts using object repository with different scenarios
What is different command used in command Prompt while using QTP?
tell me abt a time when u had to go above &beyind the call of duty to get the job done
Did QTP prove efficient for your project? Yes or No, explain?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
What is smart identification in QTP?
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
Explain the new feature of UFT regarding the export of test results?
What are the different attribute used with regular expression?
what is test scheduleling?
How many add-ins comes by default with quicktest professional (qtp)?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.