18 January 2026:


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.

Error Type - 'value' is null or not an object

ootoot Members
edited November -1 in Sahi - Open Source
Hi..
i have come across this situation where in the internal id generated during the
recording of an event creates an error during the play back mode.
The first time I record and play it works fine ..
But successive execution of the same script creates an error like the one mentioned below

_setValue(_textbox("billingEventDetailsForm:eventCodeId"), "t1"); TypeError: 'value' is null or not an object
Sample code for which the above error got generated is as below:

_click(_imageSubmitButton("Add New billingEvent"));
_setValue(_textbox("billingEventDetailsForm:eventCodeId"), "t1"); // Error at this line
_setValue(_textbox("billingEventDetailsForm:j_id1439"), "t1");
_setValue(_textarea("billingEventDetailsForm:eventDescription"), "t1");

How can i over come this?

Comments

Sign In or Register to comment.