-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Was supposed be fixed with #64 and released in 0.9.1, but was not.
Describe the bug
None of the keywords Activate, Deactivate, and Is Active works with CheckBox elements.
Steps To Reproduce
Example code:
***Settings***
Library PlatynUI
***Test Cases***
Activate Test
Activate app:Application[@Name='myApp']/Dialog[@Name='myDialog']/CheckBox[@Name='myCheckBox']
Deactivate Test
Deactivate app:Application[@Name='myApp']/Dialog[@Name='myDialog']/CheckBox[@Name='myCheckBox']
Check State Test
${state}= Is Active app:Application[@Name='myApp']/Dialog[@Name='myDialog']/CheckBox[@Name='myCheckBox']Expected behavior
The CheckBox "myCheckBox" gets checked, unchecked, and its current state is returned, respectively.
Logs
Activate gives AdapterNotSupportsStrategyError: adapter not supports the org.platynui.strategies.HasToggleState strategy.
Deactivate gives AttributeError: 'CheckBox' object has no attribute 'deactivate'.
Is Active gives AttributeError: 'CheckBox' object has no attribute 'is_active'.
Desktop
- PlatynUI Version: 0.8
- RobotFramework Version: 7.3.1
- OS: Debian Linux 12.11 with Gnome Desktop
- Python Version: 3.11.2
- Qt: 6.4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working