Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1181
  • Last Modified:

is there way to create TestComplete COM object?

I'm wondering if there is possibility to create COM object of the TestComplete. I would like to access all functionality from different language/application and use just some features of the TestComplete.

For example with AutoItX one can do something like this (see the code section).

It would be great to access whole object tree created by TestComplete this way.

Does somebody have any exepriences with this approach?

Thanks.



# Written in powershell
# Create new autoitX COM object
$ai = New-Object -comObject AutoItX3.Control
 
# Use autoit functions
$title = "Notepad"
if ( $ai.WinExists ( $title ) ) {
  $ai.WinClose( $title )
}

Open in new window

0
svojanovskyd
Asked:
svojanovskyd
1 Solution
 
daluuCommented:
Perhaps you should contact Tech Support from the makers of TestComplete, if hopefully, you have a support contract with them. That would make the most sense. And/or check their user documentation or online knowledgebase.
0
 
svojanovskydAuthor Commented:
Thank you, I  wanted to get some sort of advice quickly. I have already the solution (VB):

Set TestCompleteObject = CreateObject("TestComplete.TestCompleteApplication")

More is in the online documentation (topic "Working With TestComplete via COM") available as part of the TestComplete (there is 30 days trial available).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now