Contributions
Re: MHT files can't be opened in IE9!
hi there, is there any chance those mht files will be made viewable by anything other than IE ? i have not found any way of viewing them on a non-windows system, e.g with firefox and add-ons like unmht or "mozilla archive format", with opera, google chrome, chromium.... the closest i got was installing "mozilla archive format" with firefox, but there it only displays the navigation menu on the left, but the actual keyword logs panel to the right just shows a "Loading..." message, but never loading anything. since we use those mht files a lot and depend on them being viewed on any system, please advise what other solutions there are. thanks and best regards martin4.4KViews0likes0CommentsRe: How to catch Windows dialog of 'App Not Responding' and handle appropriately?
hi Jared, thanks for your response. the use case for me would be exactly as was stated by the original post: i.e. to be able to parse the current log for messages of tested apps that are not responding anymore and be able to kill them explicitly or simply stop the execution of the current test. you write: As for OnLogError, I'm not quite sure why you would need to parse the entire log in its handler because all the information on the error currently posted is available there, and it allows you to process all errors as they occur without missing them. exactly that would be my question: HOW do i access/parse the text of the currently written log error ? actually, i don't want to read the entire log, only the current log item that led to the error. is there a way/command to do that ? it's just that sometimes an application returns a specific window with an error that i would like to catch and handle differently than all the rest. e.g. write something into a file when this happens etc. thanks & best regards martin2.3KViews0likes0CommentsRe: Is there a way to delete the log summary automatically after each run
hi there, we are using testcomplete/testexecute for automatic scheduled testing. there are occasions where a test hangs and needs to be killed by our scheduler. this leaves behind old logs in the log directory, which are then never deleted, even if setting the number of logs to keep to zero. would it be possible to somehow convince testexecute to really keep only the last say 5 or 50 logs in the logs directory and not only those it knows about ? thanks and best regards martin1.8KViews0likes0CommentsRe: How to catch Windows dialog of 'App Not Responding' and handle appropriately?
hi Jared, you write: By using Freeze Diagnostics, you can catch the error it posts to the log when the tested application hangs. Create a handler for the OnLogError event and process the message Freeze Diagnostics posts there (see the "About Events and Event Handling" and "OnLogError Event" help topics). question: is the only way to access currently posted logs by first exporting them ? i have tried over and over accessing the current log with constructs like these: Set LogItem = Project.Logs.LogItem(0) Set LogData = LogItem.Data(0) Set Row = LogData.Rows(0) ... this is your description of handling current logs: Get current log items since i want to parse the current log from the OnLogError routine, this seems like very much overhead, exporting the log at each error. is there no other way ? thanks and best regards martin2.3KViews0likes0CommentsRe: IE Process not visible in Object Browser
Hi Irina, unfortunately, this issue has been occuring every now and then, still not reproducible though. i have here an example, where an application called EventoNG, that was definitely started by testcomplete, suddenly cannot be "seen" anymore by testcomplete, neither in the object browser, nor with the object spy functionailty. even though windows taskmanager clearly shows the process is running and even has the same user permissions as testomplete itself, it doesn't even show up when activating "show system processes". in my opinion this screenshot is very clearly showing, that testcomplete sees a different set ob processes than windows itself. how can this be ? do you recall any other cases where this behaviour was solved ? we're running the latest and greatest testcomplete version. i would rather not like to convert my keyword tests to scripts, since this problem cannot be reproduced willfully, and we would like to keep them as keyword tests, except if there's no other way to solve this. do i need to open a new ticket under our customer's account, since this forum log is rather old ? thank you and best regards martin polak1.5KViews0likes0CommentsFlash Objects only visible when opening the swf from RuntimeLoader.swf directly
hello, i have now tried the runtime loader method (with normal flash player) and the Flashinjector method (with the debug version of the Adobe Flash Player web browser plug-in), but i've never managed to actually see any of the Fx objects in Object Browser or Object Spy. the only way i was able to see all the flash objects in my swf was by opening the RuntimeLoader.swf page directly with IE8 and then selecting the swf file from there. but using http://webservername/RuntimeLoader.html?url=file.swf&useNetwork=true" never allowed me to see objects. i've reduced IE security settings to minimum, read & implemented all prerequisites that i found in your manual (used the loader with local & network mode, tried to ), but still no luck. and yes, the runtimeloader html & swf were always in the same directory as the swf files themselves. also, i've tried this from local filesystem and with all files put on my remote webserver. no difference. firefox 3.6.18 simply crashed when i opened runtimeloader.html is there anything special to configure in browser settings apart from the security settings, or should i try another IE version ? IE8 should be supported according to your manual. what can be the reason that it works directly with runtimeloader.swf but not with runtimeloader.html ? i've also stumbled across this page: http://smartbear.com/support/viewarticle/19977/ question: where would the errors appear that are listed there ? in the error log ? when i run the swf file from runtimeloader.html from a test ("run tested app") there is no log output, even if it does open the requested swf file with runtimeloader.html. thank you for any input on this. best regards martin7.8KViews0likes1CommentRe: IE Process not visible in Object Browser
Hi Irina, thanks a lot for your input. yes, terminating the System Idle Process is bound to produce such an error message, that could not have worked. I'm not sure if I this always applied since I've setup the test several times, I would have thought it was correct at least before I made the screenshot. I've fixed this now. However, I haven't managed to reproduce the problem since so i can't tell if the original problem will reappear. But even though the statement was wrong I should have seen the iexplore process in object browser, which I definitely couldn't. I will keep on running the tests and let you know in case it reappears. Thanks anyway, best regards martin1.5KViews0likes0CommentsIE Process not visible in Object Browser
hi there, we're evaluating testcomplete with version 8.5. when running a keyword test remotely, sometimes it will happen that an IE8 iexplore process will remain running, even though i am doing a terminate on all iexplore processes at the end of the test. the test also has a first statement to terminate all pre-existing iexplore processes before anything else and the next time it starts it throws an exception in the log: "Cannot terminate the selected process. It is a system process, and it cannot be terminated. It is a system process, and it cannot be terminated" Testcomplete is opening these IE Windows in the keyword test, so the iexplore processes are run using the same (non-admin) user as testcomplete runs under. I can sometimes even see the IE8 window still open and i see the iexplore process in taskmanager, but i don't see the iexplore process in the object browser, even with no filters on, and showing also system and all user's processes. also i'm not able to select any part of the open IE window with object spy. it simply lacks permissions on it, even though it's running under the same user and the window has been created by a previous run of testcomplete under the same user account. any ideas ? i wouldn't want to run testcomplete as administrator, don't see why this should be required for my purposes. haven't tried with uac turned off yet, though. thanks a lot for any input on this best regards martin17KViews0likes4Comments