WebAii - IE9 InvokeEvent not functioning

4 posts, 0 answers
  1. Brian
    Brian avatar
    1 posts
    Member since:
    Dec 2010

    Posted 26 Oct 2011 Link to this post

    We have been running automated tests that execute successfully on IE8, FireFox 3.6 / 5, and Chrome (latest version).  The code uses lines of code such as:

    //example 1
    //example 2
    dropDownFilter.SelectByText(option, true);   //where true indicates whether to invoke the OnChange event

    This logic works absolutely correctly with respect to eliciting the correct application behavior in the other browsers mentioned above, but not in IE9 (although I can find no mention in documentation or forums that there are any known issues similar to this).

    We generally run with the latest released version of WebAii 2011.1.712, but I have also tested this with the latest internal build 2011.2.1007 and there is no improvement in the behavior for this functionality.

    Please advise as to whether any known resolutions or work-arounds are available for this, since we are shifting focus towards IE9, and the issue is quite debilitating to our current regression suite.

    Thank you. 
  2. Cody
    Cody avatar
    3360 posts

    Posted 28 Oct 2011 Link to this post

    Hi Brian,

    No there is no known problem with IE9 and the InvokeEvent function. To test it I created a test to invoke the OnMouseOver, using IE9, on the image element appearing at this page: 


    It worked perfect as expected. Can you give me a sample application or point me to a URL I may access to reproduce and study the problem you are running into?

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Awadh
    Awadh avatar
    1 posts
    Member since:
    Jul 2012

    Posted 22 Oct 2013 Link to this post


    Even i'm facing issue in triggering JQuery after entering text field value. I couldn't find any solution here to the original question. 

    Following is the HTML Input text box control. 
    <INPUT value=0.00 type=text jQuery17100980119615971678="59" data-bind="value: Compensation().MeritAmount, visible: !ReadOnly(), enable: !ReadOnly()" __ko__1382434396727="ko569">

    When entering value manually, the JQuery triggers and field valudation happens, but same doesn't happen on IE9 when used below code

    var requiredTextBox = cell.Find.ByExpression<HtmlInputText>("tagName=input");
    requiredTextBox.Value = newValue;
    requiredTextBox.InvokeEvent(ScriptEventType.OnChange) // this line works on IE8 but not on IE9

    Can someone please help me getting proper solution for this issue.


  4. Velin Koychev
    Velin Koychev avatar
    88 posts

    Posted 25 Oct 2013 Link to this post

    Hi Awadh,

    We don't know any issues with IE9 versus IE8 with regard to invoking events. Sometimes we do see the application itself detect which browser version it's running in and behave differently. So this behavior could be application specific.

    You can read in this other forum thread about different solutions you can also try and see if they would help.

    If I can get direct access to the application or if you can send me a Fiddler trace of the application running normally in IE9 (no Test Studio involved) then I can troubleshoot why it's not behaving as expected. 
    If taking a Fiddler trace please be sure to:
    1. Click Clear Cache first
    2. Check Store binaries
    3. Check Decrypt HTTPS traffic

    Looking forward to hearing from you.

    Velin Koychev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top