See the above video of creating a property file in a ProvarProject and giving it a name. Then, immediately after the validation fails for this property file due to the escape characters missing on a Windows machine. Here is a screenshot of the failure in VS Code:
The suggested fix should instead create a property file like the below code:
{ "provarHome":"C:/Program Files/Provar21", "projectPath":"C:/Users/16156/git/provardx/ProvarProject", "resultsPath":"C:/Users/16156/git/provardx/ProvarProject/ANT/Results", "smtpPath": "", "resultsPathDisposition": "Increment", "testOutputLevel":"WARNING", "pluginOutputlevel":"WARNING", "stopOnError":false, "lightningMode":true, "connectionRefreshType":"Reload", "metadata":{ "metadataLevel":"Reuse", "cachePath":"../.provarCaches" }, "environment":{ "testEnvironment":"", "webBrowser":"Chrome", "webBrowserConfig":"Full Screen", "webBrowserProviderName":"Desktop", "webBrowserDeviceName":"Full Screen" } ,"testCase":[ "/Test Case 1.testcase" ] }
Or alternatively, you can escape the "\" character each time it appears with another "\" in the JSON values.
{ "provarHome":"C:\\Program Files\\Provar21", "projectPath":"c:\\Users\\16156\\git\\provardx\\ProvarProject", "resultsPath":"c:\\Users\\16156\\git\\provardx\\ProvarProject\\ANT\\Results", "smtpPath": "", "resultsPathDisposition": "Increment", "testOutputLevel":"WARNING", "pluginOutputlevel":"WARNING", "stopOnError":false, "lightningMode":true, "connectionRefreshType":"Reload", "metadata":{ "metadataLevel":"Reuse", "cachePath":"../.provarCaches" }, "environment":{ "testEnvironment":"", "webBrowser":"Chrome", "webBrowserConfig":"Full Screen", "webBrowserProviderName":"Desktop", "webBrowserDeviceName":"Full Screen" } ,"testCase":[ "/Test Case 1.testcase" ] }
See the above video of creating a property file in a ProvarProject and giving it a name. Then, immediately after the validation fails for this property file due to the escape characters missing on a Windows machine. Here is a screenshot of the failure in VS Code:
The suggested fix should instead create a property file like the below code:
{ "provarHome":"C:/Program Files/Provar21", "projectPath":"C:/Users/16156/git/provardx/ProvarProject", "resultsPath":"C:/Users/16156/git/provardx/ProvarProject/ANT/Results", "smtpPath": "", "resultsPathDisposition": "Increment", "testOutputLevel":"WARNING", "pluginOutputlevel":"WARNING", "stopOnError":false, "lightningMode":true, "connectionRefreshType":"Reload", "metadata":{ "metadataLevel":"Reuse", "cachePath":"../.provarCaches" }, "environment":{ "testEnvironment":"", "webBrowser":"Chrome", "webBrowserConfig":"Full Screen", "webBrowserProviderName":"Desktop", "webBrowserDeviceName":"Full Screen" } ,"testCase":[ "/Test Case 1.testcase" ] }
Or alternatively, you can escape the "\" character each time it appears with another "\" in the JSON values.{ "provarHome":"C:\\Program Files\\Provar21", "projectPath":"c:\\Users\\16156\\git\\provardx\\ProvarProject", "resultsPath":"c:\\Users\\16156\\git\\provardx\\ProvarProject\\ANT\\Results", "smtpPath": "", "resultsPathDisposition": "Increment", "testOutputLevel":"WARNING", "pluginOutputlevel":"WARNING", "stopOnError":false, "lightningMode":true, "connectionRefreshType":"Reload", "metadata":{ "metadataLevel":"Reuse", "cachePath":"../.provarCaches" }, "environment":{ "testEnvironment":"", "webBrowser":"Chrome", "webBrowserConfig":"Full Screen", "webBrowserProviderName":"Desktop", "webBrowserDeviceName":"Full Screen" } ,"testCase":[ "/Test Case 1.testcase" ] }