Contributions
Share TestComplete project between projects?
Hi, we have a ProjectX that use TestComplete and I developped a lot of script util that could be used in an other project. But I can't find a way to share TestComplete project instead of copying everything. ProjectX use TCProjectSuiteX (with a TCProjectCore) ProjectY use TCProjectSuiteY (and I want the same TCProjectCore that ProjectX) But ProjectX doesn't know ProjectY. It's possible? I can't find a way to share script between TCProject.Solved1.3KViews0likes1CommentRandom deadlock with TestExecute
Since we started to run test with TestExecute on our build process, 10% of our build had random hang (our Win32 app freeze). I implemented a system to generate dump file from another process when that happen and I'm suprise to see that the problem doesn't come from our application but from TestExecute. (see callstack). I don't understand how I get a callstack from TestExecute in our program It's possible to get the pdb file for the dll or tell us a way to debug that? ntdll.dll!_NtReadFile@36() + 0x15 bytes ntdll.dll!_NtReadFile@36() + 0x15 bytes msdia90.dll!__read_nolock() + 0x203 bytes msdia90.dll!MSF_HB::readPnOffCb() + 0x66 bytes msdia90.dll!MSF_HB::internalReadStream() + 0xd8 bytes msdia90.dll!MSF_HB::ReadStream() + 0x41 bytes msdia90.dll!DBI1::fReadSymRecPage() + 0x100 bytes msdia90.dll!DBI1::fReadSymRec() + 0x63 bytes msdia90.dll!GSI1::psymForPhr() + 0x14 bytes msdia90.dll!GSI1::HashSym() + 0x77 bytes msdia90.dll!GSI1::HashSymW() + 0x8a bytes msdia90.dll!GetData::lookupNameInGlobals() + 0x150 bytes msdia90.dll!GetData::getGlobalMemberData() + 0x40 bytes msdia90.dll!GetData::getFunctionInfo() + 0x13 bytes msdia90.dll!GetData::getAllOneMethodData() + 0x33 bytes msdia90.dll!CFieldListTrav::get() + 0xff bytes msdia90.dll!CTypeTrav::get() + 0x3e bytes msdia90.dll!CTypeSearchTrav::next() + 0x39 bytes > msdia90.dll!CDiaEnumTraversal<CDiaEnumSymbols,CSymRow,IDiaSymbol,IDiaEnumSymbols,CDiaSymbol,CTraversal<CSymRow> >::Next() + 0x4a bytes aqNativeDbgReader.dll!22e3b81c() [Frames below may be incorrect and/or missing, no symbols loaded for aqNativeDbgReader.dll] aqNativeDbgReader.dll!22e3abe5() msdia90.dll!ObjSymBase::Release() + 0x27 bytes 00000002() aqNativeDbgReader.dll!22e0e701() aqNativeDbgReader.dll!22e0e701() msdia90.dll!ObjSymBase::Release() + 0x27 bytes 00000002() aqNativeDbgReader.dll!22e0e701() msdia90.dll!ObjSymBase::Release() + 0x27 bytesSolved1.4KViews0likes1CommentRe: Debug information doesn't always load
A Win32 app on Windows 7. We have the problem on TestComplete too but we just have to relaunch and it's ok. The biggest problem is with TestExecute since our build process depend on that and when the pdb doesn't load we have a "false failed test run". I just need some hint how to debug that, maybe a registry setting that enable full diagnostic log? Thanks!897Views0likes0CommentsDebug information doesn't always load
Hi, 10% of the time in our Test Run, TestExecute doesn't seem to load the debug information. And after 20min (our timeout) we get a "object does't not exist" in our first test. I don't know why but the message "Load debug information" never appear, it's always "Playback" It's totally random and I can't find what happen. It's possible to enable a debug mode with log in TestExecute? Thanks1.6KViews0likes2CommentsRe: Name mapping refresh problem
Our tests work fine with the id most of the time. Each action have it's ID. But we have a control that can change of ID base on the context. The problem is a refresh in the name mapping. The value are not supposed to change if I just remove and add it in the selected property1.8KViews0likes0CommentsName mapping refresh problem
Hi, we use a custom control to handle different action base on the context. Each control have a unique ID, but the name mapping doesn't seem to work correctly when we reuse a control. ex: Control1 in context X: ID 190014 Control1 in context Y: ID 30147 The problem is that, the name mapping always identify the object no matter if we are in context X or Y. And if I add remove/add field in the name mapping editor, the value change..Solved2.7KViews0likes4CommentsRe: Test that generate Test?
My current solution at the moment is to create automatically test items and create a temporary test complete solution. So it will be Test1_1, Test1_2, Test1_3, etc. But I need to create a custom tool to do that. The problem is that we can't maintain manually the test items because there's too many possibilities, that's why we need to instanciate (or generate) them. And we need a result for each of them2.1KViews0likes0Comments