Error Message - Maximum limit of started keywords exceeded.

986 views
Skip to first unread message

RobotFramework Tester

unread,
Jun 23, 2015, 2:27:43 PM6/23/15
to robotframe...@googlegroups.com
How can i resolve this error which i am getting while running a testcase from RIDE? "Maximum limit of started keywords exceeded."

Ben Fariello

unread,
Jun 24, 2015, 4:48:32 AM6/24/15
to robotframe...@googlegroups.com

Notice this exists inside a file called "context.py" inside the RobotFramework library. You can probably modify the threshold, but it seems like it was added to prevent recursive keywords from tanking the test run.


Also note that in my environment I have two copies of context.py, but I suspect the one in build is the relevant one, not the one in src:


Bens-MacBook-Pro-2:robotframework-2.8.6 benfariello$ find . -name context.py

./build/lib/robot/running/context.py

./src/robot/running/context.py


class _ExecutionContext(object):
    _started_keywords_threshold = 42  # Jython on Windows don't work with higher
    ...
    def start_keyword(self, keyword):
        self._started_keywords += 1
        if self._started_keywords > self._started_keywords_threshold:
            raise DataError('Maximum limit of started keywords exceeded.')
        self.output.start_keyword(keyword)
Reply all
Reply to author
Forward
0 new messages