|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.web.WebPageElement
com.ibm.team.fvt.tests.web.WebElementWrapper
com.ibm.team.fvt.tests.web.WebWindow
com.ibm.team.fvt.tests.web.WebMenu
com.ibm.team.fvt.tests.clm.pages.menus.ClmMenu
com.ibm.team.fvt.tests.clm.pages.menus.ClmToolbarMenu
public class ClmToolbarMenu
Menu displayed while clicking on a CLM menu toolbar item.
Following features are available on this page:
clickItem(String, Class, String...)
: Open the given page by clicking
on the given menu item label.clickRecentlyViewedItem(String, Class)
: Click on the given item
of the recently viewed list.clickRecentlyViewedItem(String, Class, boolean)
: Click on the given
item of the recently viewed list.clickRecentlyViewedItem(String, Class, boolean, String...)
: Click
on the given item of the recently viewed list.getRecentlyViewedItemElement(String, WebBrowserElement)
: Get the
recently viewed item element.
Constructor Summary | |
---|---|
ClmToolbarMenu(ClmWebPage page)
|
|
ClmToolbarMenu(ClmWebPage page,
org.openqa.selenium.By menuBy)
|
Method Summary | ||
---|---|---|
|
clickItem(java.lang.String item,
java.lang.Class<P> pageClass,
java.lang.String... data)
|
|
|
clickRecentlyViewedItem(java.lang.String item,
java.lang.Class<P> pageClass)
Click on the given item of the recently viewed list. |
|
|
clickRecentlyViewedItem(java.lang.String item,
java.lang.Class<P> pageClass,
boolean useItemTextAsData)
Click on the given item of the recently viewed list. |
|
|
clickRecentlyViewedItem(java.lang.String item,
java.lang.Class<P> pageClass,
boolean useItemTextAsData,
java.lang.String... data)
Click on the given item of the recently viewed list. |
Methods inherited from class com.ibm.team.fvt.tests.web.WebMenu |
---|
clickItem, clickItem, clickItem, clickItem, getItemElement, getItemElement, getMenuOptions, getStringMenuOptions, open |
Methods inherited from class com.ibm.team.fvt.tests.web.WebWindow |
---|
cancel, close |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClmToolbarMenu(ClmWebPage page)
public ClmToolbarMenu(ClmWebPage page, org.openqa.selenium.By menuBy)
Method Detail |
---|
public <P extends com.ibm.team.fvt.tests.web.WebPage> P clickItem(java.lang.String item, java.lang.Class<P> pageClass, java.lang.String... data)
Click on grand-parent of the item element.
clickItem
in class com.ibm.team.fvt.tests.web.WebMenu
public <P extends com.ibm.team.fvt.tests.web.WebPage> P clickRecentlyViewedItem(java.lang.String item, java.lang.Class<P> pageClass)
The opened page won't have any additional data.
item
- The item labelpageClass
- The page to open if the item is found
null
if the item is not found
in the recently viewed list.public <P extends com.ibm.team.fvt.tests.web.WebPage> P clickRecentlyViewedItem(java.lang.String item, java.lang.Class<P> pageClass, boolean useItemTextAsData)
The opened page won't have any additional data.
item
- The item labelpageClass
- The page to open if the item is founduseItemTextAsData
- Flag telling whether to use the item text as data
for the opened page
null
if the item is not found
in the recently viewed list.public <P extends com.ibm.team.fvt.tests.web.WebPage> P clickRecentlyViewedItem(java.lang.String item, java.lang.Class<P> pageClass, boolean useItemTextAsData, java.lang.String... data)
item
- The item labelpageClass
- The page to open if the item is founduseItemTextAsData
- Flag telling whether to use the item text as data
for the opened page. If true
, then eventual additional data
will be ignored.data
- Data to be stored in the opened page.
null
if the item is not found
in the recently viewed list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |