LDTP  3.5.0
 All Pages
togglebutton

About Togglebutton functions

To operate on a toggle object and based on your requirement, you can use any of these functions

Togglebutton python API's

click - Click on a toggle button

enterstring - Generate keyboard event as if user keys-in

press - Toggle's the button state

stateenabled - Checks whether the toggle button is in enabled state or not

verifytoggled - Verify whether the button is in toggled state



Linux Desktop Testing Project