<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi All,<br>
<br>
I am very new to paraview (so please excuse my ignorance when asking
this question) and I want to use a recorded test case to produce an
image snapshot. I have recorded a test case using the Tools -> Record Test and in this test case I load in a state file, adjust some of the view settings and then save an image snapshot. Recording the test case file (which I called first.xml) seems to work well. However, when I play the file everything works right up until the point at which the image snapshot should be taken and I get a message in an output window which states: Couldn't find object "MainWindow/FileSaveScreenshotDialog" and then on the next line: Found up to "MainWindow". It then stops, so that I need to press the OK button on the Save Snap Shot dialogue box to continue. I have to do this manually whereas I want the xml file to automatically do this.<br><br>I have tried both recording and running the test case on two different linux machines (one running Ubuntu and the other SuSe) and I get the same problem on both. I am using the 64bit binary version of paraview 3.4.0. Is there something obvious that I am missing?. Any tips, suggestions or references to what I could try to fix this would be most appreciated.<br><br>The listing of the first.xml file is as follows:<br><br><?xml version="1.0" ?><br><pqevents><br> <pqevent object="MainWindow/menubar/menuFile" command="activate" arguments="actionFileLoadServerState" /><br> <pqevent object="MainWindow/FileLoadServerStateDialog" command="filesSelected" arguments="/home/preichl/PARAVIEW/first.pvsm" /><br> <pqevent object="outputDialog/closeButton" command="activate" arguments="" /><br> <pqevent object="MainWindow/MultiViewManager/SplitterFrame/MultiViewSplitter/0/MultiViewFrameMenu/OptionsButton" command="activate" arguments="" /><br> <pqevent object="MainWindow/ActiveRenderViewOptions/PageNames" command="mousePress" arguments="1,1,0,14,12,/2:0" /><br> <pqevent object="MainWindow/ActiveRenderViewOptions/PageNames" command="mouseRelease" arguments="1,0,0,14,12,/2:0" /><br> <pqevent object="MainWindow/ActiveRenderViewOptions/Stack/pqRenderViewOptions/stackedWidget/Annotation/OrientationAxes" command="mousePress" arguments="1,1,0,11,4" /><br> <pqevent object="MainWindow/ActiveRenderViewOptions/Stack/pqRenderViewOptions/stackedWidget/Annotation/OrientationAxes" command="mouseRelease" arguments="1,0,0,11,4" /><br> <pqevent object="MainWindow/ActiveRenderViewOptions/Stack/pqRenderViewOptions/stackedWidget/Annotation/groupBox_3/CenterAxesVisibility" command="set_boolean" arguments="false" /<br>><br> <pqevent object="MainWindow/ActiveRenderViewOptions/CloseButton" command="activate" arguments="" /><br> <pqevent object="MainWindow/menubar/menuFile" command="activate" arguments="actionFileSaveScreenshot" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/width" command="set_string" arguments="8" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/width" command="set_string" arguments="80" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/width" command="set_string" arguments="800" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/height" command="set_string" arguments="6" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/height" command="set_string" arguments="60" /><br> <pqevent object="MainWindow/SaveSnapshotDialog/height" command="set_string" arguments="600" /><br> <pqevent object="MainWindow/FileSaveScreenshotDialog" command="filesSelected" arguments="/home/preichl/PARAVIEW/first" /><br> <pqevent object="outputDialog/closeButton" command="activate" arguments="" /><br></pqevents><br><br><br>Thanks,<br><br>Paul Reichl<br><br /><hr />Sell your car for just $50. <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT' target='_new'>It's simple! </a></body>
</html>