Contributions
WPF App compiled with Framework 4 and higher does not testable in Testcomplete 9
Hi, I compiled sample project "<All Users>\Documents\TestComplete 9 Samples\Open Applications\WPF\Orders_VS2010.sln" with .Net Framework 3.0 or 3.5 in Visual Studio 2017 and I can view any controls here with Object Spy in Testcomplete 9. It is Fine! But if I compile same project with .Net Framework 4 and higher thenObjectSpy shows me nothing! I can see only window like: Window("HwndWrapper[Orders.exe;;071092aa-0a71-4c87-80a7-c7a18885e166]", "Orders - Untitled", 1)). Where is the problem here and how can I solve it to work with projects compiled in .Net framework 4? Thank you, Alexander KatasonovSolved2KViews0likes6CommentsRe: Are you using Test Execute 11 to test Connected Applications in Visual Studio 2015?
I reverse engineered and patched AutomatedQA.script.dll and AutomatedQA.TestComplete.CSConnectedApp.dll to run in MSVS 2015. Usage 1. Remove from the project references to AutomatedQA.script.dll and AutomatedQA.TestComplete.CSConnectedApp.dll. 2. Add Connect.cs and var.cs files to the project 3. Replace all "](" in the code to ].Do( 4. Enjoy For example if in code you have something like ["Window"]("Edit", "", 4)["Click"](78, 13) then you should replace it with ["Window"].Do("Edit", "", 4)["Click"].Do(78, 13) Link:https://github.com/katasonov/AutomatedQAConnectedApp I am not sure but maybe in your case you should change in Connect.cs strings with "TestComplete.TestCompleteApplication.9" to "TestComplete.TestCompleteApplication.11". We use 9 version of Test Complete.3KViews2likes4CommentsRe: Are you using Test Execute 11 to test Connected Applications in Visual Studio 2015?
Anyway they must support ability for external applications (e.g.python scripts) to manageTestcomplete environment. If not they have risk to lose clients who use their products as a part of BIG automated test environment. I hope Testcomplete is not just for mouse clicking testers.3KViews0likes1CommentRe: Are you using Test Execute 11 to test Connected Applications in Visual Studio 2015?
Hi, we have the same problem with Visual Studio 2015. We found very convenientto write tests with C# SpecFlow extension (BDD paradigmscenarios) and useTest Complete object for UI manipulations. Unfortunately we have to work with VS2010 since it does not work in VS 2015. Smartbear, is there any chance that you provide workingAutomatedQA.script.dll for VS 2015? Thanks!3KViews0likes3CommentsHow to check in my test script that application hangs?
Hello, I test MFC Win32 application that can do some operations for a long time. In that case any GUI operation is not accessable, because application cannot receive windows messages. Is there some solution how to check that application is busy and halt my test script? I know that mouse cursor is changed to "Hour Glass" when application hangs. Maybe it is possible some how to check mouse cursor state? Alexander11KViews0likes1Comment