File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed 
Framework/Built_In_Automation 
Built_In_Utility/CrossPlatform Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2419,6 +2419,7 @@ def compare_images(data_set):
24192419        # Perform the image comparison based on the structural similarity index 
24202420
24212421        Shared_Resources .Set_Shared_Variables (score , ssim_match )
2422+         print ('Score:' ,ssim_match )
24222423        if  ssim_match  >=  req_ssim :
24232424            CommonUtil .ExecLog (sModuleInfo , "Images match" , 1 )
24242425            return  "passed" 
Original file line number Diff line number Diff line change @@ -1134,8 +1134,8 @@ def _pyautogui(step_data_set):
11341134
11351135    # Recall file attachment, if not already set 
11361136    file_attachment  =  []
1137-     if  sr .Test_Shared_Variables ( "file_attachment" ) :
1138-         file_attachment  =  sr .Get_Shared_Variables ( "file_attachment" ) 
1137+     if  sr .attachment_variables :
1138+         file_attachment  =  sr .attachment_variables 
11391139
11401140    # Parse data set 
11411141    try :
@@ -1171,6 +1171,8 @@ def _pyautogui(step_data_set):
11711171        # Check that we have some value 
11721172        if  file_name  ==  "" :
11731173            return  "zeuz_failed" 
1174+         
1175+ 
11741176
11751177        # Try to find the image file 
11761178        if  file_name  not  in file_attachment  and  not  os .path .exists (file_name ):
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments