Telerik Forums
Test Studio Forum
1 answer
81 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
124 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
176 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
145 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
2 answers
35 views
I have been at this for days trying to get this to run
I open Web UI 2010.3.1213.0 execute a test-  look at the greens and reds- make no changes- run it again- and the test hangs after the browser closes the 2nd time only- then there is no log-
what is going on
I've had this same thing happen on two differnt computers on two different OS Vista64 and Windows 7 -64
I setup IE8 from your directions and installed 4.0 framework too
Can someone call me
I need to work and not get in trouble with my boss

Sebastian
Top achievements
Rank 1
 answered on 04 Mar 2011
5 answers
176 views
I get the following errors when I try to use the below code. I am trying to Upload a file where the file name is Data Driven and the file path from the project. I have the recorded step still, but disabled in the test. If I can use the "fullPath" variable in the recorded step, that would work for me also.

c:\Documents and Settings\gpittman\My Documents\WebUI Test Studio Projects\PLA\Helper\Submissions\Edit_Upload_Document.aii.cs: Line 95: (CS0246) The type or namespace name 'FileUploadDialog' could not be found (are you missing a using directive or an assembly reference?)
c:\Documents and Settings\gpittman\My Documents\WebUI Test Studio Projects\PLA\Helper\Submissions\Edit_Upload_Document.aii.cs: Line 95: (CS0246) The type or namespace name 'FileUploadDialog' could not be found (are you missing a using directive or an assembly reference?)
c:\Documents and Settings\gpittman\My Documents\WebUI Test Studio Projects\PLA\Helper\Submissions\Edit_Upload_Document.aii.cs: Line 95: (CS0103) The name 'DialogButton' does not exist in the current context


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 PLA2
{
 
    //
    // You can add custom execution steps by simply
    // adding a void function and decorating it with the [CodedStep]
    // attribute to the test method.
    // Those steps will automatically show up in the test steps on save.
    //
    // The BaseWebAiiTest exposes all key objects that you can use
    // to access the current testcase context. [i.e. ActiveBrowser, Find ..etc]
    //
    // Data driven tests can use the Data[columnIndex] or Data["columnName"]
    // to access data for a specific data iteration.
    //
    // Example:
    //
    // [CodedStep("MyCustom Step Description")]
    // public void MyCustomStep()
    // {
    //        // Custom code goes here
    //      ActiveBrowser.NavigateTo("http://www.google.com");
    //
    //        // Or
    //        ActiveBrowser.NavigateTo(Data["url"]);
    // }
    //
         
 
    public class Edit_Upload_Document : BaseWebAiiTest
    {
        #region [ Dynamic Pages Reference ]
 
        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
         
        public static string Document {get; set;}
         
         
        // Add your test methods here...
     
        //[CodedStep(@"Submission_Document")]
        //public void Edit_Upload_Document_CodedStep()
        {
        //    string DocumentName = String.Concat("Submission_Documents\\", Data["SubmissionDocument"]);
        //    string fullPath = System.IO.Path.Combine(this.ExecutionContext.DeploymentDirectory, DocumentName);
             
        //    Log.WriteLine("fullPath: '" + fullPath + "'");
             
        //}
     
        [CodedStep(@"File Upload")]
        public void Edit_Upload_Document_FileUpload()
        {
            string DocumentName = String.Concat("Submission_Documents\\", Data["SubmissionDocument"]);
            string fullPath = System.IO.Path.Combine(this.ExecutionContext.DeploymentDirectory, DocumentName);
             
            Log.WriteLine("fullPath: '" + fullPath + "'");
             
            FileUploadDialog fDialog = new FileUploadDialog(ActiveBrowser, fullPath, DialogButton.OPEN);
             
            Manager.Current.DialogMonitor.AddDialog(fDialog);
 
            Manager.Current.DialogMonitor.Start();
 
            HtmlInputFile fUpload= ActiveBrowser.Find.ByName<HtmlInputFile>("inputfile");
 
            fUpload.Click();
 
            fDialog.WaitUntilHandled();
 
            Manager.Current.DialogMonitor.Stop();
             
        }
    
    }
}
Cody
Telerik team
 answered on 03 Mar 2011
1 answer
404 views
Hi Terelik team,

Can you please give me the feature comparison of the Terelik versus QTP and Selenium listed below, along with the added rows of differentiators/Strong points of Terelik?

Feature  Selenium  QTP  Terelik - WebUI Test Studio QA Edition Comments
Recording  Feature YES YES ? ?
Playback Feature YES YES ? ?
Checkpoints YES YES ? ?
In Built Report NO YES ? ?
Script Customization YES YES ? ?
Multiple Browser Support YES YES ? ?
Multiple Language Support for Scripting YES NO ? ?
Modularity YES YES ? ?
OOPS YES NO ? ?
Extensibility YES NO ? ?
Support Desktop Applications NO YES ? ?
Object Scanning Features NO YES ? ?
Drive test case from teat managemant tool NO YES ? ?
Add-in Extensibility NO YES ? ?
 
Thanks in advance,
Vignessh.J
Daniel Levy
Telerik team
 answered on 03 Mar 2011
4 answers
142 views
Hi ,

We upgraded our telerik Test Studio to Version 2010.3.1421.0 on Friday 25 Fab 2011. After the upgrade same tests which were working before are not working through Test list. Getting below error in test log.

[7:00 AM] - ------- Function Start 'StandaloneHost.EditControlledFiles' -------
[7:00 AM] - Project is offline or uncontrolled; making files writeable
[7:00 AM] - ------- Function End 'StandaloneHost.EditControlledFiles' -------

Can someone please help.
Konstantin Petkov
Telerik team
 answered on 03 Mar 2011
8 answers
142 views
I'm setting up Web UI QA ver 2010.3.1421.0
IE8 on Vista 64 SP2
The browser is setup to run with Web UI and Vista
When I get projects from the TFS 2010 everything is good except I don't get all the log files on the Results cal
I also can not run Test Lists I know work for other people on site
If I execute a test from the record tab it runs fine, just not the test list
Sebastian
Top achievements
Rank 1
 answered on 02 Mar 2011
3 answers
134 views
We like to use WebUI Test Studio to perform testing of our API. The Test are very simple, a HTTP GET / POST call is made , JSON data is returned and we verify if the JSON data is good or bad.

The only issue is IE will try to save the JSON value when the content type is json.

Jay
Daniel Levy
Telerik team
 answered on 02 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?