Telerik Forums
Test Studio Forum
1 answer
55 views
We have Team Foundation Server as a version control system in place. Telerik QA edition seems to be successfully integrating and checking in/out changesets to the repository. However, we have an external continuous integration system (Hudson) that orchestrates our current builds and unit/interface testing. When sourcing from TFS using our CI service, certain files seem to be missing, namely:
  • The project DLL that is compiled from our C# code at runtime
  • Any test lists that engineers create

Has anybody been able to successfully integrate with TFS, the QA Edition, and a third party orchestration engine?

If we used another version control system (or a client external from Telerik) we could check all those files in, but then we lose the integration that the QA edition offers. Some basic investigation into how the DLL is created yielded a dark path that I don't really want to walk down - namely that the test runner edition can't be used to compile the DLL. Moving to the developer edition with full MS-Test seems a bit heavy given that we enjoy the usability of the QA edition. A trial run using another version control system was successful in executing the tests and reporting results, so we've at least got something working.
Konstantin Petkov
Telerik team
 answered on 11 Mar 2011
3 answers
85 views
Test runs fine but not in a test list
Also, I have test steps in a few tests that fail on execution but pass when I edit them
It says validation passed! but still fails
I tried changing the wait time and convert to wait
Stoich
Telerik team
 answered on 11 Mar 2011
