Forum Discussion
- rraghvaniChampion Level 3
There seems to be a type mismatch with what you are using. Is the error occurring on the line Browsers.Item(btEdge)?
- Hassan_BallanFrequent Contributor
Hello,
From your screen shot the value "--inPrivate" has two dashes and the command correct line "start msedge.exe -inprivate" to start Edge in private mode is with a single dash.
As per TestComplete documentation https://support.smartbear.com/testcomplete/docs/app-testing/web/general/common-tasks/launching-browsers.html#Arguments you are setting it correct, and I failed to make it work as you are experiencing. Probably create a support incident reporting it.
For a work around, use "Rub Code Snippet" rather than "Call Object Method".
Related Content
Recent Discussions
- 28 days ago
- 5 days ago
- 5 days ago
- 9 days ago