Facing issue with COM calling keyword with parameter
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would ask Support via the https://support.smartbear.com/testcomplete/message/ form.
And I would appreciate it if you update this thread with their reply.
Personally I have no better idea at the moment than try the GetObjectByName method (https://support.smartbear.com/testcomplete/docs/reference/project-objects/automation/integration/get...) to get the reference to the keyword test object, set its parameters and then run this keyword test. But this is just a quick idea that I did not verify.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AlexKaras
I'm not talking about the project variables. I wanted a solution for the keyword test item's parameter
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
> I'm not talking about the project variables.
Obviously. But the idea was to obtain a reference to the Keyword Tests collection, then obtain a reference to the required keyword test, then obtain a reference to its parameters, set parameter's value and run this keyword test.
As I said, this is just a rough idea based on quick look through the documentation without any real code examples.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
