Unanswered question

How to do Selenium integration with C# Visual Studio using -Dnl.selenium.proxy.mode=Design

We have Selenium scripts in C# that use Visual Studio. I am trying to integrate the selenium scripts with NeoLoad in the Design mode.

Can someone give me an example of how to set the -Dnl.selenium.proxy.mode=Design in C#/Visual Studio?

I have my webdriver and everything setup. I just do not know how to tell Selenium to run the NeoLoad web driver in Design mode. It looks like I just really need an example where to tell it to change the proxy and how to pass that into my web driver.

All the help files says this. But it does not help at all.
To set the mode
Use the nl.selenium.proxy.mode property.

The property needs to be passed as a VM option or a program argument.
Examples: -Dnl.selenium.proxy.mode=Design

I do not understand how to pass it into the C# script.

Tony A.
Tony A.

Tony A.

Level
0
3 / 100
points

Answers

Alexis N.
Alexis N.

Alexis N.

Level
2
1255 / 2000
points
Team

You can find more information on program arguments in Visual Studio here: http://dailydotnettips.com/2011/09/16/how-to-pass-command...

You can also add en environment variable from the code. For example
Environment.SetEnvironmentVariable("nl.selenium.proxy.mode", "Design");