set trackbar value

Set a value (and hence position) on a trackbar(slider) control.
NameDescriptionTypeModifier
window

TA name of the window.

Interface EntityNone
control

TA name of the trackbar.

Interface ElementNone
percentage

Value to which to set the trackbar.

StringNone
None
This action may be used within the following project items: test modules and user-defined actions.
The following settings are applicable to this action: case sensitive, remove double quotes from cells, standard ASCII only, object wait, window wait.
This action is applicable to the following controls: trackbar.
                                
                                    	interface		
use interface	Java Mockup		
&nbsp			
	window	control	variable
get trackbar value	Slider	fahrenheit temperature	i
&nbsp			
	window	control	percentage
set trackbar value	Slider	fahrenheit temperature	100
&nbsp			
	window	control	variable
get trackbar value	Slider	fahrenheit temperature	i
                                
                            
  • This action does not support setting the value of a slider control on iOS. In its place, use the set action in iOS.
  • This action supports the <ignore> modifier. If the string <ignore> is present as the value of any of the arguments, or any argument contains an expression that evaluates to <ignore>, the action is skipped during execution.

Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333