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.

Unable to Edit the date using New sahi

sruthisruthi Members
edited November -1 in Sahi - Open Source
Hi ,

I have a problem with Date picker .Previously we were using older version of sahi i was able to use
_set("formAddEditGenericPlan:calGenericPlanStartdateInputDate ","Jun 15, 2010"),but we have planned to use Sahi build Build: 2010-08-20,by this i am unable to use _set function.From properties i found new property autocomplete="off " and Value property no longer appears may this is reason.

Please suggest me a way for this as cannot edit all my scripts with the date picker now.

With New Sahi:
outerHTML=<INPUT class="rich-calendar-input " id=formAddEditGenericPlan:calGenericPlanStartdateInputDate style="VERTICAL-ALIGN: middle" readOnly value="Jun 15, 2010" name=formAddEditGenericPlan:calGenericPlanStartdateInputDate autocomplete="off">;

With older version of Sahi:

outerHTML=<INPUT class="rich-calendar-input " id=formAddEditGenericPlan:calGenericPlanStartdateInputDate style="VERTICAL-ALIGN: middle" readOnly value="Jun 15, 20111" name=formAddEditGenericPlan:calGenericPlanStartdateInputDate>;

Comments

  • Hi,

    Can any one help on this.

    Any help for this problem is appreciated
  • Sruthi,

    Check by changing the input value as Jun 15, 2011 instead of Jun 15, 20111.

    Thanks,
    Venky
Sign In or Register to comment.