ContributionsMost RecentMost LikesSolutionsRe: aqObject.CheckProperty- (checkpoint on Content text) Control does not go to else condition Thanks for your input :-)I tried comparing directly as you mentioned in the example. nothing seemed to work. I used switch case too. It just skipped the if statement during execution I am new to TestComplete, Below options I tried before posting my question here. I will try the CompareProperty option and update you //Option 1 (Checkpoint evailated to False error) if((aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4, "contentText", cmpEqual, "Order accepted", false))==true){ Log.Message("Order Accepted") } else{ if(aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4.textnodeLabelLabelDangerSubtleSt, "contentText", cmpEqual, "A pending order already exists.", false)==true){ //Code // } //} var clmnStatus = Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4.textnodeLabelLabelDangerSubtleSt var fileStatus = clmnStatus.textContent Log.Message("Status: " +fileStatus ) //Option 2 if((clmnStatus.Exists)&&(fileStatus=="Order accepted")){ aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4.textnodeLabelLabelDangerSubtleSt, "contentText", cmpEqual, "Order accepted") //code } else{ //code } //Option 3 (Skipped swicth statement (Nothing inside Switch statement got executed)) switch(fileStatus) { case "Order accepted": Log.Message("Order Accepted"); break; case "A pending order already exists.": //Code break; } //Option 4 (Skipped the If/else staement during execution) if(fileStatus = "Order accepted"){ aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4, "contentText", cmpEqual, "Order accepted") Log.Message("Order Accepted") } else{ if(fileStatus="A pending order already exists."){ //code } } Re: aqObject.CheckProperty- (checkpoint on Content text) Control does not go to else condition The error is "The property checkpoint failed, because Exists does not equal (case-insensitive) "Order accepted". See Additional Information for details. 15:37:46 Normal 10.48". See Additional Information for details. 9:49:37 Normal 10.58 which is the condition I gave inside If Re: aqObject.CheckProperty- (checkpoint on Content text) Control does not go to else condition I tried the Exists option, it did not work as well. Re: aqObject.CheckProperty- (checkpoint on Content text) Control does not go to else condition Hi, Thanks for your reply. The text is exactly same how it is showing in object properties. I tried the Case Sensitive option as well still did not work. If condition evaluates to false then the Control should go to else right? but it is not going. aqObject.CheckProperty- (checkpoint on Content text) Control does not go to else condition Hi, Is there anything wrong with below code? Control is not going to Else conditon even if the If condition is not true. It just evalutes If condition and throws an error. Note: Object properties for both are same only the "content text" differs. if((aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4, "contentText", cmpEqual, "Order accepted"))==true){ Log.Message("Order Accepted") } else{ if(aqObject.CheckProperty(Aliases.browser2.pageFos2.formPlaceorder.tableOrderlist.cellColumn4, "contentText", cmpEqual, "A pending order already exists.")==true){ //Code goes here } } Solved