Telerik Forums
Test Studio Forum
5 answers
69 views
Hi
I have a column in a grid view which contains values like '1234****345'
I am not able to use filters property on this column
please help me!
Julian Benkov
Telerik team
 answered on 27 Dec 2010
0 answers
72 views
Hi ,
I am new in rad control.
I am using rad upload control in our asp.net page and try to store the file in our project folder by TargetFolder property of rad upload.
Here is my page code is.
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div class="fromContainer">
        <h1>
            <asp:Label runat="server" ID="lblHeader" Text="Why I love Kiwanis" />
        </h1>
        <img src="Images/btnAdd.jpg" class="btnAdd" id="Add" />
        <div style="clear: both;">
        </div>
        <div id="panleText" class="tabPanel">
            <h2>
                Add your story and photo here!
            </h2>
        </div>
        <div id="panelMain">
            <asp:UpdatePanel runat="server" ID="UP">
                <ContentTemplate>
                    <div class="bottomBgBox">
                        <table cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <table class="tblBasicForm">
                                        <tr>
                                            <td>
                                                First Name
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtFirstName" CssClass="input" />
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="rfvFirstName" runat="server" ControlToValidate="txtFirstName"
                                                    ErrorMessage="*" ValidationGroup="Submit" ForeColor="Red"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Last Name
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtLastName" CssClass="input" />
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="rfvLastName" runat="server" ControlToValidate="txtLastName"
                                                    ErrorMessage="*" ValidationGroup="Submit" ForeColor="Red"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Club Name
                                            </td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtClub" CssClass="input" />
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="rfvClub" runat="server" ControlToValidate="txtClub"
                                                    ErrorMessage="*" ValidationGroup="Submit" ForeColor="Red"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <table class="tblOptionalForm">
                                        <tr>
                                            <td rowspan="3">
                                                <img src="Images/tagOptional.jpg" />
                                            </td>
                                            <td>
                                                Country
                                            </td>
                                            <td>
                                                <asp:DropDownList runat="server" ID="ddlCountry" AutoPostBack="true" OnSelectedIndexChanged="ddlCountry_OnSelectedIndexChanged"
                                                    CssClass="input" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                State
                                            </td>
                                            <td>
                                                <asp:DropDownList runat="server" ID="ddlState" CssClass="input" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                City
                                            </td>
                                            <td>
                                                <asp:DropDownList runat="server" ID="ddlCity" CssClass="input" OnSelectedIndexChanged="ddlCity_OnSelectedIndexChanged" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="discriptionBox">
                        Discription
                        <br />
                        <asp:TextBox CssClass="input" runat="server" ID="txtDiscription" TextMode="MultiLine" />
                        <asp:RequiredFieldValidator ID="rfvDescription" ControlToValidate="txtDiscription" ErrorMessage="*" ForeColor="Red"
                            runat="server" ValidationGroup="Submit"></asp:RequiredFieldValidator>
                        <br />
                        <div>
                            <telerik:RadCaptcha ID="RadCaptcha1" runat="server" ErrorMessage="The code you entered is not valid."
                                ValidationGroup="Submit">
                            </telerik:RadCaptcha>
                        </div>
                        <br />
                        Photo Upload
                        <br />
                        <telerik:RadUpload ID="flPhoto" runat="server" CssClass="fileUpload"  AllowedFileExtensions=".jpeg,.png,.gif"
                            ControlObjectsVisibility="None" TargetFolder="~/Record/"></telerik:RadUpload>
                        <asp:ImageButton runat="server" ID="btnUpload" CssClass="btnAdd" ImageUrl="~/Images/btnUpload.jpg"
                            OnClick="btnUpload_OnClick" ValidationGroup="Submit" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
       
</asp:Content>
In our code i am using <asp:update panel> plz provide me help by example
1. How to use rad ajax in that particular page.
2. why the uploaded file does not store in folder.
Thankx
Deepak
Top achievements
Rank 2
 asked on 27 Dec 2010
4 answers
122 views
I have a TXT file,I want put the TXT file's content into a RadBook control,let it like an E-Book.Someone help me please!
Bennet
Top achievements
Rank 1
 answered on 22 Dec 2010
