Include tags in argumentfile1 doesn't filter out & Execute only included tags #679
Unanswered
MVManimaran
asked this question in
Q&A
Replies: 2 comments
-
|
Try I think |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I am cleaning Pabot's issues and this looks more like a usage / Q&A topic, so I’m moving it to Discussions → Q&A where it’s easier for others to find and benefit from the answer. Feel free to continue the conversation there 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since --include is set, Robot Framework will run only those tests that match the tag.
but if --include is mentioned in argumentfile, it runs the included tags and checks all files for the tags present or not and shows the below error
[ ERROR ] Suite 'KeywordTestcases' contains no tests matching tags 'P1 EA TS003', 'P1 EA TS005' or 'P1 EA TS008' in suites 'KeywordTestcases.Modules.Assessment.P2.Validation Summary.TS068'
For example, i have 100 robot files and i want to run only 3 robot files using --include tags, it runs the 3 files and it checks remaining 97 files for the tags present or not and shows error that in the remaining files the tags are not present. It is also time consuming ( approx. 3sec per file )
My pabot syntax:
pabot --processes 3 --argumentfile1 Pabot/data_1.txt --timestamp -d PabotResults
My argument data_1.txt file contains:
--variable VARIABLES_SHEETNAME:Batch1
--include P1_CL_TS006
--include P1_EA_TS001
--include P1_EA_TS003
Beta Was this translation helpful? Give feedback.
All reactions