santu_karnatiOccasional Contributor12 years agoHow 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_Baird12 years agoif( i == iRow ) { // log}
Philip_BairdCommunity Expert12 years agoif( i == iRow ) { // log}santu_karnatiOccasional Contributor12 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# scriptingwhy C# scripting is not supported from Testcomplete 12C#Script language option missing
Recent DiscussionsTestcomplete failing on listboxesLooking to pass values from Execution Plan set upExternal table is not in expected formatHow can I retrieve the text of that dropdown below?Is there a way to fail the test by matching 2 strings?