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.
Sahi not recognizing calendar popup window
Hi all!
My application has javascript based datepicker. It has a readonly textbox and a image besides it. when you click image a calendar popup window gets generated and when you select date it gets populated in textbox. But Sahi is not recognizing this popup. I checked it view source and found that the javascript files which sahi inserts on every page or popup is not getting inserted on this particular window. Calendar popup uses javascript.
It uses following code
<a name="anchor1x" id="anchor1x" href="javascript:cal1.select(document.EventActivitiesEditForm.activityDate,'anchor1x','dd-MMM-yyyy');">
here cal1 is object of CalendarPopup.js javascript added on page.
var cal1 = new CalendarPopup();
Please help me to record this dates on this calendar popup..
My application has javascript based datepicker. It has a readonly textbox and a image besides it. when you click image a calendar popup window gets generated and when you select date it gets populated in textbox. But Sahi is not recognizing this popup. I checked it view source and found that the javascript files which sahi inserts on every page or popup is not getting inserted on this particular window. Calendar popup uses javascript.
It uses following code
<a name="anchor1x" id="anchor1x" href="javascript:cal1.select(document.EventActivitiesEditForm.activityDate,'anchor1x','dd-MMM-yyyy');">
here cal1 is object of CalendarPopup.js javascript added on page.
var cal1 = new CalendarPopup();
Please help me to record this dates on this calendar popup..
Answers