Quantcast
Channel: How to expect a failure in robot framework in Python? - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Dan Constantinescu for How to expect a failure in robot framework...

You can also expect a sub-string from the complete error by using this format:Compare different numbers Run Keyword And Expect Error *are not the same* I compare ${num_a} with ${num_b}Documentation:...

View Article


Answer by Catsunami for How to expect a failure in robot framework in Python?

I figured it out. You can just modify the test to expect an error as follows:Compare different numbers Run Keyword And Expect Error * I compare ${num_a} with ${num_b}Alternatively to look for a...

View Article


How to expect a failure in robot framework in Python?

We use robot framework at work to do some automated testing, and I need to add a few tests. This format is already in the repo, I cannot change anything drastically.I am using a keywords file that...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images