Yes, I did add to the Object mapping. I removed this grid from the object mapping and was able to see the wvalue but wrowcount , find row are missing. In case I add this grid to the object mapping, I dont see the wvalue property but wrowcount property is seen..how can I fix this where I can see this, my script needs both wrowcount and wvalue.
I am using 12.50 testcomplete version.
var flag = 0;
for(var i= 0;i<Grid7.wRowCount;i++){
if((aqConvert.VarToStr(Grid7.wValue(i,1))== "500322") && (aqConvert.VarToStr(Grid7.wValue(i,2))== "COUNTRY") && (aqConvert.VarToStr(Grid7.wValue(i,3))== "TEST") && (aqConvert.VarToStr(Grid7.wValue(i,4))== "Canada")){
Log.Message("Row exists");
flag = 1;
break;
}
}
if(flag ==0){
Log.Message("Row does not exist");
}