SelectByIndexAgent"
From Documentation
(2 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
= Select by Index = | = 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 14: | Line 14: | ||
</source> | </source> | ||
− | |||
=Supported Components= | =Supported Components= | ||
Line 30: | Line 29: | ||
+ | {{ZATSEssentialsPageHeader}} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Latest revision as of 08:16, 21 June 2012
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
selectbox | 6 |