AppFriend

Class Overview

It's a class for manipulating applications that have been Friendly enabled.
Can declare variables and call static methods.
Inherited classes are provided for each connection type.
 
 

 
public FriendlyOperation this[string staticOperation]{ get; }
public FriendlyOperation this[string staticOperation, Async async]{ get; }
public FriendlyOperation this[string staticOperation, OperationTypeInfo operationTypeInfo]{ get; }
public FriendlyOperation this[string staticOperation, OperationTypeInfo operationTypeInfo, Async async]{ get; }
public FriendlyOperation this[Type type, string operation]{ get; }
public FriendlyOperation this[Type type, string operation, Async async]{ get; }
public FriendlyOperation this[Type type, string operation, OperationTypeInfo operationTypeInfo]{ get; }
public FriendlyOperation this[Type type, string operation, OperationTypeInfo operationTypeInfo, Async async]{ get; }
Description
Acquires delegates for calling static operations in test target application.
 
Return value
A delegate for calling static operation in the application.
Parameters
staticOpeartion
Selects by Namespace.Class.OperationName(Method, Property, Field)
type
Type information storing a static call.
operation
Name of the operation.
operationTypeInfo
Operation type information.
Used to call operation of the same name of a parent class when two or more overloads exist for the indicated operation.
In many cases, an overload can be resolved using the parameters without specifying an OperationTypeInfo.
 
async
An asynchronous execution.
 
 
 

public AppVar Dim()
 
Description
Declares null variables in test target applications.
 
Return value
Variable in the application.
 
 

public AppVar Dim(object obj)
 
Description
Declares a variable initialized with the specified object in the application under test.
The reference of the selected object is serialized, transmitted, and deserialized, stored in the variable declared as an initial value, rather than being declaring a reference to the specified object within the application.
 
 
Return value
Variable in the application
 
Parameter
obj
The initial value of the variable to be declared inside the application.
It is necessary to be a type which can be serialized, or null.
 
 

public AppVar Dim(NewInfo newInfo)
 
Description
Declares a variable within the application under test using the specified information.
 
Return value
Variable in the application
Parameters
newInfo
Object generation information
 
 
 

public AppVar Dim(NewInfo newInfo, OperationTypeInfo operationTypeInfo)
Description
Declares a variable within the application under test using the specified information.
 
Return value
Variable in the application
Parameter
newInfo
Object generation information
operationTypeInfo
Operation type information.
Used to differentiate between multiple constructor overloads.
In many cases, the overload can be resolved simply by its parameters without using an OperationTypeInfo.
 
 

JR