How could LeanFT
check licensing status, when JAR file is generated from a LeanFT
project and executed without use of an IDE? In this case LeanFT
runtime engine isn't started and URL of license server is not stored in jar file.
LeanFT is more than just that .jar
file, and the engine logic takes place somewhere else. Roughly, LeanFT consists of two main parts:
.jar
file, but could've been a .cs
or .js
test and would have acted just the same.Browser.launch
and Element.click
.The whole journey a command makes is roughly something as follows:
LFT.init
is executed somewhere in the code.
leanft.properties
file), or at runtime, via a configuration object (for java, it is a ModifiableSDKConfiguration
object). Some minimal guidance regarding this configuration can be found hereclick
) can't execute as there is no WS connectionElement.click
is executed somewhere later in the codeVisualized, it is something like this: