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

[Solved] WebAii test Drag&Drop problem

7 Answers 80 Views
Telerik Testing Framework
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andy
Top achievements
Rank 1
Andy asked on 31 Aug 2009, 07:26 AM
Hello,

I have two DNN modules. First module "Objects Tree", this module is using Telerik TreeView component. Second module has textbox. I make Drag&Drop one of the tree nodes to the textbox. When I run test, the Drag&Drop does not work. The textbox is empty. I have looked at the Drag&Drop video example, and I have made the same. But  Drag&Drop test does not work in my modules.

Could anyone tell me what I made wrong?

7 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 31 Aug 2009, 08:31 AM
Hi Andy,

I suppose you're running WebUI Test Studio and not the framework this forum covers, is that correct? I've updated the product you submitted this post for in order to monitor the thread accordingly.

Do you refer to this video concerning the Drag&Drop recording with WebUI Test Studio?

Can you please share how the recorded step looks like in the Test Explorer window? I want to make sure you get the RadTreeView translator running on your end. If everything's running fine there you should get a test recorded as in the attached sample. The test I've created for you performs a drag&drop of a RadTreeView node into a TextBox. You can load that test and give it a go. Does it pass successfully there?

Finally, is there a live URL we can test the same scenario locally? If so, we will be happy to investigate the problem and help you resolve it faster.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andy
Top achievements
Rank 1
answered on 31 Aug 2009, 07:18 PM
Hi Konstantin, thank you for answer.

I have downloaded dragdropnodetotextboxtest.zip and that works
I have tryed to create the same new test and that works.
But my project does not work. I use Telerik tree view "RadTreeView.Net2.dll" version 6.0.2.0, and I have not got RadTreeView translator for that version.
Have you any ideas how I can add "RadTreeView.Net2.dll" to translator list?
You can see my recorded steps here
0
Helen
Telerik team
answered on 01 Sep 2009, 02:22 PM
Hello Andy,

Our RadControls Translators are specific to RadControls for ASP.NET AJAX. Unfortunately they cannot be used against the "Classic" RadControls which rendering differs quite a lot from the AJAX controls. At the time being we don't have plans to create and distribute WebUI Test Studio translators for the "Classic" controls and instead we develop new (Silverlight for example) and improve the current ASP.NET AJAX translators for the next WebUI Test Studio version.

Although there are not specific translators for the "Classic" controls, you can still use WebUI Test Studio to generate your tests against your application as the tool comes with "Intrinsic" translators, those related to the pure HTML elements. For this specific scenario, you should add an extra step for invoking the OnMouseDown event before drag and drop action recording.

Please see for reference the attached screenshot. I'm also attaching you a test that should help you generate the correct one on your end. We hope this helps!

Best wishes,
Helen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andy
Top achievements
Rank 1
answered on 15 Sep 2009, 02:46 PM
Hello Helen,

Thank you for answer.
I have tryed your suggestion from example, and it works in my test. But it works partly.
When I do first Drag&Drop it works but second Drag&Drop does not work. I tryed to reload page, and tryed to make "Invoke 'OnMouseUp' event on 'input_Text_Dnn__HomeLocation'" in the test but it did not help. I can do only one Drag&Drop in the test. Mayby I need do some actions before second Drag&Drop.

You can see my recorded steps here.

Have you any ideas?

Best regards,
Andy
0
Helen
Telerik team
answered on 18 Sep 2009, 07:54 AM
Hi Andy,

We are not exactly sure what is causing the problem. We tried second drag and drop at our example and it works  - maybe the problem is a bit different.
Please find attached our test files. Does the test work at your end?

Kind regards,
Helen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andy
Top achievements
Rank 1
answered on 08 Oct 2009, 06:44 PM
Hi Helen

I understood where was the problem.
A web page where I tested Drag&Drop has big width. Browser scrolled page, after first Drag&Drop, and treeview hided.

Best regards,
Andy
0
Konstantin Petkov
Telerik team
answered on 09 Oct 2009, 05:25 AM
Hi Andy,

Thank you for sharing this info with us. Should you need further assistance, please let us know.

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Telerik Testing Framework
Asked by
Andy
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Andy
Top achievements
Rank 1
Helen
Telerik team
Share this question
or