Custom framework with LeanFT

Question ID: 106315
0
0

Can I use my own framework with LeanFT?

Marked as spam
Posted by (Questions: 188, Answers: 22)
Asked on August 7, 2015 2:45 pm
6 views
Answers (1)
1
Private answer

To use your own framework with LeanFT:

1.Reference the SDK files.

**In Visual Studio:**

Add references to the DLLs located in: SDKDotNet.

**In Eclipse:**

Add the jar files (except the javadoc.jar) from: SDKJava to your build path.

2.Use SDK.Init to initialize the SDK

You use SDK.Init to bring in the settings via the app.config (Visual Studio) or leanft.properties (Eclipse). There is a previous post with information about these files.

The SDK.Init must run once at the beginning of each run.

*If you want to use default values for the SDK, you need only the following line to initialize the SDK:

SDK.Init(newSdkConfiguration();

Alternatively, you can create a LeanFT MSTest or JUnit project and delete the template test (.cs or .java) file that is provided, and then build your framework from there.

Marked as spam
Posted by (Questions: 2, Answers: 438)
Answered on August 7, 2015 2:50 pm