All, Thanks for your valuable time spending on my post. I came up with some idea, as below for the above situation.
CheckPoint = rdp_sync_on_image("StepDescription=Image Synchronization",
"WaitFor=Appear",
"Tolerance=Exact",
"Timeout=20",
"AddOffsetToInput=Default",
"FailStepIfNotFound=No",
IMAGEDATA,
"ImageLeft=529", "ImageTop=207", "ImageWidth=308", "ImageHeight=313", "ImageName=sync_314.png", ENDIMAGE,
RDP_LAST);
//converting int to char
itoa(CheckPoint,CheckPoint_String,10);
//saving the "char" value to string
lr_save_string(CheckPoint_String,"CheckPoint_Value");
//using the string for comparison with "0"(LR_PASS)
if (0==strcmp(lr_eval_string("{CheckPoint_Value}"),"0"))
{
rdp_mouse_click("StepDescription=Mouse Click",
"Snapshot=snapshot_315.inf",
"MouseX=780",
"MouseY=282",
"MouseButton=LEFT_BUTTON",
"Origin=Default",
RDP_LAST);
}
Feel free to leave to suggestions.
Thanks
Nan_Raso