Telerik Forums
Test Studio Forum
7 answers
158 views
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.
Cody
Telerik team
 answered on 02 May 2011
1 answer
149 views
I have coded steps that need to execute in order to process the selection of jquery dropdown menus.

Instead of writing the coded step every time I need to use it I would like to data-bind the parameters to a data table and call it from a folder where I save my other Test as Step "functions" and "reusable business processes".

Would this cause any conflicts?


I ask because I have problems if I copy a test that has coded steps, paste it in the same folder and rename it, and try to edit some of the test steps but still use the same coded steps.  The compile fails and the error log has references to the name of the test that I originally copied from.

Since I have problems with this scenario I thought the same might be true if I attempted to use a coded step as a "Test as Step" called by multiple tests.
Dobry Zranchev
Telerik team
 answered on 29 Apr 2011
5 answers
113 views
I am facing problems with dropdowns handling. I tried to capture the dropdown values also, but when i run the script value doesnt change and script fails. Please check the video and screenshot and advice how to surround this problem. Dropdown expands when user types values in the field. I cant handle the event.

Here is the link to the video: http://karamfilov.com/cant-handle-post-code.swf
Here is screenshot: http://karamfilov.com/postcode.jpg

I will highly appreciate your help because most of the fields in the projects are with same logic. Without solution i cant proceed further with automation. I am using WebUI Test Edition. Not a trial version.
Stoich
Telerik team
 answered on 29 Apr 2011
2 answers
145 views
Hello I'm trying to store the string text from a dropdown's boxes menu(of type ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect) programmatically. If I convert the box's InnerText to a string it will result in a single string with all of the items in the dropdown box as a single word. Is there anyway I can get this information for a single entry?
Dobry Zranchev
Telerik team
 answered on 27 Apr 2011
1 answer
120 views
Can WebUI used to test ExtJS based apps. I think I am doing some thing wrong. Every time i record some thing, it will fail on the play.

any one else testing ext js based apps using web ui ?

Thanks


Jay
Stoich
Telerik team
 answered on 26 Apr 2011
0 answers
93 views
Hi there.... does Telerik Silverlight have diagraming tools (like visio).
joy
Top achievements
Rank 1
 asked on 25 Apr 2011
13 answers
237 views
Hi,

My web app is fully with Silverlight components especially charts. How can I automate charts by webUI?

Anybody used webUI to test Silverlight charts?

I'm using the internal build 2010.2.927

Thanks,
Palani.
Cody
Telerik team
 answered on 19 Apr 2011
1 answer
114 views
gow to handle grid in telerik (Webui test)
any solution to select the grid select
Anthony
Telerik team
 answered on 19 Apr 2011
1 answer
108 views
Hi Telerik Team,

I have a code that looks like this:

public bool Get_GridRows(Telerik.WebAii.Controls.Xaml.RadGridView RadGrid, StringCollection TaskCodeAry)
{
    bool newrow = false;
    RadGrid.Refresh();
    IList<Telerik.WebAii.Controls.Xaml.GridViewRow> Rows = RadGrid.Find.AllByType<Telerik.WebAii.Controls.Xaml.GridViewRow>();
    foreach(Telerik.WebAii.Controls.Xaml.GridViewRow row in Rows)
    {
        TaskGridRow CurrentRow = new TaskGridRow();
        CurrentRow.TaskCode = row.Cells[CodeColumn].Text;
        CurrentRow.Summary  = row.Cells[TitleColumn].Text;
        Logger.log_success(TestId, string.Format("Reference Code {0}: {1}", CurrentRow.TaskCode, CurrentRow.Summary));
        if(!TaskCodeAry.Contains(CurrentRow.TaskCode))
        {
            TaskCodeAry.Add(CurrentRow.TaskCode);
            Grid.Rows.Add(CurrentRow);
            newrow = true;
            Telerik.WebAii.Controls.Xaml.RadGridView childgrid = row.Find.ByType<Telerik.WebAii.Controls.Xaml.RadGridView>();
            if(childgrid != null)
            {
                foreach(Telerik.WebAii.Controls.Xaml.GridViewRow childrow in childgrid.Rows)
                {
                    TaskGridRow child = new TaskGridRow();
                    child.TaskCode    = childrow.Cells[CodeColumn-1].Text;
                    child.Summary     = childrow.Cells[TitleColumn-1].Text;
                    child.IsChild     = true;
                    child.ParentCode  = CurrentRow.TaskCode;
                    Grid.Rows.Add(child);
                }
            }
        }
    }
    return newrow;
}

The line for finding childgrid in the current row is currently throwing a timout exception. I also tried accessing the ChildGridView attribute of the GridViewRow but I had the same error. Can you please help me pinpoint what's wrong with the above code?


Regards,
Kristine
Stoich
Telerik team
 answered on 19 Apr 2011
1 answer
124 views
Hello,

I am currently using the WebUI Test Studio QA Edition and am having trouble the the .Click events when I create custom code. I am searching for a button's xpath on the site using Firefinder in Firefox, and it finds the correct xpath. My code for this looks like:

HtmlAnchor logoutLink = Find.ByXPath<HtmlAnchor>("//a[@title='Logout'][1]");
logoutLink.Click(false);

But I keep getting this error:

'[LogoutStep_CodedStep] : Click the log out link'.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.'

I'm not sure why this is happening.

Thanks,
Eric
Cody
Telerik team
 answered on 18 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?