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

Aperta
#5,513 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mardukbp ci sta già lavorando.

Dal 10/11/2026.

  • #5515 di @mardukbp — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
playwright, python
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
662
Fork
149
Merge medio
6h 9m
PR unite (30g)
119

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MarketSquare/robotframework-browser

Tutte le issue di MarketSquare/robotframework-browser

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.