This is UltimateRPA Documentation
urpa.ConditionFactory Class Reference

This class is used to create an instance of a Condition-type object and to define the conditions for searching for GUI elements in this instance of the object. More...

Inheritance diagram for urpa.ConditionFactory:
urpa.Condition

Public Member Functions

def java (self, value=None)
 
def regexp (self, re)
 This method returns a Condition-type object that has the condition of the regular expression redeclared for the internal attributes Name, Value, Automation ID, and Class Name. More...
 
def exact (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attributes Name, Value, Automation ID, and Class Name. More...
 
def size (self, x, y)
 This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size. More...
 
def min_size (self, x, y)
 This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size. More...
 
def max_size (self, x, y)
 This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size. More...
 
def name (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Name. More...
 
def value (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Value. More...
 
def item_type (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Item Type. More...
 
def access_key (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Access Key. More...
 
def automation_id (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Automation ID. More...
 
def class_name (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Class Name. More...
 
def enabled (self, val)
 This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Enabled. More...
 
def button (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Button" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def calendar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Control" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def check_box (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "CheckBox" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def combo_box (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ComboBox" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def edit (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Edit" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def hyperlink (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Hyperlink" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def image (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Image" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def list_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ListItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def list (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "List" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def menu (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Menu" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def menu_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "MenBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def menu_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "MenuItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def progress_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ProgressBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def radio_button (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "RadioButton" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def scroll_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ScrollBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def slider (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Slider" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def spinner (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Spinner" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def status_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "StatusBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tab (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Tab" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tab_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "TabItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def text (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Text" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tool_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ToolBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tool_tip (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "ToolTip" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tree (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Tree" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def tree_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "TreeItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def custom (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Custom" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def group (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Group" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def thumb (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Thumb" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def data_grid (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "DataGrid" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def data_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "DataItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def document (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Document" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def split_button (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "SplitButton" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def window (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Window" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def pane (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Pane" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def header (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Header" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def header_item (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "HeaderItem" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def table (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Table" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def title_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "TitleBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def separator (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "Separator" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def semantic_zoom (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "SemanticZoom" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 
def app_bar (self, val=None)
 This method returns a Condition-type object that has the Control Type attribute set to "AppBar" and the Name, Value, Automation ID, and Class Name attributes set to val. More...
 

Detailed Description

This class is used to create an instance of a Condition-type object and to define the conditions for searching for GUI elements in this instance of the object.

Member Function Documentation

◆ access_key()

def urpa.ConditionFactory.access_key (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Access Key.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from the val parameter is set for the Access Key internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by the val parameter is set for the Access Key internal attribute of this object.
Returns
Returns a Condition-type object

◆ app_bar()

def urpa.ConditionFactory.app_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "AppBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ automation_id()

def urpa.ConditionFactory.automation_id (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Automation ID.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from the val parameter is set for the Automation ID internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by the val parameter is set for the Automation ID internal attribute of this object.
Returns
Returns a Condition-type object

◆ button()

def urpa.ConditionFactory.button (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Button" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ calendar()

def urpa.ConditionFactory.calendar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Control" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ check_box()

def urpa.ConditionFactory.check_box (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "CheckBox" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ class_name()

def urpa.ConditionFactory.class_name (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Class Name.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from the val parameter is set for the Class Name internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by the val parameter is set for the Class Name internal attribute of this object.
Returns
Returns a Condition-type object

◆ combo_box()

def urpa.ConditionFactory.combo_box (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ComboBox" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ custom()

def urpa.ConditionFactory.custom (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Custom" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ data_grid()

def urpa.ConditionFactory.data_grid (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "DataGrid" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ data_item()

def urpa.ConditionFactory.data_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "DataItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ document()

def urpa.ConditionFactory.document (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Document" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ edit()

def urpa.ConditionFactory.edit (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Edit" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ enabled()

def urpa.ConditionFactory.enabled (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Enabled.

Parameters
valbool
Returns
Returns a Condition-type object

◆ exact()

def urpa.ConditionFactory.exact (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attributes Name, Value, Automation ID, and Class Name.

Parameters
valString or Condition If this is a String-type parameter, an exact match with a string from this parameter is set for the Name, Value, Automation ID, and Class Name internal attributes of this object. If this is a Condition-type parameter, validation from the Condition object passed by this parameter is set for the Name, Value, Automation ID, and Class Name internal attributes of this object.
Returns
Returns a Condition-type object

◆ group()

def urpa.ConditionFactory.group (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Group" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ header()

def urpa.ConditionFactory.header (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Header" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ header_item()

def urpa.ConditionFactory.header_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "HeaderItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ hyperlink()

def urpa.ConditionFactory.hyperlink (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Hyperlink" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ image()

def urpa.ConditionFactory.image (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Image" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ item_type()

def urpa.ConditionFactory.item_type (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Item Type.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from the val parameter is set for the Item Type internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by the val parameter is set for the Item Type internal attribute of this object.
Returns
Returns a Condition-type object

◆ java()

def urpa.ConditionFactory.java (   self,
  value = None 
)

◆ list()

def urpa.ConditionFactory.list (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "List" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ list_item()

def urpa.ConditionFactory.list_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ListItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ max_size()

def urpa.ConditionFactory.max_size (   self,
  x,
  y 
)

This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size.

Only GUI elements that are less than or equal to (x, y) in size match the resulting condition.

Parameters
xint Represents the maximum horizontal value of the Size internal attribute in an object tied to an instance of this class.
yint Represents the maximum vertical value of the Size internal attribute in an object tied to an instance of this class.
Returns
Returns a Condition-type object

◆ menu()

def urpa.ConditionFactory.menu (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Menu" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ menu_bar()

def urpa.ConditionFactory.menu_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "MenBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ menu_item()

def urpa.ConditionFactory.menu_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "MenuItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ min_size()

def urpa.ConditionFactory.min_size (   self,
  x,
  y 
)

This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size.

Only GUI elements that are greater than or equal to (x, y) in size match the resulting condition.

Parameters
xint Represents the minimum horizontal value of the Size internal attribute in an object tied to an instance of this class.
yint Represents the minimum vertical value of the Size internal attribute in an object tied to an instance of this class.
Returns
Returns a Condition-type object

◆ name()

def urpa.ConditionFactory.name (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Name.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from this parameter is set for the Name internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by this parameter is set for the Name internal attribute of this object.
Returns
Returns a Condition-type object

◆ pane()

def urpa.ConditionFactory.pane (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Pane" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ progress_bar()

def urpa.ConditionFactory.progress_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ProgressBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ radio_button()

def urpa.ConditionFactory.radio_button (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "RadioButton" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ regexp()

def urpa.ConditionFactory.regexp (   self,
  re 
)

This method returns a Condition-type object that has the condition of the regular expression redeclared for the internal attributes Name, Value, Automation ID, and Class Name.

Parameters
reString A regular expression is created and evaluated according to the following rules
  • [abc] corresponds to a or b or c
  • [a-z] corresponds to one character from a to z
  • [^abc] corresponds to all except a, b or c
  • [^a-z] corresponds to all except a character from a to z
  • . corresponds to any one character
  • x+ corresponds to n characters x, n>0
  • x* corresponds to n characters x, n>=0
  • z? corresponds to the character z or blank
  • abc|cba corresponds to the abc or cba string
  • ^ start of text
  • $ end of text
  • \t TAB
  • \ escape character
  • 1(2-3) corresponds to 12 and 13
Returns
Returns a Condition-type object

◆ scroll_bar()

def urpa.ConditionFactory.scroll_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ScrollBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ semantic_zoom()

def urpa.ConditionFactory.semantic_zoom (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "SemanticZoom" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ separator()

def urpa.ConditionFactory.separator (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Separator" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ size()

def urpa.ConditionFactory.size (   self,
  x,
  y 
)

This method returns a Condition-type object that has validation set to parameters x and y for the internal attribute Size.

Only GUI elements that are exactly equal to (x, y) in size match the resulting condition.

Parameters
xint Represents the horizontal value of the Size internal attribute in an object tied to an instance of this class.
yint Represents the vertical value of the Size internal attribute in an object tied to an instance of this class.
Returns
Returns a Condition-type object

◆ slider()

def urpa.ConditionFactory.slider (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Slider" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ spinner()

def urpa.ConditionFactory.spinner (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Spinner" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ split_button()

def urpa.ConditionFactory.split_button (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "SplitButton" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ status_bar()

def urpa.ConditionFactory.status_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "StatusBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tab()

def urpa.ConditionFactory.tab (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Tab" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tab_item()

def urpa.ConditionFactory.tab_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "TabItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ table()

def urpa.ConditionFactory.table (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Table" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ text()

def urpa.ConditionFactory.text (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Text" and the Name, Value, Automation ID, and Class Name attributes set to val.

ยจ

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ thumb()

def urpa.ConditionFactory.thumb (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Thumb" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ title_bar()

def urpa.ConditionFactory.title_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "TitleBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tool_bar()

def urpa.ConditionFactory.tool_bar (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ToolBar" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tool_tip()

def urpa.ConditionFactory.tool_tip (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "ToolTip" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tree()

def urpa.ConditionFactory.tree (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Tree" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ tree_item()

def urpa.ConditionFactory.tree_item (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "TreeItem" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

◆ value()

def urpa.ConditionFactory.value (   self,
  val 
)

This method returns a Condition-type object that has validation set to the val parameter for the internal attribute Value.

Parameters
valString or object The condition created using the regexp() method. If this is a String-type parameter, an exact match with a string from the val parameter is set for the Value internal attribute of this object. If this is a Condition-type parameter, validation from the object passed by the val parameter is set for the Value internal attribute of this object.
Returns
Returns a Condition-type object

◆ window()

def urpa.ConditionFactory.window (   self,
  val = None 
)

This method returns a Condition-type object that has the Control Type attribute set to "Window" and the Name, Value, Automation ID, and Class Name attributes set to val.

Parameters
valString or Condition If this is a String-type parameter, the string represents the value of the Name, Value, Automation ID, and Class Name attribute in an object tied to an instance of this class. If this is a Condition-type parameter, validation from the active attributes of the object passed by the val parameter is set.
Returns
Returns a Condition-type object

The documentation for this class was generated from the following file: