Question

Specifically I am trying to do the equivalent of

aqObject.IsSupported(objText, "SomeProperty")

through the TestComplete COM interface.

How do you do this?

Note:

I am connecting to TestComplete through WIN32OLE by connecting to "TestComplete.TestCompleteApplication.8".

It is probably worth point out that I have attempted to ask the integration to get the aqObject by name and got NULL back.

sys = tc.integration.GetObjectByName("Sys") sys.Exists => true sys.Name => "Sys"

aqObject = tc.integration.GetObjectByName("aqObject") => nil

Was it helpful?

Solution

Is there a running test in TestComplete at the moment? This article says it's a prerequisite for GetObjectByName:

You can obtain the object only if TestComplete is running a test. If there is no tests running in TestComplete, GetObjectByName will return an empty Variant value.

OTHER TIPS

If you are using the Connected Applications feature of TestComplete, you can easily access the aqObject object along with its members via the Connect class.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top