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.

How to Select Date from Calender Popup Window ?

METIsatishMETIsatish Members
edited July 2013 in Sahi Pro
HI,
i have Recorded Script for Selecting a Date from Calender PopUp, but when i Play it Back the Calender PopUp is Opening but the Date is Not Getting Selected. I tried Adding Manually from a Variable , It Worked. but I need it from the PopUp.
Please Help me . do we need to use SwitchWindow() kind of API's ??

thanks,
satish

Comments

  • Hi, tyry with:

    _popup(identifier):
    Eg.
    _popup("popWin")._click(_link("Click me"));
    _popup(/popWin.*/)._click(_link("Click me"));
    _popup("Window Title")._click(_link("Click me"));

    Tell me if it works
Sign In or Register to comment.