This is a migrated thread and some comments may be shown as answers.

WebAii - IE9 InvokeEvent not functioning

3 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 26 Oct 2011, 11:04 PM
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
htmlControl.InvokeEvent(ScriptEventType.OnMouseOver);
 
//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. 

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Oct 2011, 11:14 PM
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: 

http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onmouseover

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,
Cody
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Awadh
Top achievements
Rank 1
answered on 22 Oct 2013, 10:41 AM
Hi,

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.

Thanks,
Awadh







0
Velin Koychev
Telerik team
answered on 25 Oct 2013, 09:58 AM
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.

Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Brian
Top achievements
Rank 1
Answers by
Cody
Telerik team
Awadh
Top achievements
Rank 1
Velin Koychev
Telerik team
Share this question
or