anchor.diff:  	set tagui_html_report=true
   )
   
  +set tagui_upload_result=false
  +rem check upload parameter to upload flow result to online storage
  +if "%arg2%"=="upload" (
  +	set arg2=
  +	set tagui_upload_result=true
  +)
  +if "%arg3%"=="upload" (
  +	set arg3=
  +	set tagui_upload_result=true
  +)
  +if "%arg4%"=="upload" (
  +	set arg4=
  +	set tagui_upload_result=true
  +)
  +if "%arg5%"=="upload" (
  +	set arg5=
  +	set tagui_upload_result=true
  +)
  +if "%arg6%"=="upload" (
  +	set arg6=
  +	set tagui_upload_result=true
  +)
  +if "%arg7%"=="upload" (
  +	set arg7=
  +	set tagui_upload_result=true
  +)
  +if "%arg8%"=="upload" (
  +	set arg8=
  +	set tagui_upload_result=true
  +)
  +if "%arg9%"=="upload" (
  +	set arg9=
  +	set tagui_upload_result=true
  +)
  +
   rem concatenate parameters in order to fix issue when calling casperjs test
   rem $1 left out - filenames with spaces have issue when casperjs $params
   set params=%arg2% %arg3% %arg4% %arg5% %arg6% %arg7% %arg8% %arg9%
  
positive.code: 	)
  )
  
  if %tagui_test_mode%==false (
  	casperjs "%flow_file%.js" %params%%api% | tee -a "%flow_file%.log"
  ) else (
  	casperjs test "%flow_file%.js" %params%%api% --xunit="%flow_file%.xml" | tee -a "%flow_file%.log"
  )
  
  )
  :break_for_loop
  
  
negative.code: 	move "%flow_file%.html.tmp" "%flow_file%.html" > nul
  )
  
  rem check upload option to upload result to hastebin.com
  for /f "usebackq" %%f in ('%flow_file%.log') do set file_size=%%~zf
  if %file_size% gtr 0 if %tagui_upload_result%==true (
  rem set flow_file to blank or the variable will break that tagui call
  	set "tmp_flow_file=%flow_file%"
  	set flow_file=
  	tagui samples\8_hastebin quiet "!tmp_flow_file!"
  )
  
  rem change back to initial directory where tagui is called
  cd /d "%initial_dir%"
  
  