ngalchenkoNew Contributor11 years agoSolvedHow to use Consts in TestComplete (JScript) ? I need to declare constants in my JScript code. 1. I tried this code: Consts TestID=50; Program breaks on this line and I am getting compilation error. 2. I tried const TestID=50;...Show MoreAndrey_M11 years agoMarked as SolutionHi Natalya.JScript in TC does not support constants.You may use either variables or functions which return a value.
Andrey_M11 years agoMarked as SolutionHi Natalya.JScript in TC does not support constants.You may use either variables or functions which return a value.
Andrey_M11 years agoMarked as SolutionHi Natalya.JScript in TC does not support constants.You may use either variables or functions which return a value.
Related ContentA const value does not work in other filesTestComplete with Zephyr ScaleTestComplete with Zephyr Scalehow to get ipaddress using jscript in testcomplete?Differences in recording JScripts
Recent DiscussionsIssues with dropdowns and ClickItem() not working if the dropdown opens in the up directionSolvedProject error stopping executionInspecting a DotNetBrowser Chromium controlDynamic ObjectGIT option are greyed out