开发者

BEST WAY ??? automated-tests with powershell-scripts in internetexplorer (Windows7)

开发者 https://www.devze.com 2023-01-22 09:27 出处:网络
Currently I create a program, which shall automated-tests. To allow for this problem-free I must deactivate Silverlight (because my scripts don´t work in windows7 otherwise).

Currently I create a program, which shall automated-tests. To allow for this problem-free I must deactivate Silverlight (because my scripts don´t work in windows7 otherwise). Is there a chance to do this, without the user must admin-permissions have?

If yes: what chance is it? If no: Can I create the program only for users with admin-permissions or have I other ch开发者_如何转开发ances (for example: manipulate Silverlight, so that my Scripts work with Silverlight ...)?

thanks


If you don't need Addons in your IE you could just start it with the -extoff parameter which disables all addons, including Silverlight. In Powershell it might look like this:

Start-Process iexplore.exe -ArgumentList -extoff
0

精彩评论

暂无评论...
验证码 换一张
取 消