Class ElementQuery
Syntax
public class ElementQuery : MonoBehaviour
Properties
ElementPool
Declaration
public List<GameObject> ElementPool { get; set; }
Property Value
Type |
Description |
List<GameObject> |
|
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
Type |
Name |
Description |
GameObject |
go |
|
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
Type |
Description |
GameObject |
|
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
Type |
Description |
List<GameObject> |
|
GetAllActiveGameObjects()
Declaration
public List<GameObject> GetAllActiveGameObjects()
Returns
Type |
Description |
List<GameObject> |
|
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