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.
Read Only
Hi,
I am just getting started with sahi and have run across something I cannot figure out.
I would like to be able to check if a field is read only.
Any help would be great
thanks
djwhiley
I am just getting started with sahi and have run across something I cannot figure out.
I would like to be able to check if a field is read only.
Any help would be great
thanks
djwhiley
This discussion has been closed.
Comments
If _textbox("id") is disabled, do
_assert(_textbox("id").disabled)
For readonly field, do
_assert(_textbox("id").readOnly)
For a disabled field, the Controller may not identify the element on CTRL-Hover, so you may need to get its id from source.
Regards,
Narayan
Thanks for your help this is very useful for me.
thanks again
djwhiley