User Tools

Site Tools


en:5250_as400_adaptor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:5250_as400_adaptor [2021/04/22 15:10]
montse
— (current)
Line 1: Line 1:
-====== 5250/AS400 Adaptor ====== 
- 
- 
-===== Introduction ===== 
- 
-This adapter is used to run tests on the As400 Adaptor 5250. 
-===== Configuration ===== 
-In the initialization process it is necessary to supply the information to connect to the As400 5250 server. That is the information of the Adapter object. 
- 
-This executor must be downloaded: ​ 
- 
-{{:​en:​java.png?​100|}} ​   ​ 
- 
-===== Initialization Parameters ===== 
- 
- 
-5250 - We are going to fill in the necessary parameters of the adapter.\\ \\ **Adapter** = 5250\\ **Session Name ** = Name that we want to give.\\ \\ **Host:**\\ - VPS = PUB400.COM\\ - TAST1 = descfvkr.de.scf.corp\\ \\ **Port:**\\ - VPS = 23\\ - TAST1 = 23\\ \\ **Proxy Port**\\ - 1080 for the 2 environments.\\ \\ **tnEnhanced**\\ - Marked for the 2 environments.\\ \\ **Screen Size**\\ - 24 * 80 for the 2 environments.\\ \\ **SSL**\\ - NONE For the 2 environments.\\ \\ ** Codepage**\\ ​ - INTERNAL - Built-in EBCDIC conversion (CP037).\\ For the 2 environments. 
- 
-===== Functions ===== 
- 
-  * **containsText(Text):​** This function evaluates whether within the host screen, there is a specific text that we define in said function.\\ 1.- In the message mapping, the text that we want to find is added in the **Value** field. 
- 
-  * **nextScreen:​** This function directly advances to the next navigation screen previously you will have had to go through it to find it).\\ It does not require parameters in the encoding. (Function not activate at the moment). 
- 
-  * **previusScreen:​** This function directly advances to the previus navigation screen.\\ It does not require parameters in the encoding. (Function not activate at the moment). 
- 
-  * **readField(Field,​Offset,​Length):​** This function reads a field that we define in its parameters:​\\ ​         ​ 
-     ​*Parameter = Field-> Position (numeric) in which the field is located. it is counted visually on the screen, as it is not indicated anywhere.\\ ​ 
-     ​*Parameter = Offset-> Position 0.\\  ​ 
-     ​*Parameter = Length-> Length of the field that we are going to read. 
- 
-  * **readRow(Row):​** This function reads a certain line from the screen. The whole line.\\ ​ 
-     ​*Parameter = Row> Position (numeric) where the line is located.\\ \\ This data can be seen at the bottom right of the screen:\\ \\   ​{{{{:​en:​imagen1en.png?​450|}} ​   
-\\  
-  * **readScreen:​** This function reads the screen you are positioned on.\\ Function without parameters. 
- 
-  * **rowContaintsText(Text,​Row):​** This function checks if there is a certain text in a screen free.\\ ​     ​ 
-     ​*Parameter = Text -> We introduce the text to search.\\ ​ 
-     ​*Parameter = Row-> Position (numeric) of the line.\\ \\ This data can be seen at the bottom right of the screen.\\ \\   ​{{{{:​en:​imagen2en.png?​450|}} ​ 
-\\  
- 
-  * **waitForCursor:​** This function waits for the cursor to appear on the screen that we want to see next.\\ ​ 
-     ​*Parameter = timeinSeconds -> Value: Time in seconds.\\ ​ 
- 
-  * **writeAftherLabel (Label, Text):** This function writes any text to the screen, **after** the label that we have defined in the Label parameter has been shown (on the screen).\\ ​ 
-     ​*Parameter->​ Label = Value-> Text to appear.\\ ​ 
-     ​*Parameter->​ Text = Text that we are going to write.\\ ​ 
- 
-  * **writeBeforeLabel (Label, Text):** This function writes any text to the screen **before** the label that we have defined in the Label parameter has been shown (on the screen).\\ ​ 
-     ​*Parameter->​ Label = Value-> Text to appear.\\ ​ 
-     ​*Parameter->​ Text = Text that we are going to write.\\ ​ 
- 
-  * **writeField (Text, Field, Offset):** This function writes in a certain field the value that we define in the Text parameter.\\ ​ 
-     ​*Parameter->​ Text = Value-> Text that should appear.\\ ​ 
-     ​*Parameter->​ Field = Field that we are going to write.\\ ​ 
-     ​*Parameter->​ Offset = Field position (Position 0). 
-        
-  * **writeKey (Key):** This function executes a predefined key on the screen.\\ (ENTER, PF8, PF4… ..etc).\\ ​ 
-     ​*Parameter->​ Key = Value-> Function key.\\ ​ 
- 
-  * **writeText (Text, Row, Column):** This function writes a text in a defined position.\\ (line and column).\\ ​ 
-     ​*Parameter->​ Text = Value-> Text to write.\\ ​ 
-     ​*Parameter->​ Row = Value-> Line Number.\\ ​ 
-     ​*Parameter->​ Column = Value-> Column number.\\ \\ This data can be seen at the bottom right of the screen.\\ \\ {{:​en:​imagen3en.png?​450|}} 
- 
- 
- 
-        
-        
-        
-        
- 
- 
- 
  
en/5250_as400_adaptor.1619104258.txt.gz · Last modified: 2021/04/22 15:10 by montse