---
sourceDocument: Brazil Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/integrate-applications

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# IBM Personal Communications emulator methods

# IBM Personal Communications emulator methods {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 7 minutes to read  
Use the IBM Personal Communications emulator methods to perform various automation tasks on the IBM Personal Communications emulator.

## Screen-level methods {#pcomm-terminal-methods__section_dkr_1db_51c}

Use screen-level methods to perform the automation tasks on the emulator screen. For example, you can simulate a command on the screen or get text from the screen.

## GetFieldText {#pcomm-terminal-methods__section_xqk_wfb_51c}

Returns the text that a field contains after it identifies the field by the row and column number that you specify. The row and column that you specify are the starting point of the field. The method identifies the whole
field and then returns the text in the field. In the following example, `H` is the first letter and the starting point in the field and `Host OS :` is the complete text in the field.

{#pcomm-terminal-methods__table_ubn_ggb_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Row | Field row number that identifies the field. | Data In | Integer | NA | Yes |   |
| Column | Field column number that identifies the field. | Data In | Integer | NA | Yes |   |
| Return | Returns the text in the field. | Data Out | String | NA | NA |   |
[Table 1. GetFieldText method parameters]

{#pcomm-terminal-methods__table_ubn_ggb_51c}

## GetTextFromRect {#pcomm-terminal-methods__section_u4c_mhb_51c}

Returns the text in all the fields of a rectangular area that you define on the screen. You define an area by providing the starting and ending rows and column numbers. The method locates and identifies the first and the last
fields and returns all the text in all the fields within that area. The following example shows the area that you defined.

{#pcomm-terminal-methods__table_e4p_x4b_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| StartRow | Row number that indicates the first character of the first field in the rectangular area. | Data In | Integer | NA | Yes |   |
| StartCol | Column number that contains the first character of the first field in the rectangular area. | Data In | Integer | NA | Yes |   |
| EndRow | Row number that contains the last character of the last field in the rectangular area. | Data In | Integer | NA | Yes |   |
| EndCol | Column number that contains the last character of the last field in the rectangular area. | Data In | Integer | NA | Yes |   |
| Return | Returns the text from all the fields within the rectangular area. | Data Out | String | NA | NA |   |
[Table 2. GetTextFromRect method parameters]

{#pcomm-terminal-methods__table_e4p_x4b_51c}

## IsCreated {#pcomm-terminal-methods__section_whb_jsc_51c}

Verifies whether the emulator screen exists based on the screen match rule and can accept inputs from the user. After verification, the method returns the appropriate Boolean value.

{#pcomm-terminal-methods__table_scg_qsc_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| MatchAllChildren | Option to find the emulator screen by matching the child elements that you have captured. | Data In | Boolean | False | Yes | Warning: Using this option may slow down the method. |
| Return | Returns the Boolean value depending on whether emulator screen exists based on the screen match rule and can accept inputs from the user. | Data Out | Boolean | NA | NA |   |
[Table 3. IsCreated method parameters]

{#pcomm-terminal-methods__table_scg_qsc_51c}

## SearchText {#pcomm-terminal-methods__section_uvz_rtc_51c}

Returns the numbers of the row and column that holds the first character of the text that you specify. For example, if you specify the string `emulator`, the method returns the row and column numbers of the starting point of the word `emulator` which is `e`.  
Note:  
If you provide the text that spans multiple fields, the Row and Col ports return 0 because the method supports the text only from a single field.

{#pcomm-terminal-methods__table_lhf_vtc_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Text | Text that the method searches. | Data In | String | NA | Yes | The text you specify may be case-sensitive depending on the emulator you use. |
| Row | Row number that has the first character of the text you specify. | Data Out | Integer | NA | NA | If the text that you specify occurs at multiple rows and columns, the method returns the first row and column that contains the text. |
| Col | Column number that has the first character of the text that you specify. | Data Out | Integer | NA | NA | If the text that you specify occurs at multiple rows and columns, the method returns the first row and column that contains the text. |
[Table 4. SearchText method parameters]

{#pcomm-terminal-methods__table_lhf_vtc_51c}

## SendKeys {#pcomm-terminal-methods__section_zwz_z21_w1c}

Simulates the keystrokes that you enter from the keyboard at the mouse device position on the emulator screen. For example, you can simulate the \[enter\] keystroke on the screen.

{#pcomm-terminal-methods__table_qwx_cdc_w1c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Keys | Keystrokes that you enter from your keyboard. | Data In | String | None | Yes | Tip: To learn about the keystrokes, refer the respective terminal emulator documentation. |
[Table 5. SendKeys method parameters]

{#pcomm-terminal-methods__table_qwx_cdc_w1c}

## SendKeysSecure {#pcomm-terminal-methods__section_jvn_pr4_w1c}

Simulates the keystrokes that is a secured string at the mouse device position on the emulator screen.

{#pcomm-terminal-methods__table_ews_ps4_w1c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Keys | Keystrokes that you enter as a secured string. | Data In | Secured String | None | Yes | Tip: To learn about the keystrokes, refer to the respective terminal emulator documentation. |
[Table 6. SendKeysSecure method parameters]

{#pcomm-terminal-methods__table_ews_ps4_w1c}

## SetCursorPosition {#pcomm-terminal-methods__section_yrg_y5c_51c}

Attempts to set the mouse device at the row and column number that you specify.

{#pcomm-terminal-methods__table_pxr_dvc_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Row | Option to provide the number of the row based on which the method attempts to set the mouse device on the screen. | Data In | Integer | NA | NA | The row number must be positive and within the size of the emulator screen. For example, if the screen size is 24X80, the maximum value that you can provide for a row is 24. |
| Col | Option to provide the number of the row based on which the method attempts to set the mouse device on the screen. | Data In | Integer | NA | NA | The column number must be positive and within the size of the emulator screen. For example, if the screen size is 24X80, the maximum value that you can provide for a column is 80. |
[Table 7. SetCursorPosition method parameters]

{#pcomm-terminal-methods__table_pxr_dvc_51c}

## WaitForCreate {#pcomm-terminal-methods__section_ykp_lvc_51c}

Waits for the duration that you specify while the connector uses the screen match rule to find whether the screen exists.

{#pcomm-terminal-methods__table_trs_cwc_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| timeoutinSeconds | Option to provide the number of seconds for which the method waits while the connector uses the screen match rule to find if the screen exists. | Data In | Integer | 30 | Yes |   |
| MatchAllChildren | Option to match all screen elements that you had captured to find if the screen exists. | Data In | Boolean | False | Yes | Warning: Using this option may delay the execution of the method. |
| Return | Returns the Boolean value based on whether the emulator screen was found. | Data Out | Boolean | NA | NA |   |
[Table 8. WaitForCreate method parameters]

{#pcomm-terminal-methods__table_trs_cwc_51c}

## Element-level methods {#pcomm-terminal-methods__section_ph5_pzh_51c}

Element-level methods perform automation tasks on the emulator screen elements that you add from the Terminal Connector screen. You can add a screen element as a field or a table.

## GetAsTable {#pcomm-terminal-methods__section_gsf_jb3_51c}

Returns the text that you captured as a data table object. Use this method when you capture the data from a screen as a table. However, you can also use the method for the data that you capture as a field. To learn how to
capture the data as a table, see [Configure the IBM Personal Communications emulator](https://www.servicenow.com/docs/3vasBBjrjHZU_W1LnUshoQ "Configure the IBM Personal Communications (PCOMM) emulator on the RPA Desktop Design Studio by capturing the PCOMM emulator screens and their elements. After capturing the screens, you can use the screen and element methods to automate actions on the screens and elements.").

{#pcomm-terminal-methods__table_i1k_yb3_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Return | Returns the captured text from the terminal screen as a data table object. | Data Out | Data Table | NA | NA | To view the table, right-click the parameter and select Preview Data. |
[Table 9. GetAsTable method parameters]

{#pcomm-terminal-methods__table_i1k_yb3_51c}

## GetText {#pcomm-terminal-methods__section_jrs_gc3_51c}

Returns the text in the field that you captured from the emulator screen. If you use this method for a table that you captured, it returns the text in the first field of the rectangle.

{#pcomm-terminal-methods__table_umt_jc3_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory? | Notes |
|-|-|-|-|-|-|-|
| Return | Returns the text from the captured field. | Data Out | String | NA | NA |   |
[Table 10. GetText method parameters]

{#pcomm-terminal-methods__table_umt_jc3_51c}

## IsCreated {#pcomm-terminal-methods__section_nyk_nc3_51c}

Matches the rules and verifies whether the captured element exists.

{#pcomm-terminal-methods__table_oyk_nc3_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Return | Returns the Boolean value based on whether the element is active. | Data Out | Boolean | NA | NA |   |
[Table 11. IsCreated method parameters]

{#pcomm-terminal-methods__table_oyk_nc3_51c}

## SetText {#pcomm-terminal-methods__section_cnd_tc3_51c}

Attempts to set the text to the field.

{#pcomm-terminal-methods__table_xrt_5c3_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| Text | Option to specify the text that the method attempts to set in the field. | Data In | String | NA | Yes | You can't use this method on protected emulator screens. |
[Table 12. SetText method parameters]

{#pcomm-terminal-methods__table_xrt_5c3_51c}

## WaitForCreate {#pcomm-terminal-methods__section_z1s_yl3_51c}

Waits for the duration that you specify while the connector uses the match rule to find whether the element exists.

{#pcomm-terminal-methods__table_abs_yl3_51c__entry__7}

| Parameter | Description | Data port entry type | Data type | Default value | Mandatory | Notes |
|-|-|-|-|-|-|-|
| timeoutinSeconds | Option to provide the number of seconds for which the method waits while the connector uses the match rule to find whether the element exists. | Data In | Integer | 30 | Yes |   |
| Return | Returns the Boolean value depending on whether the element was found. | Data Out | Boolean | NA | NA |   |
[Table 13. WaitForCreate method parameters]

{#pcomm-terminal-methods__table_abs_yl3_51c}

