Hello Friends,
I have tried something as below, but shows some error.
Code :
rdp_save_image("StepDescription=Test_save",
"FileName=c:\\temp\\Test_save",
"ImageTop=559",
"ImageLeft=629",
"ImageHeight=40",
"ImageWidth=107",
"Origin=Default",
RDP_LAST);
if(rdp_sync_on_image("StepDescription=Image Synchronization",
"WaitFor=Appear",
"Tolerance=Medium",
"Timeout=10",
"AddOffsetToInput=Default",
"FailStepIfNotFound=Yes", IMAGEDATA,
"ImageLeft=629",
"ImageTop=559",
"ImageWidth=107",
"ImageHeight=40",
"ImageName=Test_save", // "ImageName=c:\\temp\\Test_save",
ENDIMAGE, RDP_LAST))
when i tried to execute, it show below error :
Virtual User Script started at : 2013-07-28 00:20:55
Starting action vuser_init.
vuser_init.c(14): Connecting to the RDP Server (host: "{Server}", userName: "{User}", domain: "{DOM}") was successful
vuser_init.c(23): Saving current screen snapshot to file 'c:\temp\Test_save'.
vuser_init.c(23): Saving image
vuser_init.c(32): Error: File not found "Test_save" //Error: File not found "c:\temp\Test_save"
vuser_init.c(32): There was an error while synchronizing on image
Abort was called from an action.
When i check manaully in the directory, the exact file exists.
Please help me to sort this out.
Gr8 Thanks !!
Nan Raso