We are using NLWebDriver for integrating our Selenium Framework with Neoload for automated scripting.
Our framework executes multiple Selenium scripts(Neoload userPath) in a batch. As of now only during creating driver we can set userpath name:
NLWebDriverFactory.newNLWebDriver(driver,"userPath", "projectPath");
But as we reuse the same driver instance for all execution, we will like to set different userPath name during the batch execution.
How can we do that..?
It's not possible with the actual state of the Selenium integration, one execution is associated to a NeoLoad recording and so to a NeoLoad User Path.
You would like to manually call NLWebDriver.StartRecording("userPath") and NLWebDriver.StopRecording() inside your Selenium script? As it's done for Transaction.