LDTP  3.5.0
 All Pages
setmax

Syntax

setmax('<window name>', '<slider name>')

Description

Set the slider to the maximum value.

ImplementationDetails

Return values
1if action is performed, else 0.

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/value.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/value.py

Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Value.cs

Example

from ldtp import *

For slider component with respect to gnome-terminal

setmax('dlgEditingProfile"Default"', 'slider')

Author
Aishwariya & Kamakshi poorv.nosp@m.aish.nosp@m.oo@ya.nosp@m.hoo..nosp@m.com


Linux Desktop Testing Project