arjuna.tpi.guiauto.source.base module

class arjuna.tpi.guiauto.source.base.GuiSource

Bases: object

GUI Source of a GUI entity.

Not meant to be directly constructed by a test author. Retrieve as:

gui_entity.source
property content

Source content of associated GUI entity returned as GuiSourceContent.

class arjuna.tpi.guiauto.source.base.SingleGuiEntitySource(raw_source, partial=False)

Bases: arjuna.tpi.guiauto.source.base.GuiSource

Abstract Base class for GUI Source of a Singular GUI entity (GuiPage or GuiElement).

Not meant to be directly constructed by a test author. Retrieve as:

gui_entity.source
Parameters
  • raw_source – Raw XML source.

  • root_tag – ‘html’ for Gui and ‘body’ for GuiElement.

property node

Source code as an Arjuna XmlNode for advanced inquiry and parsing.