9 answers
205 views
One of my applications under test is currently being converted to .NET 4 from .NET 1.1 (yes, I know, it's about time).  The most meaningful consequence of this from my standpoint is that the names of the HTML elements referenced by my tests are all going to change because, unlike now, they'll all be inherited from master pages. For instance, a control named "FaceAmountDDLSelect" will become "ContentPlaceHolder1PageHoldAccordionOptionalFilterViewUCOptionFilterControlsUCFaceAmountDDLSelect".  Or something like that.

In order to maintain the usability of my tests post-conversion, I'm definitely in search of advice.  It seems to me that it might be as simple as changing the find logic to "contains" for each control since the legacy control names won't be deleted entirely, but only appended.  Regardless, I'd be interested to hear from anyone who has dealt with a similar situation.  Thank you!
Cody
Telerik team
 answered on 10 Mar 2011
7 answers
139 views
Hello. I've recorder test from WebUI test studio. It records me like that:

using Telerik.WebAii.Controls.Html;
//using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
 
using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Design;
using ArtOfTest.WebAii.Design.Execution;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;
 
namespace SFTQuickStarts_NUnit_CS
{
 
 
    public class Login : BaseWebAiiTest
    {
        #region [ Dynamic Pages Reference ]
 
        private string loginPage; // path to site
        private string emulatorPath; // path to emulator
        private string credentials; // path to file with credentials
        private string sitePage; // path to file with site page
        private string login;
        private string pass;
        private Pages _pages;
 
        /// <summary>
        /// Gets the Pages object that has references
        /// to all the elements, frames or regions
        /// in this project.
        /// </summary>
        public Pages Pages
        {
            get
            {
                if (_pages == null)
                {
                    _pages = new Pages(Manager.Current);
                }
                return _pages;
            }
        }
    
        #endregion

It is working from WebUI studio. Then I moved this code to Visual Studio 2010. The automation library was connected. But

private Pages _pages;
 
public Pages Pages
        {
            get
            {
                if (_pages == null)
                {
                    _pages = new Pages(Manager.Current);
                }
                return _pages;
            }
        }

are marked as incorrect. After trying to build project I receive the next:

Error   1   The type or namespace name 'Pages' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\WebUI Test Studio 2010.3\Samples\WebAii Framework\QuickStarts_NUnit_CS\Login.cs    32  17  QuickStarts_NUnit_CS
 
Error   2   The type or namespace name 'Pages' could not be found (are you missing a using directive or an assembly reference?) C:\Program Files\Telerik\WebUI Test Studio 2010.3\Samples\WebAii Framework\QuickStarts_NUnit_CS\Login.cs    39  16  QuickStarts_NUnit_CS

Please help me.
James Faw
Top achievements
Rank 1
 answered on 10 Mar 2011
8 answers
274 views
Hi Cody,

Thanks again for your help today with the timeout issue. While that issue appears to be resolved, I now seem to be having issues installing the scheduling services. I did have the scheduling services installed and working previously, but recall that I reinstalled a the newer build of WebUI and we did not install the scheduling services at that time.

When I re-run the installer to add the Scheduler services, the install stalls and says that it cannot start the scheduling services, and i have to end up canceling the install and rolling back all the changes. I have rebooted a few times and retried the install with no success. I cannot manually start the service, because the service is not available until it is installed.

Please advise me of any suggestions you have. Thanks,

Zach
Zachary
Top achievements
Rank 1
 answered on 09 Mar 2011
5 answers
177 views
I'm seeking some community assistance for what is probably my most vexing testing problem at the moment.  Hopefully this post finds someone out there who has dealt with a similar challenge in a more elegant/scalable manner than I have, or at very least some Telerik support staff input would be greatly helpful.

I aim to script a complete trip through a life insurance application wizard where one of many insurance carriers can be selected.  The carrier selection is made from a DataGrid ASP.NET control which orders the carriers in ascending order based on quote price (see the first screenshot).

Furthermore, once the user is within a particular carrier's app wizard, they will eventually reach a forms selection page, where the minimum required forms for the application packet are automatically selected, along with any forms that become required based on answers to preceding questions about the applicant in the previous wizard pages.  Furthermore, the user can select additional forms to include in the packet.  All forms work is done within a Repeater ASP.NET control (see second screenshot).

The rub is this: due to frequent rate changes by our carriers, and necessary forms updates performed periodically for each carrier, these pages are very dynamic in nature.  For instance, Transamerica will not always hold the same position in the DataGrid from one week to the next, and a forms update for a particular carrier may change where a particular form shows up in the Repeater.  So the challenge lies in writing a script that, for example, will ALWAYS select Transamerica as the carrier, or will ALWAYS select a particular form in the Repeater, regardless of how those items move around on the page due to necessary updates.

This is made all the more difficult due to the fact that the names of the button/checkbox controls are not specific to the carriers or the forms.  The "Add Lead" button that corresponds to Transamerica in the DataGrid will have an id of something like "StandardPlusDG_ctl06_SelectImage", a name that is specific to the position on the grid and could hence be used to select an entirely different carrier when the system is updated with the latest pricing schemes for our carriers.  Similarly, a "Buyer's Guide" form's checkbox will have an id of something like "FormsRepeater_ctl01_FormCB", which again could be used to refer to an entirely different form after a system update.

One solution I've come up with and have had moderate success with has involved creating a sort of "decision matrix" for both the carrier selection page and the forms page, where, given a data-driven context, the buttons/checkboxes that need to be selected for each individual iteration are recorded into script and nested within if/else statements.  See the third screenshot - note that buttons are set to be clicked only given certain conditions, so that the location of the "Transamerica" button is known for each iteration of the test. 

Note the flaw here - my script is only as good as the latest system update!  It gives me the power to have a fully automated process for testing our application wizard within a given week, but in order to keep this up I have to run the script every Monday and see how many test cases fail so I can know how many "fixes" I need to make so I can have a good automation script for another week.  I have made this easier on myself by building if-else page verification steps into the script (essentially, the script knows immediately if it's not in the Transamerica application wizard, and the iteration fails immediately at that point and the browser closes, opens, and runs the next iteration).  However, depending on the extent of the latest system update this can take 1-4 hours at the beginning of each week.  And this is just for one carrier - my goal is to have an automation script for each carrier!  So my need for a more scalable methodology is clear.

Has anybody out there faced a similar challenge?  Any help would be greatly appreciated!
Jason
Top achievements
Rank 2
 answered on 08 Mar 2011
1 answer
76 views
Hello
    I'm having an issue where my test hangs
 Sometimes when a link on a page is clicked
IsUrlpartial is checked and it is not Modal
The test will bomb out and no log is recorded
I tried changing the wait time
build 2010.3.1213.0
Stoich
Telerik team
 answered on 08 Mar 2011
3 answers
121 views
Guys, I have a     RadGrid where I embedded an image button. When I click the button this is what I got. How can I resolve that?

 

Server Error in '/AJAXCTS' Application.

Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Tsvetina
Telerik team
 answered on 08 Mar 2011
6 answers
164 views
Does the WaitCheckInterval in test list overwrite the watiforurl in individual tests which are part of the test list execuation if the waitcheckinterval is greater than the waitforurl in a particular test?


thanks,

Neeraj
Neeraj
Top achievements
Rank 1
 answered on 07 Mar 2011
9 answers
141 views
Having a problem installing the WebUI Test studio.  Get error stating "Telerik.WebUI.TestStudio.SchedulingService faild to start.  Verify that you have sufficient privilges to start system services."

Logged in as/running intall as Administrator

OS
MS Windows Server 2003 R2 - Standard Edition - SP 2

what am I missing here?

thanks
C
Cody
Telerik team
 answered on 04 Mar 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?