18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
How can I get id of runtime generated text box in extjs editable grid.
I want to set value in text box that appear on clicking div on Editable grid.
When I click on div, Extjs create text field with dynamic id.
<input id="undefined" type="hidden" name="undefined" value="800"/>
<input type="text" id="ext-comp-1304" autocomplete="off" size="20" class=" x-form-text x-form-field x-form-num-field " style="width: 610px;"/>
I am identifying the div by below code:
var $div = _div(0, _near(_div("x-grid3-row-checker[2]")), _under(_div("Entity Name").parentNode));
Please help
and guide me.
When I click on div, Extjs create text field with dynamic id.
<input id="undefined" type="hidden" name="undefined" value="800"/>
<input type="text" id="ext-comp-1304" autocomplete="off" size="20" class=" x-form-text x-form-field x-form-num-field " style="width: 610px;"/>
I am identifying the div by below code:
var $div = _div(0, _near(_div("x-grid3-row-checker[2]")), _under(_div("Entity Name").parentNode));
Please help
Comments
Can you able to identify the textbox in the Sahi-controller.
Please ensure,whether any popup identifier is populated in prefix textbox of the controller? if so, then you can access the textbox only using the popup identifier.
Can you post the script?
Regards,
Theeran.