Telerik Forums
Test Studio Forum
3 answers
252 views
Hi,

How do I verify if my RadComboBox contains a specific text?
I used the coded step as below:

string textToFind = "ATAX";
bool found = false

 

 

foreach(Telerik.WebAii.Controls.Xaml.RadComboBoxItem item in Pages.Tiger.SilverlightApp.TaxCodeComboBoxRadcombobox.Items)
{
    if (item.Content.ToString().Equals(textToFind))
    {
        found =
true;
        break;
    }
}
Assert.IsTrue(found);

But when execution, I got the following error:

Exception thrown executing coded step: '[test] : test'.InnerException:ArtOfTest.Common.Exceptions.AssertException: Assert.IsTrue - [Expected:True],[Actual:False] at ArtOfTest.Common.UnitTesting.Assert.IsTrue(Boolean condition, String message) at ArtOfTest.Common.UnitTesting.Assert.IsTrue(Boolean condition)

 

 

Am I missing something? It doesn't seem to correctly identify the items of the combo box.

I edited TaxComboBoxRadComboBox in such a way automationid = TaxCodeComboBox, but I am still getting the same error

I can show to you how I create the script through SharedView

Regards,
Jan Mark

 

 

Stoich
Telerik team
 answered on 13 Jan 2011
1 answer
109 views
Hello There Everyone!

We are looking for some help getting our Certification Complete and need to submit "verbose logging" results in conjunction with our WebUI Test Studio "harness".  Basically, the testing company needs to see what the harness is doing during the test.

Can someone help point me to how this is generated with WebUI Test Studio QA or Developer editions?

Thanks in advance!

Kevin Griffin
Keaegan
Telerik team
 answered on 13 Jan 2011
4 answers
118 views
Hi.

I'm using Telerik WebUI to test an Internet Explorer Addon, which has some shortcuts/keybinds to do specific things.

The problem is, I am mapping "AltGr + letter" as my shortcuts but when I execute this in WebUI recordingmode, it directly interpretes this to "Ctrl+Alt+letter". The addon specificly wants a user to press the AltGr, not Ctrl+Alt, hense making the test fail.

How can i force it to press AltGr?
Tejs
Top achievements
Rank 1
 answered on 13 Jan 2011
5 answers
163 views
Hi Telrik Team,

I want to make my script with dynamic databinding,for example my script will take dynamic ids passed in script test step of other script.

Example:
Pass parameters with telerik script name
e.g. Script1(Parameter Name).aii
call Script1 from Script2 in test step.

If you can suggest any other solution for dynamic databinding of IDs with script, then it will be the productive use of SQL databinding.
I am waiting for response.
Thanks in Advance.

Regards,
Anshul
Cody
Telerik team
 answered on 13 Jan 2011
4 answers
107 views
I'm trying to install WebAii 2010.3 then facing a problem that the Add-on is not loaded into IE8. When I select "Manage Add-ons" in IE8, there's no WebAii extentions in the list of neither currently loaded nor all add-ons. I see ArtOfTest.InternetExplorer.dll in the installed folder. Can anyone point me to the right solution? My machine is as follows.

OS: Windows 7 32 bits (VPC)
Browser: IE8
VS: VS2010

Thanks in advance
Masashi
Dragon
Top achievements
Rank 1
 answered on 12 Jan 2011
2 answers
123 views
Hi,

In my SUT, I found that fully qualified XamlPath shows two elements, now in WebUI it is accessing first element and completing actions. But if I want to act on second element then how can I do it?

If the coded step is only option then provide sample code.

Thanks,
Akhlikumar Patel
Cody
Telerik team
 answered on 11 Jan 2011
1 answer
112 views
Hi,

I am new to your product.

How to change the execution server to another machine.?

When I click register button all i am getting asked is the path to output path. I was hoping it is going to ask for an option to connect to an existing schedule server? But it is not asking those.   I intially tried the local machine as the execution server.  Probably once I did that i am not able to change it now.

Help me

thanks
Stoich
Telerik team
 answered on 10 Jan 2011
1 answer
88 views
I'm trying to change the default error message which comes up in the 
report viewer when invalid parameter values are sent to a report .
I've looked through the documentation with no joy.
Any help will be appreciated.

Thanks
Michael
Steve
Telerik team
 answered on 10 Jan 2011
2 answers
93 views

Hi,

I have the following RadGrid as shown in the code snippet.  Inside a Unit Test code using ArtOfTest.WebAii.TestTemplates etc. library in C#, I am trying to get to the EditColumn ImageButton and mimic a click on the image to initiate a 'edit item' operation.
I have the grid using (RadGrid grid = Find.ById<RadGrid>("RadGrid1");).

How do I get to the HtmlImageButton or equivalent object for a specific row in the MasterTable?
I would greatly appreciate any pointers.

<telerik:RadGrid ID="RadGrid1" runat="server"  AllowSorting="True"
    PageSize="5" AllowPaging="True" OnItemCreated="RadGrid1_ItemCreated" OnColumnCreated="RadGrid1_ColumnCreated"
    OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand"
    OnItemDataBound="RadGrid1_ItemDataBound" OnUpdateCommand="RadGrid1_UpdateCommand"
    OnDeleteCommand="RadGrid1_DeleteCommand"
    <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle
    <MasterTableView DataKeyNames="ID" CommandItemDisplay="Top" AutoGenerateColumns="false"
        ShowHeadersWhenNoRecords="true" 
    
        <CommandItemTemplate
            <div style="padding: 5px 5px;"
                  <asp:LinkButton ID="btnRebind" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" 
                alt="" src="Images/Refresh.gif" />Refresh</asp:LinkButton
            </div
        </CommandItemTemplate
        <Columns
            <telerik:GridButtonColumn UniqueName="InsertColumn" ButtonType="ImageButton" CommandName="AddItem"  ImageUrl="~/Images/AddRecord.gif" HeaderStyle-Width="20px"  HeaderText="Create New Item"/> 
            <telerik:GridButtonColumn UniqueName="EditColumn" ButtonType="ImageButton"  CommandName="EditItem" HeaderStyle-Width="20px"  HeaderText="Edit/View Item" /> 
            <telerik:GridBoundColumn DataField="ID" Visible="false" /> 
        </Columns
    </MasterTableView
    <ClientSettings
        <Selecting AllowRowSelect="true" /> 
    </ClientSettings
</telerik:RadGrid>


Regards
Athadu
Athadu
Top achievements
Rank 1
 answered on 08 Jan 2011
1 answer
83 views
Hello,

I have the WEB UI QA edition and I would like to record a test using Mozilla Firefox as browser. I have checked Mozilla in the Execution tab but when I click "Record" a window of Internet Explorer opens. How can I change this?I have set Mozilla Firefox as my default browser but the problem is not fixed.

Thank you
Keaegan
Telerik team
 answered on 07 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?