Squirt 3.21
oaGuiTestShapes.ctl File Reference

Shape factory helpers for Splash GUI tests. More...

Functions

public shared_ptr< GuiTestShape > getTestObject (const shape &testShape)
 Builds the GuiTestShape wrapper for a live panel shape. More...
 
public mapping guiTestGetCurrentAttributes (const shape &realShape)
 Reads current test attributes for a live shape. More...
 
public string getNamePathOfShape (const shape &_shape)
 Returns a stable name path for a shape used as VP key. More...
 

Detailed Description

Shape factory helpers for Splash GUI tests.

Shared by OaGuiTest and SquirtVp without a circular library load.

Attention
This documentation is created with the help of an artificial intelligence.

Function Documentation

◆ getNamePathOfShape()

public string getNamePathOfShape ( const shape &  _shape)

Returns a stable name path for a shape used as VP key.

Parameters
_shapeLive WinCC OA shape.
Returns
Shape namePath, or shape name when path is empty.

◆ getTestObject()

public shared_ptr< GuiTestShape > getTestObject ( const shape &  testShape)

Builds the GuiTestShape wrapper for a live panel shape.

Parameters
testShapeLive WinCC OA shape.
Returns
Typed GuiTestShape instance for the shape type.

◆ guiTestGetCurrentAttributes()

public mapping guiTestGetCurrentAttributes ( const shape &  realShape)

Reads current test attributes for a live shape.

Parameters
realShapeLive WinCC OA shape.
Returns
Attribute mapping from the matching GuiTestShape wrapper.