santu_karnatiOccasional Contributor11 years agoSolvedHow to compare two numbers using C#Script in testcomplete 9iRow=4for(i=0;i<10;i++){ if(i=iRow) { log["message"]("matched"); }}If I am trying to compare the values for i=0 also it is writing as matched... Please get the exact logic and syntax for it.Philip_Baird11 years agoMarked as Solutionif( i == iRow ) { // log}
2 RepliesReplies sorted by Most LikedSort ByMost LikedOldestNewestPhilip_BairdCommunity Expert11 years agoif( i == iRow ) { // log}santu_karnatiOccasional Contributor11 years agoThanks.. :)
Related ContentComparing table data in IF not workingIs it possible to unzip a compressed folder through a TestComplete script (c#Script)How to automate slider for the transparency in testcomplete c# scriptingHow to compare images?why C# scripting is not supported from Testcomplete 12
Recent DiscussionsUnbinding a project suite from source controlSolvedIs it possible to test editing a pdf form in a browser?how to use Random Data every time you run a TCChrome/Edge Extension not always working... why?Issues with dropdowns and ClickItem() not working if the dropdown opens in the up directionSolved