I have a component that attaches to the onblur handler of a textbox. The issue with this is that it doesn't want to attach; I have a math calculator component (an AJAX extender) that sums up the textbox values, and unfortunately its not doing the summation. Do I have to setup something else for this?
Thanks.
9 Answers, 1 is accepted
This forum is dedicated to testing web applications using our Webaii .NET library framework. Is this somehow related to using our framework? I am not seeing a connection.
Best wishes,Cody
Yes, I have an ASP.NET page that has an ASP.NET AJAX component in it, and none of the AJAX component event handlers are working. This AJAX component attaches to textbox blur event, but this clearly isn't working during playback, so the test fails. I'm trying to figure out how to make it work.
So I'm testing the AJAX component in an ASPX page using WebAii.
Thanks.
Got it. Thank you for clearing up my misunderstanding.
Can you share with us the WebAii code you are trying to use? That will help a lot understanding what you are trying to do and then I might be able to spot the problem and help you fix it.
Cody
I don't know if Brian is monitoring this thread any longer since it was 17 months ago.
Sometimes just turning on SimulateRealClick will overcome this problem. We also have this article that demonstrates how to invoke jQuery events through a small bit of code. The same basic approach should work for ASP.NET events.
Cody
the Telerik team
Test Studio Trainings
That's great news! Thank you for the update.
Kind regards,Cody
the Telerik team
Test Studio Trainings
I notice on some test cases when I added a new code step to invoke the javascript blur() on an item:
Actions.InvokeScript(
"$(name='textbox1').blur()"
);
It works, and activated the alert dialog as expected, but it got stuck on executing that step! My next step is to click on the alert dialog box, but it couldn't get there and timed out. Any thoughts? Thanks.
I want to make sure I understand the problem... you're saying the Actions.InvokeScript never returns? I can't imagine how that's even possible. I've never seen that happen before. When you run into the problem does it happen every time or is it intermittent for that one test?
Can you send me a test I can run locally that reproduces this symptom? I'd like to reproduce it and investigate what's going on.
Cody
the Telerik team
Test Studio Trainings