Catastrophic Failure Error In Qtp
By Joe Colantonio / March 23, 2012 Tweet Share 0 Catastrophic Error! In Quality Center are you seeing intermittent ‘Catastrophic Errors' when running long BPT tests? If so this HP Hotfix might help. QTP_00826 I was asked about this hotfix in the comments of another post and rather than answer the question and have it get lost in the comments section I thought it would be better to make this a quick post. What's the issue? If this hotfix is not installed, and if you run a step that takes a really long time to run in QC, QC might throw a ‘catastrophic error'. The test will be marked as failed and QTP 9.5 will continue to run the test after the long step has finished. What's the fix? Hotfix QTP_00826 – ‘Prevent Failure of QuickTest Tests Run from Quality Center When a Single Step Takes a Long Time' ensures that QTP tests that are run from Quality Center do not fail when a single step takes a long time. Mic.ini file change required for this hotfix to work In order for this hotfix to work you also need to set or add the flag HandleLongTrans=1 under the [RemoteAgent] section in the mic.ini file. The mic.ini file is usually located under the Program Files\HP\QuickTest Professional\bin. Mic.ini file example: How to get HotFix QTP_00826 In general the recommend way to get a hotfix is to request it from HP support. You can also download it from http://www.joecolantonio.com/downloads Success! Now check your email to confirm your subscription to start receiving automation awesomeness. Fun fact: did you know that I also wrote a book on API testing called The UFT API Testing Manifesto (http://amzn.to/1yUql29) and I have a weekly podcast show called Test Talks (www.testtalks.com)? There was an error submitting your subscription. Please try again. Email FREE UPDATES 14 comments Bhushan - August 2, 2012 Hello, Would like to know if this issue is resolved in QTP 11. I am running into a similar issue where a report generation takes longer than 2 minutes and when running thru QC it fails. However, if I run the component directly from QTP, it works fine. I made the changes as mentioned in the post but was not able to install hotfix as I am on the higher version. Reply Leave a reply: Cancel Reply Name* Email* Website Comment Joe Colantonio - Augu
CalendarToday's Topics Sponsors: Lost Password? Home BetaSoft Blogs Jobs Training News Links Downloads You are not logged in. [Login] Main Index · Search · Active Topics New user · Who's Online · FAQ · Calendar Testing Tools >> HP Functional Testing / Mercury QuickTest Pro / QTP Previous Index Next Threaded Pages: 1 Nain Member Reged: 04/19/07 Posts: 72 Catastrophic Failure QTP #407138 - 08/15/07 01:00 PM Edit Reply Quote Quick Reply When using Browser close function I get Catastrophic failure. I suddenly started giving me this error. I executed the batch file for QTP to reset the configuration but no help.Browser("Google").closeI tried with https://www.joecolantonio.com/2012/03/23/qtp-bpt-how-to-fix-catastrophic-errors-in-qc-when-running-long-bpt-tests/ many other browsers but it throws the same error. Is there anything that I can do to fix this issues ?? Post Extras: IanFraser Super Member Reged: 07/11/04 Posts: 2112 Loc: Brisbane Re: Catastrophic Failure QTP [Re: Nain] #407139 - 08/15/07 01:03 PM Edit Reply Quote Quick Reply You need to provide a little more info. Just imagine you are filling in a defect report to http://www.sqaforums.com/showflat.php?Number=407138 the development team. --------------------You can buy my Art from: "Post Cards now available" Ian Fraser Landscape Photography World Wide Shipping. http://mowogman.wordpress.com/ Post Extras: TReddy Veteran Reged: 01/17/07 Posts: 2565 Loc: Pittsburgh, PA Re: Catastrophic Failure QTP [Re: Nain] #407143 - 08/15/07 01:10 PM Edit Reply Quote Quick Reply http://en.wikipedia.org/wiki/Catastrophic_failure Post Extras: Nain Member Reged: 04/19/07 Posts: 72 Re: Catastrophic Failure QTP [Re: TReddy] #407150 - 08/15/07 01:45 PM Edit Reply Quote Quick Reply Hi, I dont have anything else to say.. I am using this line in a New Test which doesn't have any references to any libraries..I just insert a step like the below for SQA Forums Browser and want to close.Browser("Software Quality Assurance").CloseThis throws me the error Catastrophic failure. The message is with a Red X. Nothing else is there on this pop up. Post Extras: IanFraser Super Member Reged: 07/11/04 Posts: 2112 Loc: Brisbane Re: Catastrophic Failure QTP [Re: Nain] #407158 - 08/15/07 02:06 PM Edit Reply Quote Quick Reply Quote:Hi, I dont have anything else to say.. Then I guess at this point I dont have anything to add. --------------------You can buy my Art from: "Post Cards now available" Ian Fraser Landsca
to database through QTP Results 1 to 2 of 2 Thread: Catastrophic Failure Error While connecting to database through QTP LinkBack LinkBack http://www.geekinterview.com/talk/17778-catastrophic-failure-error-while-connecting-database.html URL About LinkBacks Bookmark & Share Digg this Thread!Add Thread to del.icio.usBookmark in TechnoratiTweet this thread Thread Tools Show Printable Version Subscribe to this Thread… Display Linear http://www.dbforums.com/showthread.php?1626353-ADO-Catastrophic-error-when-opening-connection-as-Windows-service-on-Oracle-10 Mode Switch to Hybrid Mode Switch to Threaded Mode 05-17-2010 #1 aditya_12 Junior Member Join Date Aug 2009 Answers 1 Catastrophic Failure Error While connecting to database through QTP catastrophic failure Hi, I m trying to connect database through QTP but while making connection using ADODB object error is comming as 'Catastrophic failure'. I have checked the DSN and TNS.. Everything is fine.. but no idea why I am getting this error. Can anybody help. Thanks Aditya Reply With Quote 05-20-2010 #2 deepasree Expert Member Join Date Apr 2008 catastrophic failure error Answers 1,859 Re: Catastrophic Failure Error While connecting to database through QTP hi friend, Try the below code, Const adOpenStatic = 3 Const adLockOptimistic = 3 Set objConnection = CreateObject("ADODB.Connection") Set objRecordSet = CreateObject("ADODB.Recordset") objConnection.Open _ "Provider=SQLOLEDB;Data Source=N;" & _ "Trusted_Connection=Yes;Initial Catalog=C;" & _ "User ID=C;Password=C;" objRecordSet.Open "SELECT * FROM Us", _ objConnection, adOpenStatic, adLockOptimistic objRecordSet.MoveFirst MsgBox objRecordSet.RecordCount MsgBox objRecordSet("u") Thanks, Deepa Arise Awake And Stop Not Till The Goal Is Reached Reply With Quote « How QC and QTP are linked | Regular Expression » Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On [VIDEO] code is On HTML code is On Trackbacks are On Pingbacks are On Refbacks are On Forum Rules About us Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the positi
Oracle 10 If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 9 of 9 Thread: ADO Catastrophic error when opening connection as Windows service on Oracle 10 Tweet Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 01-15-08,06:38 #1 paolog View Profile View Forum Posts Registered User Join Date Jan 2008 Posts 5 Unanswered: ADO Catastrophic error when opening connection as Windows service on Oracle 10 Dear all, I am maintaining a Windows application that can run both from command line and as a Windows service. The application connects to an Oracle DB upon startup. When launching the application on an Oracle 9.2 or 8.1.7 client, everything goes well, both from command line and as a Windows service. When launching it from command line on Oracle 10, everything goes well. When launching it as a Windows service from a machine with Oracle 10 installed, I receive the following error when trying to open the connection: Error -2147418113: Catastrophic failure Executing the service as myself, instead of Local System, or allowing the service to interact with desktop, makes no difference. This code snippet illustrates the problem: Code: ofstream out("path-to-my-log-file.txt", ios_base::app); const char *s = "..."; // a valid connection string try { if(FAILED(::CoInitialize(NULL))) return; _ConnectionPtr _connection; _connection.CreateInstance(__uuidof(Connection)); out << "Opening " << s << endl; _connection->Open (s, "", "", adConnectUnspecified); // Windows service on Oracle 10 fails on Open() out << "Closing