IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.script
Class UnexpectedWindowConfigurationManager

java.lang.Object
  extended by com.rational.test.ft.script.UnexpectedWindowConfigurationManager

public class UnexpectedWindowConfigurationManager
extends java.lang.Object


Constructor Summary
UnexpectedWindowConfigurationManager()
           
 
Method Summary
static void checkforDomain(java.lang.String domainName, boolean closeWindowFlag)
           
static void deleteWindow(java.lang.String windowToBeDeleted)
          Method to delete the active window element from the xml
static java.util.ArrayList<UnexpectedWindow> getActiveWindowList(java.lang.Object[] domains)
          Method to retrieve ActiveWindowList for one/more domains
static boolean getCloseWindowFlagForDomain(java.lang.String domainName)
          Method to find the Perform close action for non configured windows flag
static Property[] getConfiguredTestObjectProperties(java.lang.Object[] domains, java.lang.String windowText)
          Method to get the propertylist for an ActiveWindow belonging to a domain
static java.lang.String[] getDomainList()
          Returns the domainList from the DomainManager
static boolean isCloseAction(java.lang.Object[] domains, java.lang.String windowText)
          Method to find if the action is close
static boolean isWindowConfigured(java.lang.Object[] domainNames, java.lang.String windowText)
          Check for configured windows
static void loadFile()
           
static void save()
          Method to save the inmemory xml to file
static boolean updateActiveWindows(UnexpectedWindow window, java.lang.String domainName, boolean closeWindowFlag)
          Method to create/update active window.
static void updateActiveWindowsData(UnexpectedWindow window)
          Method to update the active windows.
static void updateCloseWindowFlag(java.lang.String domainName, java.lang.String closeWindowFlag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnexpectedWindowConfigurationManager

public UnexpectedWindowConfigurationManager()
Method Detail

getActiveWindowList

public static java.util.ArrayList<UnexpectedWindow> getActiveWindowList(java.lang.Object[] domains)
Method to retrieve ActiveWindowList for one/more domains

Parameters:
domains -
Returns:

getCloseWindowFlagForDomain

public static boolean getCloseWindowFlagForDomain(java.lang.String domainName)
Method to find the Perform close action for non configured windows flag

Parameters:
domainName -
Returns:

getDomainList

public static java.lang.String[] getDomainList()
Returns the domainList from the DomainManager

Returns:

getConfiguredTestObjectProperties

public static Property[] getConfiguredTestObjectProperties(java.lang.Object[] domains,
                                                           java.lang.String windowText)
Method to get the propertylist for an ActiveWindow belonging to a domain

Parameters:
domainName -
windowText -
Returns:

isCloseAction

public static boolean isCloseAction(java.lang.Object[] domains,
                                    java.lang.String windowText)
Method to find if the action is close

Parameters:
domainName -
windowText -
Returns:

isWindowConfigured

public static boolean isWindowConfigured(java.lang.Object[] domainNames,
                                         java.lang.String windowText)
Check for configured windows

Parameters:
domainName -
windowText -
Returns:

loadFile

public static void loadFile()

updateActiveWindows

public static boolean updateActiveWindows(UnexpectedWindow window,
                                          java.lang.String domainName,
                                          boolean closeWindowFlag)
Method to create/update active window.

Parameters:
window -
domainName -
Returns:

checkforDomain

public static void checkforDomain(java.lang.String domainName,
                                  boolean closeWindowFlag)

updateCloseWindowFlag

public static void updateCloseWindowFlag(java.lang.String domainName,
                                         java.lang.String closeWindowFlag)

updateActiveWindowsData

public static void updateActiveWindowsData(UnexpectedWindow window)
Method to update the active windows.

Parameters:
window -

save

public static void save()
Method to save the inmemory xml to file


deleteWindow

public static void deleteWindow(java.lang.String windowToBeDeleted)
Method to delete the active window element from the xml

Parameters:
windowToBeDeleted -