How to disable warning "Multiple test cases with name" when running test case with same name

500 views
Skip to first unread message

dnl 31337

unread,
Mar 4, 2016, 1:16:30 PM3/4/16
to robotframework-users
Hi all,


i'm reciving warning "Multiple test cases with name" when i'm running test case with same name, but for this robot, no problem having both names because i'm repeating it.. so i just need to disable the warning..

How do i disable it? there is any way??



thanks,


dnl

Pekka Klärck

unread,
Mar 4, 2016, 4:30:21 PM3/4/16
to dnl 31337, robotframework-users
There's no built-in way to disable this warning. What kind of use case
you have to use same name with different tests?

Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org

dnl 31337

unread,
Mar 7, 2016, 7:32:28 AM3/7/16
to robotframework-users, dnl3...@gmail.com
good morning my friend..


i need to repeat the test some times..

Latica

unread,
Mar 8, 2016, 3:24:05 AM3/8/16
to robotframework-users, dnl3...@gmail.com
Looks like you have problem with you test framework structure. Maybe is it better to use Repeat Keyword instead of repeat your test?

Examples:
 
Repeat Keyword  5 times  Goto Previous Page
Repeat Keyword  ${var} Some Keyword arg1 arg2

dnl 31337

unread,
Mar 11, 2016, 1:00:56 PM3/11/16
to robotframework-users, dnl3...@gmail.com
I don't think is problem with the structure of my test..


I need to repeat 1 specific test after new test case..


Like this:


Teste case 1
My test case that i need repeat
Test case 2
My test case that i need repeat
Test case 3
My test case that i need repeat


I cannot use that keyword because it will repeat 1 time after other time. And am repeating TEST CASES not KEYWORDS ...


thanks

Hélio Guilherme

unread,
Mar 11, 2016, 2:04:27 PM3/11/16
to dnl 31337, robotframework-users
You turn "My test case that i need repeat" into a keyword (with RIDE
 is very easy to do this).

--
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 post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages