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

Silverlight Grid Data

7 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
QA
Top achievements
Rank 1
QA asked on 18 Apr 2011, 07:42 PM
Hello,

I see this feature of Add to project Elements. What are the uses of it and what scenarios can we use it in?

I have grid/table that displays the legend of the chart displayed above it.

There is an option to NOT show the legends. Each row on the legend grid is a unique color, unique pen name and data source.

How do we verify that unchecking a particular checkbox in a childwindow, makes the legend grid disappear.

Once that is verified, I also have the option to display the legend again, then hide a few columns. How do we verify that the columns with header "X" or "Y" are not displayed? Is this a scenario where the add to project elements come in handy? Do we add the Datagrid to the project and then add a coded step calling for that grid and looking in that grid?

If possible please include a sample code.

Thanks,
QA.

7 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 20 Apr 2011, 08:53 PM
Hello QA,

The "Add to Project Elements" option adds an element to the Element Repository manually, without specifically recording a test step against it. This KB article goes into more detail. Your suspicion is correct; this option can be used in your scenario. But there is likely an easier approach.

One key question to answer that affects how to accomplish this, is the legend grid simply hidden or is it actually removed from the DOM (i.e. the HTML driving the page). Assuming it's simply hidden there are a few different ways to do this. You can verify whether the element is not visible or disabled.

Please watch this video demonstrating how to use the DOM explorer to locate an element that is not visible on screen to perform a verification on it. It may be easier for you to create the "element is not visible" verification first, while it is still visible, and then drag the Verify step after the step that hides it. This method prevents hunting through the DOM or adding the element manually.

To verify if an element is disabled, please read this KB article.

Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
QA
Top achievements
Rank 1
answered on 21 Apr 2011, 06:31 PM
We are testing a Silverlight application. Does your solution apply to that as well? Unfortunately what I found is that the element is not available in DOM once a LEgend has been "unchecked" to not show.

We are having a tremendous issues using this tool. And we have a purchase order in place to get 3 licenses.

Would it be possible to do a goto meeting for 30 mins and review the issues? We spend hours trying to get a step to work. We have been impressed with the response on the forums however 30 mins of live meeting will iron out tons of issues and save time on your end and ours.

Thanks,
0
Anthony
Telerik team
answered on 21 Apr 2011, 08:52 PM
Hello QA,

Yes, let's schedule a GoToMeeting. We are in the US Central time zone (UTC-6). We have availability tomorrow, the 22nd, between 2:00 and 5:00 PM. If that is inconvenient for you, please suggest a date and time for early next week.

Best wishes,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
QA
Top achievements
Rank 1
answered on 22 Apr 2011, 03:19 PM
Thank you Anthony

I am available 2:00 CST. (WHich is 1:00 EST for me).

0
Cody
Telerik team
answered on 22 Apr 2011, 04:12 PM
Hi QA,

I'll be taking over for Anthony on this problem. He has switched gears to focus on documentation for us for a couple of weeks. I sent you a GoToMeeting invite via email.

Regards,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
QA
Top achievements
Rank 1
answered on 25 Apr 2011, 09:12 PM
Hi Cody,

In our Goto meeting on Friday we ran out of time getting to this issue.

So i see multiple scenarios where I am trying to verify if an object is disable or invisible to the user depending on another selection made. How do you verify tha the element does not exist when I cannot locate in DOM?

I tried to capture... a Element is not Visible when the element was and dragged and dropped it after my selection to disable it. But the verification fails.

Any way to get around this problem?
0
Cody
Telerik team
answered on 02 May 2011, 10:54 PM
Hello QA,

I recorded this video demonstrating how to verify that a Silverlight element is enabled or disabled.

Best wishes,
Cody
the Telerik team
Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
Register Today!
Tags
General Discussions
Asked by
QA
Top achievements
Rank 1
Answers by
Anthony
Telerik team
QA
Top achievements
Rank 1
Cody
Telerik team
Share this question
or