Class ElementQuery
Syntax
public class ElementQuery : MonoBehaviour
Properties
ElementPool
Declaration
public List<GameObject> ElementPool { get; set; }
Property Value
Instance
Declaration
public static ElementQuery Instance { get; }
Property Value
Methods
ConstructQuerySelectorString(GameObject)
Create a query string to find an object in playback.
Declaration
public static string ConstructQuerySelectorString(GameObject go)
Parameters
Returns
Find(String)
Use supplied query selector string to identify a matching GameElement.
Declaration
public static GameObject Find(string querySelector)
Parameters
Type |
Name |
Description |
String |
querySelector |
|
Returns
FindAll(String)
Use supplied query selector string to identify a matching GameElement.
Declaration
public static List<GameObject> FindAll(string querySelector)
Parameters
Type |
Name |
Description |
String |
querySelector |
|
Returns
GetAllActiveGameObjects()
Declaration
public List<GameObject> GetAllActiveGameObjects()
Returns
GetChildren(List<GameObject>)
Declaration
public static List<GameObject> GetChildren(List<GameObject> objs)
Parameters
Returns
RegisterElement(GameElement)
Puts a new GameElement into the limited pool of GameObjects that have been registered as being of interest to Automated Testing.
Declaration
public void RegisterElement(GameElement el)
Parameters
ValidatePropertiesAndAttributes(GameElement)
Declaration
public void ValidatePropertiesAndAttributes(GameElement el)
Parameters