Contributions
How to provide TestExecute with URL for SLM offline (on-premise) server
Hi there! I would like to use TestExecute with our on-premise SLM. Everybody can connect (as anonymous.user). But when I start TestExecute from the commandline I get this message in the Event Viewer: "The user did not log in using the SmartBear account or did not pass the accesskey in the command-line arguments. TestComplete will be closed." But when I pass the accesskey from the OFFLINE (on-premise) server, it doesn't work, and this error in Event Viewer: "Our records say no TestExecute license is assigned to your SmartBear ID." So I think the /AccessKey parameter is only for the online SLM? So how do I tell TestExecute WHERE to find the SLM? I would like to pass the URL to the on-premise server to TestExecute in the commandline. But this parameter does not exist?280Views0likes0CommentsRe: Mobile Android 12 testing
Hi Nick! Thanks for you reply. Yes. we are currently using the Legacy method. We have looked into the Cloud/BitBar method but we don't want to use this. If I understand correctly, we are able to run tests on our own physical devices (connected with USB), by using a local Appium server? If that's the case, we will use Appium instead of Legacy 🙂1.1KViews0likes0CommentsMobile Android 12 testing
Hi there! We have a new phone (physical device) for Mobile testing, connected with USB. It is running Android 12. When I connect the phone, I am able to install our application andI can see objects in the "Object Browser". And I can also click on these objects, and our application is responding, so this is all working as expected. However, I can not see the Mobile screen in TestComplete: This screen is always shown, also on the Home screen for example. So I don't think the FLAG_SECURE (of our application) is the problem. Because when I delete our application, this message is still shown, always. Does anyone know how to fix this issue?Solved1.1KViews0likes4CommentsRe: i wanna control the 'fail' test.
Maybe you could look into "Events" > "GeneralEvents" in TestComplete. There is a "OnStopTest" or "OnStopTestCase". These Events will start when a Test/TestCase is Stopped or done executing. Maybe you could check in this Event if you would like to run an alternative test, and if so, you can start this test from this Event?439Views0likes0CommentsRe: Windows 10 apps
Hi Sonya! The problem was the following option: (TestComplete shortcut > right-click > Properties > Compatibility > “Run this program as an administrator”). When this option is active, it doesn’t work. Neither when I double-click the shortcut, nor when I right-click the shortcut and “Run as administrator”. However, when I disable this option it always works fine. So when the option is disabled and I double-click the shortcut it works fine, and it also works fine when I right-click the shortcut and “Run as administrator”.1KViews1like0CommentsWindows 10 apps
Hi there! I have a question regarding Windows 10 applications. Is it possible to get into, for example, the objects/elements of the Windows 10 calculator?I would like to know, because we have an UWP application, which can be installed and launched in Windows 10. But we face the same problem with our application. In TestComplete it shows as "Windows.UI.Core.CoreWindow", which is a default in the UI Automation settings. However, it is impossible to get into the main window and see child objects 😞 It is possible to spy and see children of the top menu bar (minimize,maximize,close), but not the actual main window (Windows.UI.Core.CoreWindow). The applications are both showing as process "ApplicationFrameHost". I have done and tried everything, also the suggestions mentioned here: https://support.smartbear.com/testcomplete/docs/app-testing/desktop/windows-store/requirements.html Could someone please clear this up for me? 🙂 Kind regards!Solved1.1KViews0likes3CommentsRe: dotNET generic methods
Hi tristaanogre, Thanks for the explanation!I appreciate your advice. The only thing I couldn't fully understand is "The intention is to import DLLs via the CLR bridge for use in building tests against other applications."Could you give me an example of this? What do you mean with "other applications"? Like, applications you want to use during development and not during execution? Again, thanks for your quick reply! Kind regards, Frits1.5KViews0likes1CommentdotNET generic methods
Hi there all! Currently I am trying to test our software (C# based). I have "imported" the DLL files through the CLR Bridge and was able to access most of the properties and methods without any problem. However, my only problem is with generic type. So the C# (DLL) code is: public class SomeClass<T> : ISomeClass where T : class {public SomeClass(string param1, T param2, SomeType param3); } So I write the TC script in DelphiScript. How do I run such a function? In C# it would be something like this:var = new SomeClass<T>(param1, param2, param3); In PowerShell:$var=New-Object'SomeClass[T]'$param1,$param2, $param3 So I have tried a lot of approaches but with no luck. Most errors are about "cannot create an instance of SomeClass because Type.ContainsGenericParameters is true". So I tried MakeGenericType, MakeGenericMethod, GetType etc. but with no success. Could someone maybe help with this? Or clarify if this is simply not possible in TestComplete? :) Kind regards, FritsSolved1.6KViews0likes3Comments