Cannot write using SetText or SendKey in a table (td//div//div)

Hello there, I hope you are fine today !
I’m not use to ask for some help unless I have try many time to make it work and/or did’nt find matching help on the forum… And this this time I’m 100% stuck !

I have a TestObject Xpath (let’s say MyMysteriousTestObject) as
//td[@id='Some_Unique_ID']/div/div
And I cannot set the value of that Object

I have try several approch like

The used to work method setText on the test object
WebUI.setText(findTestObject('MyMysteriousTestObject'), 'Mexique')

Return an error on the consol

2021-06-14 16:39:27.847 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Unable to set text ‘Mexique’ of object ‘Object Repository/HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2’ (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘Mexique’ of object ‘Object Repository/HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2’
[…]
Caused by: org.openqa.selenium.InvalidElementStateException: invalid element state

Double click on the table and then send a key

WebUI.doubleClick(findTestObject('MyMysteriousTestObject'))
WebUI.sendKeys(findTestObject('MyMysteriousTestObject'), Keys.chord('a'))

Returning also an error

2021-06-14 17:12:38.190 ERROR c.k.k.core.keyword.internal.KeywordMain  - ❌ Unable to send keys 'a' to object 'Object Repository/HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2' (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to send keys 'a' to object 'Object Repository/HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2'

[…]
at TempTestCase1623683521252.run(TempTestCase1623683521252.groovy:25)
Caused by: org.openqa.selenium.ElementNotInteractableException: element not interactable

And then some more hazardous try

Double click on the table and then use the Java robot to send a key

WebUI.doubleClick(findTestObject(‘MyMysteriousTestObject’))
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_A);

Double click on the table and then send empty test object

WebUI.doubleClick(findTestObject('MyMysteriousTestObject')
WebUI.sendKeys(findTestObject(null), 'MEXIQUE')

None of them have worked in this case, but worked like a charm on a test object more like an input.

See below a screenshot of the screen and short html code for the table (it’s too big to be provided in full)

Please let me know if you have any idea

Have a nice start of the week !

You cannot use setText() with a <div> element. It only works with input elements like <input> (type=text etc) and <textarea>.

Even if the <div> had the attribute contenteditable I think it might fail - I have never tried.

I obviously don’t know your application, but that part of that screen does not look to be designed to accept input from the user.

Thanks for your reply ! Okay for setText, that what I though
I find strange to write inside a div but it can indeed be done by :

  • double clicking and then write text
  • double clicking and then tape F4 key
    image
    image
    image

Maybe an idea how I could bypass this inconvenience ? Or a direction where I could go ?

I’m not aware if that framework ‘dgrid.io’ is used there, at first glance it seems not… We are working on the correct integration of our API with that software, I have no acces to the sources.

It might be confusing on my previous post but there is only one column (see first post sceenshot)

And see below and extract of the code regarding the table
I would like to insert text in the tag <div class="a-cell-inner a-cc-2">setText there</div>

<div id="a_HFA230-ID_FEN0-SFL_1-1_id" class="dgrid dgrid-grid a-grid a-widget a-grid-solid-vert" role="grid" style="left: 5px; top: 132px; z-index: 2147483427; width: 600px; height: 245px; visibility: inherit; background-position: -5px -132px;" data-selectionmodel="extended" a-wuid-val="HFA230-ID_FEN0-SFL_1-1" data-editmode="true">
   <div class="dgrid-header dgrid-header-row" role="row" style="right: 17px;">
      <table class="dgrid-row-table" role="presentation" id="a_HFA230-ID_FEN0-SFL_1-1_id-header">
         <tr class="dojoDndSource dojoDndTarget dojoDndHorizontal dojoDndContainer">
            <th class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-font-1 a-center dojoDndItem" role="columnheader" id="a_HFA230-ID_FEN0-SFL_1-1_id_hdr_col0" dndtype="dgrid-a_HFA230-ID_FEN0-SFL_1-1_id-0">
               <div class="dgrid-resize-header-container">
                  C
                  <div class="dgrid-resize-handle resizeNode-0"></div>
               </div>
            </th>
            <th class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-center dojoDndItem" role="columnheader" id="a_HFA230-ID_FEN0-SFL_1-1_id_hdr_col1" dndtype="dgrid-a_HFA230-ID_FEN0-SFL_1-1_id-0">
               <div class="dgrid-resize-header-container">
                  Analytical group
                  <div class="dgrid-resize-handle resizeNode-1"></div>
               </div>
            </th>
            <th class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-center dojoDndItem" role="columnheader" id="a_HFA230-ID_FEN0-SFL_1-1_id_hdr_col2" dndtype="dgrid-a_HFA230-ID_FEN0-SFL_1-1_id-0">
               <div class="dgrid-resize-header-container">
                  Associated base group
                  <div class="dgrid-resize-handle resizeNode-2"></div>
               </div>
            </th>
            <th class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-font-1 a-center dojoDndItem" role="columnheader" id="a_HFA230-ID_FEN0-SFL_1-1_id_hdr_col3" dndtype="dgrid-a_HFA230-ID_FEN0-SFL_1-1_id-0">
               <div class="dgrid-resize-header-container">
                  Designation
                  <div class="dgrid-resize-handle resizeNode-3"></div>
               </div>
            </th>
         </tr>
      </table>
   </div>
   <div class="dgrid-scroller a-grid-overflow-x-scroll a-grid-overflow-y-scroll" tabindex="-1" style="user-select: none; margin-top: 19px; margin-bottom: 0px;">
      <div class="dgrid-content" style="width: 583px;">
         <div class="dgrid-preload" style="height: 0px;"></div>
         <div role="row" class=" dgrid-row dgrid-row-even" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-1">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row1_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row1_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">CATEGORIE</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-left a-novalign a-text-cell a-editable dgrid-focus dgrid-selected" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row1_col2" style="height: 15px;" tabindex="0">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2">setText there</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row1_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div role="row" class=" dgrid-row dgrid-row-odd" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-2">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row2_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row2_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">GRADE</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-left a-novalign a-text-cell a-editable" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row2_col2" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2"></div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row2_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div role="row" class=" dgrid-row dgrid-row-even" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-3">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row3_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row3_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">PHARMA</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-left a-novalign a-text-cell a-editable" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row3_col2" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2"></div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row3_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div role="row" class=" dgrid-row dgrid-row-odd" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-4">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row4_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row4_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">REGUL ECAR NEG</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-left a-novalign a-text-cell a-editable" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row4_col2" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2"></div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row4_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div role="row" class=" dgrid-row dgrid-row-even" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-5">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row5_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row5_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1">TEST</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-font-1 a-left a-novalign a-text-cell a-editable" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row5_col2" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2"></div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row5_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-1"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div role="row" class=" dgrid-row dgrid-row-odd" id="a_HFA230-ID_FEN0-SFL_1-1_id-row-6">
            <table class="dgrid-row-table" role="presentation">
               <tr>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-0 field-Z_FLG_COMMENT a-border-bottom a-novalign a-checkbox-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row6_col0" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">
                           <div class="a-cell-checkbox a-cell-checkbox-img a-HFA230-ID_FEN0-Z_FLG_COMMENT-1-unchecked">&nbsp;</div>
                        </div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-1 field-Z_COD_FAM_ANA a-border-bottom a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row6_col1" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3">WIM FAM SOLEA</div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-2 field-Z_COD_FAM_ART a-border-bottom a-font-1 a-left a-novalign a-text-cell a-editable" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row6_col2" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-2"></div>
                     </div>
                  </td>
                  <td class="dgrid-cell dgrid-cell-padding dgrid-column-3 field-Z_LIB_FAM_ART a-border-bottom a-border-right a-font-1 a-left a-novalign a-text-cell" role="gridcell" id="a_HFA230-ID_FEN0-SFL_1-1_id_row6_col3" style="height: 15px;">
                     <div class="a-cell-outer">
                        <div class="a-cell-inner a-cc-3"></div>
                     </div>
                  </td>
               </tr>
            </table>
         </div>
         <div class="dgrid-preload" style="display: none;"></div>
      </div>
   </div>
   <div class="dgrid-header dgrid-header-scroll dgrid-scrollbar-width" style="visibility: inherit; height: 19px;"></div>
   <div class="dgrid-footer dgrid-footer-hidden"></div>
   <button class="a-grid-pager a-pager-ended" tabindex="-1" id="a_HFA230-ID_FEN0-SFL_1-1_id_pager" style="visibility: inherit; width: 17px; height: 17px;"></button>
   <div class="a-activity-layer" style="display: none;"></div>
</div>

In addition see below the full html code
Reflex.html (697.5 KB)

Yeah I have try already see in the first post

Double click on the table and then use the Java robot to send a key

WebUI.doubleClick(findTestObject(‘MyMysteriousTestObject’))
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_A);

The element is not yet fully loaded and rendered. You have to wait for the element visible before actually clicking the element. See


There are lot of post where people ask “why I can to click it?” . The reason is in most cases they do not wait for the element to become visible and clickable.

The double click work fine, I can see on the screen the cursor at the correct location

It seems that we cannot send the Key, just tried with letter A

WebUI.waitForElementPresent(findTestObject('HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2'), 2)

WebUI.callTestCase(findTestCase('Common Test Cases/Menu Click Double(row,column)'), [('nomEcran') : 'HFA230', ('ligneNumero') : '1'
	, ('ColonneNumero') : '2'], FailureHandling.STOP_ON_FAILURE)
//just generique click, equal to WebUI.doubleClick(findTestObject('Common Object/table_row_col',[('titleWindow'):nomEcran,('rowNo'):ligneNumero,('columnNo'):ColonneNumero]))

Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_A);

Consol output is okay but nothing occur

[...]
2021-06-15 09:55:34.496 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2021-06-15 09:55:34.497 DEBUG (to copy before recording) - Copy - Copy - 9: waitForElementPresent(findTestObject("HFARS1 - Manage Item/Page_Reflex - QCSGERFX025/div_CATEGORIE_a-cell-inner a-cc-2"), 2)
2021-06-15 09:55:35.410 DEBUG (to copy before recording) - Copy - Copy - 10: callTestCase(findTestCase("Common Test Cases/Menu Click Double(row,column)"), ["nomEcran":"HFA230", "ligneNumero":"1", "ColonneNumero":"2"], STOP_ON_FAILURE)
2021-06-15 09:55:35.478 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2021-06-15 09:55:35.478 INFO  c.k.katalon.core.main.TestCaseExecutor   - CALL Test Cases/Common Test Cases/Menu Click Double(row,column)
2021-06-15 09:55:35.491 INFO  c.k.katalon.core.main.TestCaseExecutor   - nomEcran = HFA230
2021-06-15 09:55:35.492 INFO  c.k.katalon.core.main.TestCaseExecutor   - ligneNumero = 1
2021-06-15 09:55:35.492 INFO  c.k.katalon.core.main.TestCaseExecutor   - ColonneNumero = 2
2021-06-15 09:55:35.497 DEBUG testcase.Menu Click Double(row,column)   - 1: doubleClick(findTestObject("Common Object/table_row_col", ["titleWindow":nomEcran, "rowNo":ligneNumero, "columnNo":ColonneNumero]))
2021-06-15 09:55:36.108 INFO  c.k.katalon.core.main.TestCaseExecutor   - END CALL Test Cases/Common Test Cases/Menu Click Double(row,column)
2021-06-15 09:55:36.108 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2021-06-15 09:55:36.109 DEBUG (to copy before recording) - Copy - Copy - 11: robot = new java.awt.Robot()
2021-06-15 09:55:36.311 DEBUG (to copy before recording) - Copy - Copy - 12: robot.keyPress(VK_A)
2021-06-15 09:55:36.480 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/_DEBUG SEB/NEW Test Case (to copy before recording) - Copy - Copy

Cursor at the correct location without any thing in it
image

By definition, a HTML <div> element will NEVER allow you to place an input cursor inside it.

Then I think that the input cursor you see is placed inside some HTML element other than <div>; most likely it is a <textarea> element.

I guess, the Javascript framework in the web page, which is called “dgrid”, dynamically generates the <textarea> element when user gives a double click on the <div>. The <textarea> is sized to have just the same width and height as the <div>, and located at the X-Y position over the <div>. Effectively the <textarea> overlays and hide the <div>. When user finished inputting some text and taps F4 key, the Javascrpt removes the <textarea>.

Where in the HTML DOM source you find the <textarea>? — Only the Javascript knows; human will never know. All I can say is that “the textarea element is somewhere in the DOM”. So you will have very little chance to find the <textarea> element in the Chrome DevTools’ Element view.

I say, the <textarea> is dynamically generated by JavaScript. So it may take some milliseconds after you double click the <div> and before the <textarea> apperars in the page. Therefore you should make an explicit wait before sending a character “a”.

WebUI.callTestCase(...)

WebUI.delay(1)    # WAIT A SECOND

Robot robot = new Robot()
robot.keyPress(KeyEvent.VK_A)
1 Like

Thank you a lot @kazurayam for hightlighted that point :

That was indeed the case ! I find the temporary div and its id. Just created a test object that will catch the next input : //div[contains(@id,'adelia_dgrid_editor')]//input

Then the basic setText work :partying_face:

WebUI.setText(findTestObject(‘Object Repository/input_adelia_dgrid_editor’), ‘something’)

(Just as update note : impossible to send key even with 1 second delay)

Thank you ever so much for the time you took to helping me !
Have a good start of the week :+1:

2 Likes