hegde217
7 years agoMember
Dynamic loading of script library
Hi Team ,
I would like to load the script library location dynamically in the project load script.
But I was facing some issue where although the log says that the script library location is updated , the step which uses the class from script library was not getting executed. I was facing issue like unable to resolve class.
I also found on your documentation as below where in Thread.sleep(12000) has been mentioned.
project.scriptLibrary = project.getPropertyValue("dataPath")
Thread.sleep(12000)
Is there any reason as to why the sleep is needed. This would slow down our test execution.
Is there any alternative. Please suggest.
Thanks