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

Adding content to AJAX forms

2 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 20 Jun 2012, 11:21 PM
Hello,
Test Studio Ver: 2012.1.411.0

I have an ajax text field, and when I insert a string, the string shows up, but to get the data to stick when submitted I have to simulate a physical left click on the form.

How can I simulate a physical click without actually simulating a physical click?

I have tried applying every javascript modifying to the object, and the objects that contain it with no luck.

Thanks
Jon

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 25 Jun 2012, 08:07 AM
Hi Jon,

There might be a jQuery event attached to the text field. Test Studio is entering the text through the UI during execution, but it won't automatically process the jQuery event. If that's the case, here is an article explaining on how to do that with a coded step.

Regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Jon
Top achievements
Rank 1
answered on 26 Jun 2012, 04:18 PM
Hi Plamen,

While your post didn't solve my problem directly, it did help me solve the problem. I found that I can call the javascript directly to let the field know that it has been changed...which is identical to what you recommended!

Thanks for the help!
Cheers
Jon
Tags
General Discussions
Asked by
Jon
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Jon
Top achievements
Rank 1
Share this question
or