TestFunctionByName Method

Gets the TestFunction with the specified name in the TestGroup with the specified test group name.

Type: TestCollection

Namespace: XJTAG.Integration.XJRunner

Syntax

public TestFunction TestFunctionByName(string testGroupName, string testFunctionName)

Parameters

testGroupName

Type: string

Name of the test group.

testFunctionName

Type: string

Name of the test function.

Return Value

TestFunction

The TestFunction with the specified name from the specified test group.

Exceptions

System.ArgumentException

Thrown when the test group name or the function name does not exist in the current TestCollection.