Record Keyword: allow calling the recorded keyword in the current test case

オープン
#5,513 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mardukbp がすでに取り組んでいます。

2026年11月10日 から。

  • #5515 @mardukbp による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
playwright, python
領域
testing

調査の方向性

Start by locating the RobotDebug implementation of the "Record Keyword" keyword and the code that adds recorded keywords to the current .robot file. Trace how the current test case is identified and how recorded keywords are invoked. Add the optional append=False behavior described in the issue, then check the relevant tests for both default behavior and append=True calling each keyword in the test case.

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem? Please describe.
In a Test Case I call the Debug keyword of RobotDebug in order to get a REPL where I can record several keywords. Currently "Record Keyword" adds the keyword to the Keywords table of the current .robot file, but it doesn't call the keyword in the test case. That way one records a collection of keywords instead of a sequence of steps.

Describe the solution you'd like
Add an optional parameter append=False. When set to True "Record Keyword" calls the keyword in the current test case.

Describe alternatives you've considered
None.

Additional context
The robosapiens recorder records a keyword and calls it in the current test case. That way one can record a test case in a structured form. It is a very convenient workflow.

主要言語
Python
スター
662
フォーク
149
平均マージ
6時間 9分
マージ済み PR(30日)
119

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MarketSquare/robotframework-browser のほかの issue

MarketSquare/robotframework-browser の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。