SelectByIndexAgent"

From Documentation
(Created page with "{{ZATSEssentialsPageHeader}} Because ''selectbox'' has no child components to select which is different to other data components (e.g. ''listbox'' and ''grid''), it needs a d...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
 +
__TOC__
  
  
Because ''selectbox'' has no child components to select which is different to other data components (e.g. ''listbox'' and ''grid''), it needs a different agent to mimic selecting operation. You have to give an '''index''' to select its item.
+
= Select by Index =
 +
 
 +
Unlike other data components (such as ''listbox'' or ''grid''), ''selectbox'' has no child components to select, therefore, it needs a different agent to mimic selecting operation. You have to give an '''index''' to select its item.
  
 
<source lang="java ">
 
<source lang="java ">
Line 11: Line 14:
  
 
</source>
 
</source>
 +
 +
=Supported Components=
 +
 +
{| border="1" | width="100%"
 +
! <center>Components</center>
 +
! <center>Version</center>
 +
! <center>Note</center>
 +
|-
 +
| selectbox
 +
| 6
 +
|
 +
|}
 +
  
  
 +
{{ZATSEssentialsPageHeader}}
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Latest revision as of 08:16, 21 June 2012

SelectByIndexAgent





Select by Index

Unlike other data components (such as listbox or grid), selectbox has no child components to select, therefore, it needs a different agent to mimic selecting operation. You have to give an index to select its item.

selectbox.as(SelectByIndexAgent.class).select(3);

Supported Components

Components
Version
Note
selectbox 6



SelectByIndexAgent




Last Update : 2012/06/21

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.