com.ibm.team.fvt.tests.clm.pages.helper
Class ClmDataCollectionPageHelper

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.clm.pages.helper.ClmWebPageHelper
          extended by com.ibm.team.fvt.tests.clm.pages.helper.ClmDataCollectionPageHelper
Direct Known Subclasses:
ClmDataCollectionJobStatusPageHelper

public class ClmDataCollectionPageHelper
extends ClmWebPageHelper

Helper class to manage common code of any Data Collection page (ie. Data Collection Jobs and Data Collection Jobs Status).

These pages are available in JTS, CCM and QM applications:


Constructor Summary
ClmDataCollectionPageHelper(ClmWebPage page, java.lang.String[] subtitles)
           
 
Method Summary
 boolean waitForSubtitles(boolean fail)
          Wait for subtitles to be loaded in the page.
 com.ibm.team.fvt.tests.web.WebBrowserElement waitForTitle(boolean fail)
          Wait for the title to be displayed in the page.
 
Methods inherited from class com.ibm.team.fvt.tests.clm.pages.helper.ClmWebPageHelper
isProjectDashboardPageHelper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClmDataCollectionPageHelper

public ClmDataCollectionPageHelper(ClmWebPage page,
                                   java.lang.String[] subtitles)
Method Detail

waitForSubtitles

public boolean waitForSubtitles(boolean fail)
Wait for subtitles to be loaded in the page.

Parameters:
fail - Tells whether fails or not if subtitles are not found
Returns:
true if the expected subtitles are found, false otherwise.

waitForTitle

public final com.ibm.team.fvt.tests.web.WebBrowserElement waitForTitle(boolean fail)
Wait for the title to be displayed in the page.

Parameters:
fail - Tells whether the wait can fail or not
Returns:
The title element as a WebBrowserElement.