Showing posts with label storeSelectedLabel Command. Show all posts
Showing posts with label storeSelectedLabel Command. Show all posts

"storeSelectedLabel" Command

We can use "storeSelectedLabel" Command only with drop down and list box. When you want to know or you need to compare selected option value of drop down with some other value at that time first you need to store value of selected label. In such condition you can use "storeSelectedLabel" Command. Let we see with example.

New Test
Command Target Value
storeSelectedLabel ctrl55_Contentitem_State value
storeSelectedLabels ctrl55_Contentitem_Statevalues


In above example, First command "storeSelectedLabel" will store selected label name of drop down(ctrl55_Contentitem_State) into variable "value". Here "ctrl55_Contentitem_State" is the name of drop