Issue 203 in robotframework-swinglibrary: Radio Button Should Exist and Radio Button Should Not Exist

4 views
Skip to first unread message

robotframewor...@googlecode.com

unread,
Sep 21, 2011, 3:03:37 PM9/21/11
to robotframework...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 203 by sharifud...@gmail.com: Radio Button Should Exist and Radio
Button Should Not Exist
http://code.google.com/p/robotframework-swinglibrary/issues/detail?id=203

I am trying to use Component Should Exist Windows
but it is failing ; error message : FAIL Component 'Windows' does not exist

If Component Should Exist do not work , then please create new keywords

Radio Button Should Exist
Radio Button Should Not Exist

Because in my test cases i need to verify the existence and non existence
of components of different types.


robotframewor...@googlecode.com

unread,
Sep 26, 2011, 12:00:58 AM9/26/11
to robotframework...@googlegroups.com

Comment #1 on issue 203 by janne.t.harkonen: Radio Button Should Exist and

Component Should Exist works on all kinds of components.

Is `Window` a label of one of the radion buttons?

I think that for a radio button group, you need to use `Component Should
Exis` with the groups internal name (set with `#setName` in the code)

robotframewor...@googlecode.com

unread,
Sep 29, 2011, 5:57:55 PM9/29/11
to robotframework...@googlegroups.com

Comment #2 on issue 203 by sharifud...@gmail.com: Radio Button Should Exist

Yes, Windows is the label of radio button and Component should exist dont
work with it.


robotframewor...@googlecode.com

unread,
Apr 24, 2012, 7:38:43 AM4/24/12
to robotframework...@googlegroups.com
Updates:
Status: WontFix

Comment #3 on issue 203 by janne.t....@gmail.com: Radio Button Should

You have to use internal name of the JRadioButton component to verify its
existence using Component Should Exist. It would be too difficult to create
specific keywords that would operate on labels of radio buttons

You can use e.g. Radio Button Should (not) be Selected to verify individual
radio buttons.

Reply all
Reply to author
Forward
0 new messages