Project

General

Profile

get_sys_parms.xml

Eugenie Lyzenko, 08/24/2012 06:43 PM

Download (595 Bytes)

 
1
<?xml version="1.0"?>
2
<test name="get_sys_parms" description="Getting some system parameters." >
3

    
4
   <!-- Waiting for a screen buffer become available -->
5
   <wait-for-screen-buffer millis="5000" />
6
   <!-- Read the topmost line to the already defined variable -->
7
   <read-string name="shellPromptText" row="0" column="0" width="80"/>
8
   <!-- Running pure Java code inside testing to truncate possible spaces -->
9
   <run-code>
10
      <![CDATA[
11
         // Remove trailing whitespaces from the string just read
12
         shellPromptText = shellPromptText.trim();
13
      ]]>
14
   </run-code>
15

    
16
</test>