{"id":899,"date":"2022-12-04T12:33:05","date_gmt":"2022-12-04T12:33:05","guid":{"rendered":"https:\/\/www.softwaretestingstuff.com\/?p=899"},"modified":"2023-03-07T12:02:01","modified_gmt":"2023-03-07T12:02:01","slug":"handling-run-errors-in-qtp","status":"publish","type":"post","link":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html","title":{"rendered":"Handling Run Errors in QTP"},"content":{"rendered":"\n

There are two types of Run Error message boxes that can be displayed during a run session in QTP. One is displayed if the problem is a pure VBScript syntax error. When a syntax run error message box is displayed, click OK in the message box and address the error in your step.<\/p>\n\n\n\n

<\/a>The other message box can be displayed in a number of situations. It offers information about the error and a number of buttons for dealing with errors encountered:<\/p>\n\n\n\n

Stop:<\/strong> Stops the run session. The run results are displayed if QTP is configured to show run results after the run.<\/p>\n\n\n\n

Retry: <\/strong>QTP attempts to perform the step again. If the step succeeds, the run continues.<\/p>\n\n\n\n

Skip: <\/strong>QTP skips the step that caused the error, and continues the run from the next step.<\/p>\n\n\n\n

Debug: <\/strong>QTPsuspends the run, enabling you to debug the test and any associated function library that contains a function called by the test. You can perform any of the debugging operations described in this section. After debugging, you can continue the run session from the step where the test or function library stopped, or you can use the step commands to control the remainder of the run session.<\/p>\n\n\n\n

Help:<\/strong> Opens the QTP troubleshooting Help for the displayed error message. After you review the Help topic, you can select another button in the error message box.<\/p>\n\n\n\n

The message box also recommends that you consider using Maintenance Mode if you think the error is due to intentional changes in your application and requires that you update multiple steps in your test or objects in your repository.<\/p>\n","protected":false},"excerpt":{"rendered":"

There are two types of Run Error message boxes that can be displayed during a run session in QTP. One is displayed if the problem is a pure VBScript syntax error. When a syntax run error message box is displayed, click OK in the message box and address the error in your step. The other […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[14],"tags":[],"table_tags":[],"class_list":["post-899","post","type-post","status-publish","format-standard","hentry","category-software-testing-certification"],"yoast_head":"\nHandling Run Errors in QTP - Software Testing Stuff<\/title>\n<meta name=\"description\" content=\"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Handling Run Errors in QTP - Software Testing Stuff\" \/>\n<meta property=\"og:description\" content=\"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\" \/>\n<meta property=\"og:site_name\" content=\"Software Testing Stuff\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/tdipto\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-04T12:33:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-07T12:02:01+00:00\" \/>\n<meta name=\"author\" content=\"Rahnuma Tasnim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tanvir@softwaretestingstuff.com\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rahnuma Tasnim\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\"},\"author\":{\"name\":\"Rahnuma Tasnim\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/89d98848f9f47c2c4397c8b6b05c739b\"},\"headline\":\"Handling Run Errors in QTP\",\"datePublished\":\"2022-12-04T12:33:05+00:00\",\"dateModified\":\"2023-03-07T12:02:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\"},\"wordCount\":278,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#organization\"},\"articleSection\":[\"Software Testing Certification\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\",\"url\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\",\"name\":\"Handling Run Errors in QTP - Software Testing Stuff\",\"isPartOf\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#website\"},\"datePublished\":\"2022-12-04T12:33:05+00:00\",\"dateModified\":\"2023-03-07T12:02:01+00:00\",\"description\":\"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.softwaretestingstuff.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Handling Run Errors in QTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#website\",\"url\":\"https:\/\/www.softwaretestingstuff.com\/\",\"name\":\"Software Testing Stuff\",\"description\":\"Unlock the power of efficient testing and elevate your testing game\",\"publisher\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.softwaretestingstuff.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#organization\",\"name\":\"Software Testing Stuff\",\"url\":\"https:\/\/www.softwaretestingstuff.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.softwaretestingstuff.com\/wp-content\/uploads\/2022\/12\/logo-sts.png\",\"contentUrl\":\"https:\/\/www.softwaretestingstuff.com\/wp-content\/uploads\/2022\/12\/logo-sts.png\",\"width\":3268,\"height\":455,\"caption\":\"Software Testing Stuff\"},\"image\":{\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/89d98848f9f47c2c4397c8b6b05c739b\",\"name\":\"Rahnuma Tasnim\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/41c8421a46bfdc7a8c3777359a8ce20e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/41c8421a46bfdc7a8c3777359a8ce20e?s=96&d=mm&r=g\",\"caption\":\"Rahnuma Tasnim\"},\"description\":\"Rahnuma is a technical content writer at software testing stuff. A software engineer by degree and a dynamic content creator by passion, she brings to table over 3 years of writing experience in tech niche. Combining her enthusiasm for writing and technology, she loves to share her thoughts on the latest tech trends.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/rahnuma-tasnim-770402216\/\",\"https:\/\/www.facebook.com\/tdipto\",\"https:\/\/x.com\/tanvir@softwaretestingstuff.com\"],\"url\":\"https:\/\/www.softwaretestingstuff.com\/author\/tanvirsoftwaretestingstuff-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Handling Run Errors in QTP - Software Testing Stuff","description":"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html","og_locale":"en_US","og_type":"article","og_title":"Handling Run Errors in QTP - Software Testing Stuff","og_description":"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.","og_url":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html","og_site_name":"Software Testing Stuff","article_author":"https:\/\/www.facebook.com\/tdipto","article_published_time":"2022-12-04T12:33:05+00:00","article_modified_time":"2023-03-07T12:02:01+00:00","author":"Rahnuma Tasnim","twitter_card":"summary_large_image","twitter_creator":"@tanvir@softwaretestingstuff.com","twitter_misc":{"Written by":"Rahnuma Tasnim","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#article","isPartOf":{"@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html"},"author":{"name":"Rahnuma Tasnim","@id":"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/89d98848f9f47c2c4397c8b6b05c739b"},"headline":"Handling Run Errors in QTP","datePublished":"2022-12-04T12:33:05+00:00","dateModified":"2023-03-07T12:02:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html"},"wordCount":278,"commentCount":0,"publisher":{"@id":"https:\/\/www.softwaretestingstuff.com\/#organization"},"articleSection":["Software Testing Certification"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html","url":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html","name":"Handling Run Errors in QTP - Software Testing Stuff","isPartOf":{"@id":"https:\/\/www.softwaretestingstuff.com\/#website"},"datePublished":"2022-12-04T12:33:05+00:00","dateModified":"2023-03-07T12:02:01+00:00","description":"Don't let QTP run errors ruin your testing game. Learn how to handle them like a pro with our comprehensive guide.","breadcrumb":{"@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.softwaretestingstuff.com\/2009\/08\/handling-run-errors-in-qtp.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.softwaretestingstuff.com\/"},{"@type":"ListItem","position":2,"name":"Handling Run Errors in QTP"}]},{"@type":"WebSite","@id":"https:\/\/www.softwaretestingstuff.com\/#website","url":"https:\/\/www.softwaretestingstuff.com\/","name":"Software Testing Stuff","description":"Unlock the power of efficient testing and elevate your testing game","publisher":{"@id":"https:\/\/www.softwaretestingstuff.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.softwaretestingstuff.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.softwaretestingstuff.com\/#organization","name":"Software Testing Stuff","url":"https:\/\/www.softwaretestingstuff.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.softwaretestingstuff.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.softwaretestingstuff.com\/wp-content\/uploads\/2022\/12\/logo-sts.png","contentUrl":"https:\/\/www.softwaretestingstuff.com\/wp-content\/uploads\/2022\/12\/logo-sts.png","width":3268,"height":455,"caption":"Software Testing Stuff"},"image":{"@id":"https:\/\/www.softwaretestingstuff.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/89d98848f9f47c2c4397c8b6b05c739b","name":"Rahnuma Tasnim","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.softwaretestingstuff.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/41c8421a46bfdc7a8c3777359a8ce20e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/41c8421a46bfdc7a8c3777359a8ce20e?s=96&d=mm&r=g","caption":"Rahnuma Tasnim"},"description":"Rahnuma is a technical content writer at software testing stuff. A software engineer by degree and a dynamic content creator by passion, she brings to table over 3 years of writing experience in tech niche. Combining her enthusiasm for writing and technology, she loves to share her thoughts on the latest tech trends.","sameAs":["https:\/\/www.linkedin.com\/in\/rahnuma-tasnim-770402216\/","https:\/\/www.facebook.com\/tdipto","https:\/\/x.com\/tanvir@softwaretestingstuff.com"],"url":"https:\/\/www.softwaretestingstuff.com\/author\/tanvirsoftwaretestingstuff-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/posts\/899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":0,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/tags?post=899"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.softwaretestingstuff.com\/wp-json\/wp\/v2\/table_tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}