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.
Andrey_MContributor11 years agoHi 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 ScaleIntegrating TestComplete Scripts [JScripts] with Bamboo Continuous Integrationhow to get ipaddress using jscript in testcomplete?
Recent DiscussionsStarting test complete with debug mode from command lineName mapping editor: Split view drag bar disappearedRunning UI testcases even if screen is lockedNot able to automate Flutter Web Application (Not mobile/iOS app)Model dialogues in VM screen