Changeset 2524008 in sasview for build_tools/sasview_deploy_test.au3


Ignore:
Timestamp:
Sep 15, 2016 6:33:57 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
4070d91
Parents:
c08fd96
git-author:
Piotr Rozyczko <rozyczko@…> (08/22/16 07:25:19)
git-committer:
Piotr Rozyczko <rozyczko@…> (09/15/16 06:33:57)
Message:

Deployment script: added a test of compiled models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build_tools/sasview_deploy_test.au3

    r90d389d r2524008  
    9292   ; Start app - DEBUG ONLY 
    9393   ;;Run("C:\Program Files (x86)\SasView\SasView.exe") 
     94   Run("C:\util\SasView\SasView.exe") 
     95   local $sActiveWindow = "SasView  - Fitting -" 
    9496   Local $iFailFlag = 2 
    9597   ; Wait for the window 
    9698   Sleep(1000) 
    97    Local $hWnd = WinWaitActive("SasView  - Fitting -", "", $lTimeout) 
     99   Local $hWnd = WinWaitActive($sActiveWindow, "", $lTimeout) 
    98100   Assert($hWnd, $iFailFlag) 
    99101 
     
    113115   ControlClick($hWnd, "Send To", 231) 
    114116 
    115    ;; Choose a model 
     117   ;; Choose a python model 
    116118   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 1) 
    117  
    118119   ;; Calculate the model 
    119120   ControlClick($hWnd, "Compute", 211) 
     121   ;; Assure we got the charts 
     122   Local $hPlot = WinWait($sActiveWindow, "Graph2", $lTimeout) 
     123   Assert($hPlot, $iFailFlag) 
     124   $hPlot = WinWait($sActiveWindow, "Graph3", $lTimeout) 
     125   Assert($hPlot, $iFailFlag) 
     126 
     127   sleep(1000) 
     128   ;; Calculate a compiled model 
     129   ControlClick($hWnd, "Send To", 231) 
     130 
     131   ;; Choose Shapes/Cylinder 
     132   ControlCommand($hWnd, "", "ComboBox2", "SetCurrentSelection", 1) 
     133   ControlCommand($hWnd, "", "ComboBox3", "SetCurrentSelection", 11) 
     134   ;; Calculate the model 
     135   ControlClick($hWnd, "Compute", 211) 
     136 
     137   ;; Assure we got another chart 
     138   $hPlot = WinWait($sActiveWindow, "Graph4", $lTimeout) 
     139   Assert($hPlot, $iFailFlag) 
    120140 
    121141   ;; Close SasView 
Note: See TracChangeset for help on using the changeset viewer.