You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pabot to execute the suite, with arg --language zh-CN. It still reports error invalid section headers:
[ ERROR ] Error in file 'example.robot' on line 1: Unrecognized section header '*** 设置 ***'. Valid sections: 'Settings', 'Variables', 'Test Cases', 'Tasks', 'Keywords' and 'Comments'.
In pabot.py function generate_suite_names_with_builder, when calling TestSuiteBuilder, it didn't pass arg lang even language arg is set in command line. After passing language to TestSuiteBuilder it works as expected:
since RF 6.0 it supports localization of section headers. For example, I'm writing my case file in Chinese:
I'm using pabot to execute the suite, with arg
--language zh-CN
. It still reports error invalid section headers:In
pabot.py
functiongenerate_suite_names_with_builder
, when callingTestSuiteBuilder
, it didn't pass arg lang even language arg is set in command line. After passing language toTestSuiteBuilder
it works as expected:Hope it can be fixed in next release.
The text was updated successfully, but these errors were encountered: