Determine when no liscense is available using COM (python)
I am using a modified version of the script I found here to run TestComplete and TestExecute, related code follows: from win32com.client import Dispatch import pywintypes ... try: self.test_complete = Dispatch("TestExecute.TestExecuteApplication") except pywintypes.com_error: try: self.test_complete = Dispatch("TestComplete.TestCompleteApplication") except pywintypes.com_error: sys.exit("TestComplete/TestExecute not found") However I have an issue when there are no avaiable licenses. After calling Dispatch a dialog pops up (image below) and the Dispatch call blocks. This breaks all the automation I've been trying to do with TC/TE, and I'm looking for a way to determine before calling the Dispatch that no liscenses are avaiable. ThanksSolved2.9KViews0likes7CommentsAQtime8 Set the global or project specific source file search directories via COM automation?
I'm writing a little tool to integrate AQtime8 with our build server that uses C# to automate AQtime8 via the COM interface(s). I'm doing so because the existing command line parameters don't give us enough fine grained control of the features, and we don't want to setup .aqt project files for each of our unit tests. I'm pretty sure that there's a COM interface available to set the source file search paths for a current project, unfortunately it's just not one I could find in the documented subset. Would be great if anyone could tell me which interface and functions/properties to use.2.1KViews0likes1CommentWorking with TestExecute via COM
Hi, We are trying to control TestExecute via COM from a Javascript or VB script. Here is the script that we are trying to run: //Project, ProjectSuite and TestItemGroup are passed through arguments var TEApp = "TestComplete.TestExecuteApplication"; var tc = new ActiveXObject(TEApp); var tci = tc.Integration; tc.Visible = true; tci.OpenProjectSuite(ProjectSuite); ProjectTestItems = tci.TestSuite(Project); tci.RunProjectTestItem(Project, TestItemGroup); TestExecute and TestComplete are located on a D:\ drive and not in the C:\Program Files. On this link:Configuring Manifests on Windows 8 and Later Operating Systems, it says : "Your COM client application for TestComplete: Must be digitally signed. (See below.) Must be in the Program Files, Program Files (x86) or Windows\System32 folder." The COM client application is TestExecute / TestComplete or it is something else ? Are we doing something wrong there ? Thank you for your answers, CamilleSolved1.2KViews0likes1CommentFacing issue with COM calling keyword with parameter
Hi there, I'm facing issue calling keyword with parameters via COM services If anyone can help quickly would be of great help IntegrationObj.RunProjectTestItem(ProjectName,ProjectTestItemName) has only provision to pass keyword name, how to pass parameter ? is there any better alternative ? Thanks https://support.smartbear.com/testcomplete/docs/reference/project-objects/automation/integration/runprojecttestitem.htmlSolved854Views0likes3Comments