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

Issues recording Rad Tree View and Rad buttons

4 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
karla
Top achievements
Rank 1
karla asked on 30 May 2011, 09:46 PM

Hi,

I'm using a silverlight applicatoin, I was trying to running a recording that include a step that add a new item on a Tree View. The thing here is during the recording I did not have any issue, WebUi looks like record the steps correctly, just when I ran the Test Case, when Item is added I have to put a name, but this not happen, the test is stopped and looks like do not find the item to put a name.

I tried recording that like a simple step, also using the highlights actions, like left mouse clicking , but nothing... during the running looks like rad control cannot be found or modified. 

I also tried to disable the rad controls (RadMenu, RadTree ListView and RadTreeView), I read on your forum that this could be doing to run the steps like a normal steps, recording again the steps, but nothing. when I have to put the name, the test case stops.

I attach you the log, image, and the error report that WebUi gave me.

I'm using trial version 2011.1.520.0

Thank you a lot

4 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 31 May 2011, 04:50 PM
Hello Karla,

I successfully recorded and executed tests close to your scenario, but not exactly the sae. There is a Telerik Silverlight RadTreeView demo page to add nodes and another to edit nodes, but not a page where a node is immediately editable after adding it. 

The good news is that the error you receive, "unable to locate element," is fairly routine. Load the Find Expression Builder and identify which portion of the Current Find Expression Narrative is not working. This process is outlined here:

Change How an Element Is Found

From this dialog you can load the page and the DOM at time of failure to search for a better way to identify the element.

If you require further assistance, direct access to your application is the fastest way for us to troubleshoot. You can post the access information in a separate support ticket, which unlike a forum post, is confidential.

All the best,
Anthony
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
karla
Top achievements
Rank 1
answered on 22 Jun 2011, 10:39 PM

Hi,

I was trying what you explain me, but for example I had issues identifying some fields and controls, I don't know how WebUi can identify them correctly.

On the Attachment, you can see a field and buttons, that WebUi cannot indentify, the fields are all down in the pop up (Search field, Search button, Search All Button, Export)

When I recorded them, I do not have issues, I can recorded them doing normal clicks on them, or using the highlights but during the run, WebUi locate them in other side on the page.

For example Search field, is recorded correctly (I suppose that b/c step appear recorded), but when test is ran, looks like WebUI clicks below and out the pop up (in the attachment is the yellow square), like looking for other field and not the one in the pop up.

Not sure why the steps do not record the correct position of the field.

How can I resolve that?

Identifying the correct fields, and the correct position?

Note: Just for you to know, before stay on this page, there is another page with a grid that have below the same fields (and the fields are in the position that WebUi look for the pop up), but I saw that they are recorded with other names, so not sure if that interrupt the new position of the new fields in the pop up.

Also, I trying the Verify the position on the Search field, using the highlight, but this steps return an error b/c position wasn't found.

Please let me know the solution and the steps to follow.

Thanks a lot.





0
karla
Top achievements
Rank 1
answered on 23 Jun 2011, 07:38 PM

Or do I need to make the step manually on code? 
0
Anthony
Telerik team
answered on 24 Jun 2011, 08:55 PM
Hello Karla,

Please review our KB article on Misalignment and make the necessary adjustments to your browser and OS. I know the article is targeted towards recording, but it is also applicable to execution problems as you are seeing.

If you continue to have difficulty, we will need to reproduce the issue locally to troubleshoot. Can you provide us a copy of your test and access to your Silverlight application?

Kind regards,
Anthony
the Telerik team
Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

Have you looked at the new Online User Guide for Telerik Test Studio?
Tags
General Discussions
Asked by
karla
Top achievements
Rank 1
Answers by
Anthony
Telerik team
karla
Top achievements
Rank 1
Share this question
or