On Sun, 23 May 2021 at 09:09, Pradeep Padmanaban <
pradeeppadmanab...@gmail.com> wrote:

> Blind spot when using Robot framework - Rengaraj
>
> Robot Framework :- Python Framework used from integrated testing to end to
> end testing , from web applications tests to network applications tests
>
> Blind Spots : Places we are not aware of even if we see the area
>
> The Scenario we are gonna see today is the occurrence of false positives
> in test cases
>
> Application: Inflight Network Testing - Gateway -> user
>
> Simulated Test cases Demonstrated
>
> Solution : Check the Return value for each linux command tests , Expected
> Return value = 0 for linux commands , Robot Framework does not capture
> Linux return Value
>

Thank you pradheep for the minutes.
The Robot framework uses return code but we have to validate the return
code.

Run and return rc is a keyword I used in my 2nd example.

Code Snippet
```
send traffic v2
     ${ret}=   run and return rc   wget ${url}
     should be equal as integers    ${ret}  0
```
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to