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.

Popup box error associated with Internet Explorer 8

johnliujohnliu Members
edited November -1 in Sahi - Open Source
Hi All,

I've tried to run my automated test scripts on Internet Explorer 8. These automated test scripts are working perfectly on Internet Explorer 7. However when a popup box is opened, the automated test scripts would fail on Internet Explorer 8. These are the lines I'm trying to execute:(doesn't work on IE8 but works on IE7).

$catName = "DataSourceCategory1_TreeView1_I1_CT";
_popup("DataSourceCategory")._assertExists(_cell($catName));
_popup("DataSourceCategory")._click(_cell($catName));
_popup("DataSourceCategory")._click(_button("OK"));

Any help would be appreciated.

Thanks,

John

Comments

  • narayannarayan Administrators
    Hi John,

    Is the popup opening up? Are there any popup blockers preventing it?
    Could you also specify the error that occurs?

    Regards,
    Narayan
  • Hi Narayan,

    Thank you very much for your quick reply. Yes the popup is opening up. There are no popup blockers which prevent the popup from opening. The error that occurs is specified below:(this is the error message I got from the Sahi Controller).

    Error in script: _popup("DataSourceCategory")._assertExists(_cell("DataSourceCategory1_TreeView1_I1_CT"));

    The error message would be related to the following blocks of code. DataSourceCategory would be the popup Window Name.

    $catName = "DataSourceCategory1_TreeView1_I1_CT";
    _popup("DataSourceCategory")._assertExists(_cell($catName));
    _popup("DataSourceCategory")._click(_cell($catName));
    _popup("DataSourceCategory")._click(_button("OK"));

    Regards,

    John
  • Hi Narayan,

    In addition to my previous reply, I've checked the logs again and the error is of the following:
    JSERROR [object Object] at Feb 11, 2010 4:36:03 PM.

    Thanks,

    John
Sign In or Register to comment.