Telerik Forums
Test Studio Forum
7 answers
180 views
I recorded quite a few tests that have a mouse hover over event.  The tests work the same day I record the test but the next day the tests fail.  The solution is to re-record the hover over step and the step after (clicking the sub-menu item).  Please advise.

I attached some screenshots.

In the attachment, step 5 is the hover over and step 6 is the clicking of the sub-menu item.  Even though it is showing that step 7 is failed, when I re-record steps 5 and 6, the whole test passes.  But I have to re-record this every couple of days and it seems counterproductive.

Thanks,

Garett
504.487.6872
garett.majoue@geocent.com
Cody
Telerik team
 answered on 28 Dec 2010
1 answer
94 views
I am evaluating testing frameworks.

You have WebUI Test Studio. Do you will continue update WebAii free with new features and bug fixes or the continuity of the project will stop?

There is not much information about this (about WebAii, there is almost no information in telerik site). An, far as I can see, all links that have mentioned "WebAii" go to somewhere that says "WebUI". Excluding the installation documentation, I don't find any other documentation about WebAii free.

I am concerned because I don't want to choose a framework that will be "dead" soon or later. What I mean with "dead" is that, eventually, it will stop in time.

Best Regards,

Bruno Almeida
Cody
Telerik team
 answered on 28 Dec 2010
3 answers
262 views
Hi all,

I'm writing on behalf of our test team that's getting started with WebIO Test Studio QA Edition and have run into a few challenges in setting up tests. Together we weren't able to find samples to do what we're hoping to get done but I assume it's possible in some way.
We have several tests created in the test studio that are running great but are seeing failures usually due to unreliable element IDs. The test team is less technical than a typical QA department so are relying heavily on the test recorder.

1) One of our pages contains an arbitrary number of textboxes (HTML INPUT fields). Our test script adds a new textbox by triggering a postback using other controls on the page. After that, we want to verify that there exists a textbox on the page containing the text we entered.
Using the recorder, the textbox is always identified by ID which fails on subsequent runs.
I suppose the short form of the question is "how do I verify that there exists on the page (or within a particular div) an INPUT with value X?". Can this be done using the GUI tools without (or using minimal) code?

2) How do we verify that a list (HTML SELECT) contains (not necessarily selected) a particular value? The IDs of the items are also unreliable, but we know the value we're looking for. The ID of the SELECT element is known.

3) How do we verify that a list (HTML SELECT) does NOT contain a particular value? I suspect a GUI-created solution isn't possible for a case like this.

4) How do we verify that a list (HTML SELECT) contains no items (OPTIONs)?

The test recorder is great for static pages but dynamic IDs have proven challenging to them. We went through a getting started guide together and didn't find anything that went into the areas we're having troubled with. If there is some supplemental documentation that points us in the right direction that would be super.

Thanks!
Keaegan
Telerik team
 answered on 27 Dec 2010
5 answers
216 views
I'm using WebUI Test Studio 2010.2 to test an application that deals with orders for temporary workers.  When a new temp order is created, a new guid is generated by the application and comes back to the web browser in a session variable.  That value is then used in multiple places - links on the page, the url in the address bar, etc.  Each time a new temp order is created it has a new guid. Note that the actual creation of the new guid and the new temp order record in the DB occurs upon the submission of form 1 in a 5-form process.  So on page 1 there is no temp order and thus no guid.  On pages, 2-5 - and all attendant lookups/popups - the guid hangs around to ensure all the actions are performed against that exact order and no other.

At the moment, the recorder does a fine job of recording all of these values but of course running the test fails since it's looking for the guids found when it was recorded, and now they're all 'wrong'.  The guids are not sequential, they are totally random in the form of "8-4-4-4-12" , a hexidecimal string.  I can't imagine the idea of dynamic values - that are not pre-recorded in a file - hasn't occurred to anyone at  Telerik.  I'm sure it's my own ignorance of the test suite, but I can't find any information about this in the docs.  How do I get this done?

Thanks,
Todd B.
Keaegan
Telerik team
 answered on 27 Dec 2010
3 answers
185 views
Hi,

I have an scenario where I need to find all the HyperLinks in Row which is having only one cell. I am Using WebUI Studio 2010.3 QA Edition(Trail One). Please find the screenshot attached. In the attached screen-shot page no's are displayed in the last Row of a table where our automation scenario requires to navigate through the all Page's by clicking on each page link & check the contents in the page.  The Screen Shot Contains only to couple of pages to navigate, but in some sceanrios we may require to navigate through 9-10 pages based on Data. I am struck at this point where i am not able to find any dynamic code to traverse through all pages.Please help me in resolving this problem.

Waiting for your reply.

Thanks,
Kalyan
Cody
Telerik team
 answered on 27 Dec 2010
1 answer
151 views
The project I am automating with my collegues is based on an application where each client has their own URL (and database instance).
That application also has a requirement that only one session is "tolerated" for a given client.
So, when client1.CrazyApp.com logs in and there is already a session for client1.CrazyApp.com then the existing session is terminated by the server.

I want to work on the same project with my co-workers using more than one URL to automate testing of the same application without having to worry about being bumped off.

Telerik enables me to change the base URL on the TestList level but not on the Test level, so we keep bumping each other off.

If anyone had to deal with a similar situation and solved the issue - please help.

I would hate to keep the automation completely separate then merge the two parts of the same project as i expect lots of issues and problems.

Much appreciated,
Cody
Telerik team
 answered on 27 Dec 2010
5 answers
89 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
129 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
148 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
188 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
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?