Contributions
Black screen with distributed testing
Hi, I`m sometimes encounteringa problem with distributed testing and wanted to know if someone knows this problem too or why this could happen: We are using the distributed testing functionality of TC a lot and sometimes over a longer period of playback, for example at a regression playback of several hours over night, the window in the NetworkSuite tab of TestComplete where you can follow the playback at the remote PC becomes completely black and the test doesn`t go on with playback. But TC still says that the test is running. In the morning when Istop the test manually I can see that TC hanged several hours in this state. This doesn`t happen often, so I can`t tell why this could happen. First I thought maybe someone logged into the remote PC but we tried that and the behaviour of TC is different when someone does that. The remote PC also wasn`t restarted as I can still see the tested application when I log into the remote PC myself. We are using TC 8.20, the remote PC has Win XP (One is a VM, another one is a physical PC), the PC where we start the distributed test has Win 7. Any ideas? Thanks Andreas9.8KViews0likes3CommentsRe: How to continue with test runs automatically in case of error dialogs?
Hi, I´m doing it this way: I have an event handler for the "OnLogError" event. In this script I`m first doing some things, for example logging out and closing the application, then I`m using this code: Runner.Stop(true) This stopsmy current test item and continues with the next one.1.5KViews0likes0CommentsRe: Unable to capture object on web page(Red Frame Issue)
Hi, I encountered the same problem with selecting objects on a webpage - sometimes it works, sometimes it doesn`t. I recognized that this happens when I do something on the webpage where a reload of the webpage follows, for example checking a checkbox - the webpage reloads and for example some other objects of the page become enabled or disabled. Then TestComplete doesn`t recognize the objects on the webpage anymore, just the whole page. The solution for me was to insert a Website.Refresh action after every such action where a reload follows (I use keyword tests: I selected the "On-Screen Action, selected the webpage from the name mapping and chose the "Refresh" action). I investigated it further and recognized that this ins`t just a TestComplete problem. I installed the IE Developer Toolbar and used the highlight function of this tool. It also wasn`t able to highlight the objects after a reload. Then I asked our developers and they told me that this maybe could happen because our webpages use IFrames and the IFrames could be the problem. The big problem I have withthe "Refresh"action of TestComplete is thatthese refreshestake quite a long time to play - my whole scripts become much slower with these refreshes (I have to use this action a lot as there are a lot of objects on my webpage where a relaod follows). My question is: Why takes that refresh so long to play? For example when I use the refresh of the IE Developer Toolbar this refresh takes some milliseconds - not several seconds like in TC. Several days ago we updated our TC to the newest version (8.20). With that version now it seems like that when I use the object spy to highlight some objects after a webpage reload the objects are highlightedand and the properties of the objects are displayed in the object spy correctly. SoI tried to remove the refreshes from my scripts to see if it might work now without thembut the scripts still stop to play and for example tell me that a disabled object can`t be clicked (I checked a checkbox which actually enabled the other object - TC still uses the property state of this object before I checked the checkbox - in the object spy the "Enabled" state of the object is displayed correctly).968Views0likes0CommentsStructure of Name Mapping
Hi guys, I`m starting my first TC-Project at the moment and I would like to ask you the following question about the name mapping feature: I will test webpages. The question is, do I actually need the whole structure of the hierarchyof the webpages in my name mapping tree? In my beginner-eyes I would say I just need the hierarchy to uniquely identify my GUI-Objects on a webpage (for example, when there are two identic objects I can`t differentiate with their attributes then I can use the hierarchy of the webpage). But I would say I can always differantiate my GUI-Objects of a certain webpage with their attributes. So would it be fine to just hang all my GUI-Objects directly under the webpage root knode of my name mapping tree and check the "Extended Find" checkbox? I think that would save us a lot of time in maintaining the name mapping and probably our not that technical users a lot of nerves... What do you think about that?15KViews0likes2Comments