8 answers
162 views
Hello. I have a scope of tests in QA edition. I downloaded WebAii Testing Framework Free Edition. I connect it to Visual Studio 2010. Then I export all my tests from QA edition to visual studio 2010. How can i launch them?
Cody
Telerik team
 answered on 22 Dec 2010
3 answers
133 views
Hi,

This is similar to Data Driven Testing - Combo Boxes, I tried the similar approach but I got the following error:

" (CS0030) Cannot convert type 'Telerik.WebAii.Controls.Xaml.RadComboBoxItem' to 'ArtOfTest.WebAii.Silverlight.UI.ComboBoxItem'"

I would like to ask what approach shall I use to fix the error I am getting.

Or are there other alternative how I can use the Data Driven approach when selecting combo box since the combo box that I will be used for testing is very dynamic.

Thank you
Nikolai
Telerik team
 answered on 21 Dec 2010
2 answers
132 views
Hi. I have next code
var table=Csv.GetDataSet("C:\\Documents and Settings\\Administrator\\Desktop\\SFT\\Data\\Units.csv").Tables[0];
var tableRow=table.Rows[0][1];
table.Rows[0][1]= scuId;
Csv.SaveTable(table,"C:\\Documents and Settings\\Administrator\\Desktop\\SFT\\Data\\Units.csv");

I launch test and it fails because of values is separated by comma.

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[UnitGroupCreation_CodedStep2] : Write group name in file'.
InnerException:
System.IndexOutOfRangeException: Cannot find column 1.
   at System.Data.DataColumnCollection.get_Item(Int32 index)
   at System.Data.DataRow.set_Item(Int32 columnIndex, Object value)
   at SFT.UnitGroupCreation.UnitGroupCreation_CodedStep2() in c:\Documents and Settings\Administrator\Desktop\SFT\UnitGroupCreation.aii.cs:line 75

If I modify Units.csv manually and change separator from ',' to ';' the test will be passed successfully.

The problem is not resolved if I change list separator in the regional configurations in my system. Could anybody help?
Cody
Telerik team
 answered on 21 Dec 2010
1 answer
97 views
Hi All
   i have a problem with session out functionality with vb script using telerik webaii tool. can u please suggest me below queries.
  1. how we will capture the session out window as well as session out time through automation
  2. which method we will use for wait for url, wait for application. 
could you please provide me anyone navigation part along with screen shots. if possible provide me telerik videos

 
Cody
Telerik team
 answered on 20 Dec 2010
1 answer
98 views
I have created a data driven test that works fine with one entry in the data table.  However, when I try to add a second entry to the data table, the test fails with the following error:

'12/15/2010 1:10:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'12/15/2010 1:10:54 PM' - System.Exception: Unexpected dialog: Internet Explorer
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteDataDrivenTest(Test test, BaseWebAiiTest codeInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)

What happens in the test is a link is clicked that pops up a new browser instance that contains a pdf file.  I close that browser instance and return to the original page.

It works fine on the first pass but on the second data table entry, it closes the original web page instead of the pop up and throws an error that an unexpected error has occurred in internet explorer with the option to send the error to microsoft.  I also get the same error if I try to use the base url functionality instead of including the url in my script.

If you need any more information to help me resolve this issue, please let me know.
Stoich
Telerik team
 answered on 20 Dec 2010
7 answers
98 views
hello,
here is another worry about planning, in fact when I plan a test I receive no mail on my outlook or even my msn box, and here is the error massage I receive:
ExecutionEngineRunner Exit Error: The string spécifié Is Not In The form required for an e-mail address. Stack: at System.Net.Mime.MailBnfHelper.ReadMailAddress (String data, Int32 & offset, String & displayName)
   
Has System.Net.Mail.MailAddress.ParseValue (String address)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName, Encoding displayNameEncoding)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.Mail.MailSender.SetSender (String email, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.SendMail (RunResult result, NotificationSettings settings)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.rc_Exited (Object sender, EventArgs e)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Nikolai
Telerik team
 answered on 20 Dec 2010
7 answers
191 views
Hello,

I have successfully scheduled TestLists to run on a server different from my local PC.  However, when I click the "Reload from Server" button, the TestList disappears from my results list.   This execution server is the same as the scheduling server. 

Also, I am successfully able to run a scheduled test on my local PC, and get the results displayed, but I have yet to receive an e-mail. 

Please help.
maria.

Stoich
Telerik team
 answered on 20 Dec 2010
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?