Unanswered question

How to provide userPath name at run time while using NLWebDriver

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..?

Arijit B.
Arijit B.

Arijit B.

Level
0
4 / 100
points

Answers

Alexis N.
Alexis N.

Alexis N.

Level
1
579 / 750
points
Team

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.