UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Run(String,String) Method
Collapse All
Expand All
Language Filter: All
Language Filter: Multiple
Language Filter: Visual Basic
Language Filter: C#
C#
HP.LFT.SDK.APITesting.UFT Namespace
>
APITestRunner Class
>
Run Method
: Run(String,String) Method
The path to the folder containing the .st test file.
The name of the profile to use for test. The profiles are created in UFT in each test.
Runs the specified API Test with the specified test profile.
Remarks
Your API test must have been run in UFT once or compiled before running it with LeanFT.
Syntax
C#
public
static
APITestResult
Run(
string
testPath
,
string
profileName
)
Parameters
testPath
The path to the folder containing the .st test file.
profileName
The name of the profile to use for test. The profiles are created in UFT in each test.
Return Value
The run results of this test run.