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...") |
|||
Line 2: | Line 2: | ||
+ | __TOC__ | ||
+ | |||
+ | = Select by Index = | ||
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. | 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. | ||
Line 11: | Line 14: | ||
</source> | </source> | ||
+ | |||
+ | |||
+ | =Supported Components= | ||
+ | |||
+ | {| border="1" | width="100%" | ||
+ | ! <center>Components</center> | ||
+ | ! <center>Version</center> | ||
+ | ! <center>Note</center> | ||
+ | |- | ||
+ | | selectbox | ||
+ | | 6 | ||
+ | | | ||
+ | |} | ||
+ | |||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Revision as of 02:24, 16 May 2012
Select by Index
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.
selectbox.as(SelectByIndexAgent.class).select(3);
Supported Components
selectbox | 6 |