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.
Recording on a disbaled text field
Hello,
I am recording a web application that has an html form. This form has many enabled text fields and one disabled ID field and a Save button. When the form is loaded, the disabled field is empty. I enter the values in the enabled fields and click on the save button. After save the disabled field is populated with some system generated ID.
While recording, I am able to record every thing upto the save button click. However I need to get the value of disabled field (after save is clicked). Sahi apparantly does not generate any event when I click/double click this disabled field. Is there any way to capture this ?
Browser: Not specific
OS: Windows XP
Sahi Version: 3.5
Sanket Pattekar
I am recording a web application that has an html form. This form has many enabled text fields and one disabled ID field and a Save button. When the form is loaded, the disabled field is empty. I enter the values in the enabled fields and click on the save button. After save the disabled field is populated with some system generated ID.
While recording, I am able to record every thing upto the save button click. However I need to get the value of disabled field (after save is clicked). Sahi apparantly does not generate any event when I click/double click this disabled field. Is there any way to capture this ?
Browser: Not specific
OS: Windows XP
Sahi Version: 3.5
Sanket Pattekar
Comments
_getText ( el )
will return system generated ID
take help from http://sahi.co.in/w/?q=text
Having look at the web page, I do see that this disabled textfield does have a unique id and name. The problem is that Sahi does not produce any event for click on textfield
Sanket
Try with the following,
This might help you.
let us know if the problem persists.
Regards,
Theeran.
How to check if a textbox or a button is disabled using he if statement?