Contributions
Re: QtObject Application Crashes When Running Scripts From TestComplete
We have application R , this script is written simply to launch it and detect initial UI objects: function LaunchR() { Log.Message("In LaunchR"); // if DP already is running, do not proceed var p = NameMapping.Sys.WaitProcess("Register360", 0); if (p.Exists) { Log.Message("looks like Register360 is already running. Exiting..."); return; } // make sure Register360.exe exists if (!aqFile.Exists(TestedApps.Items("Register360").FullFileName)) { Log.Message("Register360.exe is not found at default TestedApps location...calling FindRegister360ExecutablePath..."); TestedApps.Items("Register360").Path = FindRegister360ExecutablePath(); // check it again if (!aqFile.Exists(TestedApps.Items("Register360").FullFileName)) Runner.Halt("Cannot find Register360.exe!"); } TestedApps.Register360.Run(); aqUtils.Delay(3000); // get license dialog var licenseDlg = Aliases.Register360.WaitQtObject("QProgressDialog",-1,2000); while(licenseDlg.Exists) { Log.Message("Checking license dailog..."); aqUtils.Delay(2000); } // unable to located license server page var licensedlg=Aliases.Register360.WaitQtObject("LicenseMgrConfigDlg",-1,2000); if(licensedlg.Exists) { Log.Warning("Unable to locate license server, check settings! "); Log.Picture(licensedlg.Picture(),'maybe a license problem'); Runner.Stop(); } // look for start page var ProjectSelector = Aliases.Register360.WaitQtObject("ProjectSelectorWidgetRUBase",-1,2000); if (!ProjectSelector.Exists) { Log.Picture( Sys.Desktop.Picture(), 'error pic' ); Log.Error('Failed to find Project Selector'); } aqUtils.Delay(5000); Log.Message("Out LaunchRegister360"); } Currently it always crashes at line : // look for start page var ProjectSelector = Aliases.Register360.WaitQtObject("ProjectSelectorWidgetRUBase",-1,2000); In rare case, when it did not crash out application, it cannot recognize this UI 'ProjectSelectorWidgetRUBase' , which is the following window: Hope this is helpful1.3KViews0likes0CommentsQtObject Application Crashes When Running Scripts From TestComplete
Hi , We have a desktop application written in C++ which is made of QtObject, and currently I have created some scripts for testing, however when I run the script from TestComplete, the application will crash , I have searched for solution all over the place but I found nothing helpful, can you help me ?1.3KViews0likes4CommentsRe: Getting exception while trying to read PDF file using pdfbox dll
Hi HKosova, Thank you for your answer, it helped me a lot. I find that the text got from PDFStripper . getText() is not actually in any order, if I want to read line by line, what I should do ? Can you give me any hint ?:womanhappy:741Views0likes0CommentsRe: eclipse plugin wadl2java
Hey smcclenahan, can you tell me how can I set up wadl2java snapshot ? In the sample project from http://www.soapui.org, I don't see where I can find the directory to put in global tools wadl2java path ? Any hint9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes0Comments