Forum Discussion
Try using either '/test:' OR /tags:' instead of both:
TestComplete.exe project-suite-file /project:project-name /test:"@tag1" /run
ā or ā
TestComplete.exe project-suite-file /project:project-name /tags:"@tag1" /run
For this, I will need to be able to specify the feature file and only specific scenarios based on their tags. Is there a way to combine the two using /test?
- Kitt3 years agoRegular Contributor
The tag is just going to reference and run anything with that tag: scenarios or features or examples. So there is no reason to explicitly state in the command what feature or scenario the tag is in - just the tag. Please reference my previous link, it covers all of this information - including combining tags and scripting examples.
here's my own example:- dmckay32003 years agoNew Contributor
In your example, is it possible to say /tags:"@Auth and @LoginPartnerPortal" to specify this feature file and this scenario?
- Kitt3 years agoRegular Contributor
Yes it is possible, but please read through the reference linked in my initial response - it tells you how to do everything you have asked.
here it is again:
https://support.smartbear.com/testcomplete/docs/bdd/tags.html
Related Content
- 4 years ago
- 5 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago