Executing Keyword tests via COM integration
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010
08:06 PM
08-25-2010
08:06 PM
Executing Keyword tests via COM integration
Hello!
I have been struggling some days now with getting a COM integration with Testcomplete 7 to work as I'd like.
What I have accomplished so far is creation of the IntegrationObject, opening a projectsuite and runnning script routines. When I try to run keyword tests however, the integration always says the item could not be found.
When I have my integrationobject and have opened the correct projectsuite, I have tried both
and
I have been struggling some days now with getting a COM integration with Testcomplete 7 to work as I'd like.
What I have accomplished so far is creation of the IntegrationObject, opening a projectsuite and runnning script routines. When I try to run keyword tests however, the integration always says the item could not be found.
When I have my integrationobject and have opened the correct projectsuite, I have tried both
integrationObject.RunProjectTestItem("MBS SmokeTest", "InstallMBS");
and
integrationObject.RunProjectItem("MBS SmokeTest", "InstallMBS");
I am 100% sure that the projectname and projectitemname parameters are correct, but both of these statements results in COMException with the text: Unable to find the specified element. Project: MBS SmokeTest, ProjectTestItem: InstallMBS
Are you even supposed to be able to run Keyword tests from the COM integration?
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2010
08:19 PM
08-26-2010
08:19 PM
Hi,
I guess that your project does not contain the "InstallMBS" test item. Most probably, it just contains the "InstallMBS" keyword test. Use the RunTestByName method.
I guess that your project does not contain the "InstallMBS" test item. Most probably, it just contains the "InstallMBS" keyword test. Use the RunTestByName method.
------
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Yuri
TestComplete Customer Care Engineer
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
