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

Đang mở
#5,513 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@mardukbp đang làm issue này rồi.

Từ ngày 10/11/2026.

  • #5515 của @mardukbp — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
65/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
playwright, python
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
662
Fork
149
Merge trung bình
6 giờ 9 phút
Pull request đã merge (30 ngày)
119

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MarketSquare/robotframework-browser

Tất cả issue của MarketSquare/robotframework-browser

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.