Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/sasview_deploy_test.au3

    r55bbe0b2 re9f8208  
    9292   ; Start app - DEBUG ONLY 
    9393   ;;Run("C:\Program Files (x86)\SasView\SasView.exe") 
     94   local $sActiveWindow = "SasView  - Fitting -" 
    9495   Local $iFailFlag = 2 
    9596   ; Wait for the window 
    9697   Sleep(1000) 
    97    Local $hWnd = WinWaitActive("SasView  - Fitting -", "", $lTimeout) 
     98   Local $hWnd = WinWaitActive($sActiveWindow, "", $lTimeout) 
    9899   Assert($hWnd, $iFailFlag) 
    99100 
     
    113114   ControlClick($hWnd, "Send To", 231) 
    114115 
    115    ;; Choose a model 
     116   ;; Choose a python model 
    116117   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 1) 
    117  
    118118   ;; Calculate the model 
    119119   ControlClick($hWnd, "Compute", 211) 
     120   ;; Assure we got the charts 
     121   Local $hPlot = WinWait($sActiveWindow, "Graph2", $lTimeout) 
     122   Assert($hPlot, $iFailFlag) 
     123   $hPlot = WinWait($sActiveWindow, "Graph3", $lTimeout) 
     124   Assert($hPlot, $iFailFlag) 
     125 
     126   sleep(1000) 
     127   ;; Calculate a compiled model 
     128   ControlClick($hWnd, "Send To", 231) 
     129 
     130   ;; Choose Shapes/Cylinder 
     131   ControlCommand($hWnd, "", "ComboBox2", "SetCurrentSelection", 1) 
     132   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 11) 
     133   ;; Calculate the model 
     134   ControlClick($hWnd, "Compute", 211) 
     135 
     136   ;; Assure we got another chart 
     137   $hPlot = WinWait($sActiveWindow, "Graph4", $lTimeout) 
     138   Assert($hPlot, $iFailFlag) 
    120139 
    121140   ;; Close SasView 
Note: See TracChangeset for help on using the changeset viewer.