Skip * Skip If Keyword Clarification

280 views
Skip to first unread message

Sreeram Rengasamy

unread,
Feb 17, 2023, 11:37:59 AM2/17/23
to robotframework-users
Hi,

Please clarify whether Skip & Skip If keywords does what it has to do ?

Expected: It should Skip the rest of TC's and mark the TC as Skip instead of Fail
Observed: Its skipping the rest of the TC's but marking TC as FAILED

Kindly confirm the behavior in the latest version of Robot Framework.

image.png
image.png

Thanks
Sreeram

Hélio Guilherme

unread,
Feb 17, 2023, 12:17:45 PM2/17/23
to robotframework-users
First of all, you should have used text and the original relevant steps, instead of an image of the log.html.

Your keyword was executed as "intended" because of the positional arguments.
It Failed with message Skip and then Set Tags with the rest of arguments: Device is not attached ...

You probably wanted to have (see, now I have to transcribe what is in image :( ):

Run Keyword If    $(len_val) == 0    Fail    ELSE    Skip    Device is not attached ...


--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/CADgTJcG353yrOTa6LVD5%3DQp-dSy5TShN9wfLdQFk7tiM_M48wg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages