Facing 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.htmlSolved854Views0likes3CommentsWorking 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.2KViews0likes1CommentDetermine 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.9KViews0likes7Comments