robotframework / RIDE

Test data editor for Robot Framework
Apache License 2.0
963 stars 379 forks source link

If keyword has a long list of arguments some of them are moved into keyword itself #2727

Open povar81 opened 7 months ago

povar81 commented 7 months ago

RIDE v2.0.8.1 running on Python 3.7.4. my keyword in text edit: aar_i_3 subscr_id ipv6 [Arguments] ${msisdn1} ${subscrtype1} ${msisdn2} ${subscrtype2} ${msisdn3} ${subscrtype3} ${req_access_info} ${af_req_data} ${appid} ${apn} ${Media-Type} ${Flow-Status} ${Flow-Usage} ${sessionid} ${MRBULd} ${MRBDL} ... ${MinRBU} ${MinRBD} ${ip_v6}

in grid editor last 3 arguments are not in arguments but in the keyword:

image

and when this keyword is called from a case the last cell on first line is shown in red as an error: image and second line is shown as unknown: image

the same keyword on RIDE 1.7.4.2 running on Python 3.7.4. : image

and how it's shown when called from a case: image

povar81 commented 7 months ago

when I run it - it works normally, passes, so the problem is only in how it's shown in RIDE.

p.s. I get it - this keyword has too many arguments (I could've used test/suite variables instead or some other approach), but in this specific case I need this many arguments (I think it's a longest keyword I have anywhere)