Callling on Test case in another test case

4,855 views
Skip to first unread message

sandeep s

unread,
Jan 21, 2011, 1:18:43 AM1/21/11
to robotframework-users
Hi,
Is there any way that i can call one test case in another test cases rather that putting it in a keyword.

-Sandeep

Pekka Klärck

unread,
Jan 21, 2011, 1:33:38 AM1/21/11
to sand...@gmail.com, robotframework-users
2011/1/21 sandeep s <sand...@gmail.com>:

> Hi,
> Is there any way that i can call one test case in another test cases rather
> that putting it in a keyword.

No there isn't. This has been discussed before few times, but the
decision has been that the benefits are too small (creating a new user
keyword is so easy) compared to potential confusion this functionality
would cause. There would also be not-easy-to-answer questions like
where to find the named test case, how to handle setup/teardown, what
about tags, etc.

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

sandeep s

unread,
Jan 21, 2011, 1:38:15 AM1/21/11
to Pekka Klärck, robotframework-users
@Peke

Thanks for the info.I was just curious because there are couple of test cases we have which can be used in anoter testcases.
Currently we have wrapped those as keywords and using them when ever needed.

@Markus: Yups thats the same we are doing currently.

:)

Sandeep

Taylor, Martin

unread,
Jan 21, 2011, 7:33:19 AM1/21/11
to sand...@gmail.com, robotframework-users
Hi Sandeep,
 
I asked for this back in May-09 and it was rejected.  Please add your comments to Issue 319: http://code.google.com/p/robotframework/issues/detail?id=319
 
Thanks,
Martin


From: robotframe...@googlegroups.com [mailto:robotframe...@googlegroups.com] On Behalf Of sandeep s
Sent: Friday, January 21, 2011 12:19 AM
To: robotframework-users
Subject: Callling on Test case in another test case

Hi,
Is there any way that i can call one test case in another test cases rather that putting it in a keyword.

-Sandeep

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
Reply all
Reply to author
Forward
0 new messages