santu_karnatiOccasional Contributor12 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_Baird12 years agoif( i == iRow ) { // log}
2 RepliesReplies sorted by Most LikedPhilip_BairdCommunity Hero12 years agoif( i == iRow ) { // log}santu_karnatiOccasional Contributor12 years agoThanks.. :)
Recent DiscussionsI'm not able to handle cookie pop up with test complete using java script,I'm using windows machine.Unable to install upgrade of TestComplete as previous installation not finished.If statement
Related ContentC#Scripting Mateialsforeach loops in JScript / C#Script...C# Script Multidimensional array length