Telerik Forums
Test Studio Forum
2 answers
33 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
170 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
399 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
138 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
136 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
130 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
4 answers
106 views
HI I am trying to record clicking a Link which is inside div tag. But no event is getting recorded if i click on that link keeping recorder ON.

code 
<div class="noFlashLinkBox">
<div class="noFlashBox" style="width: 130px;"> <!-- 154 -->
<h1>Welcome</h1>
<ul>
<li><a href="/welcome/about-you/en/index.html">About You</a></li>
<li><a href="/welcome/about-us/en/index.html">About Us</a></li>
<li><a href="/welcome/press-releases/en/index.html">Press Releases</a></li>
<li><a href="/welcome/take-a-tour/en/index.html">Take A Tour</a></li>
<li><a href="/welcome/investor-relations/en/index.html">Investor Relations</a></li>
<li><a href="/careers/index.html">Careers</a></li>
<li><a href="/welcome/making-a-difference/en/index.html">Making A Difference</a></li>

</ul>
</div>

I want to click each link one by one.

Also do we have any kind of validation mechanism which can verify that after navigation all the content in the page is correct?

Regards
Kanwaljeet
Konstantin Petkov
Telerik team
 answered on 02 Mar 2011
1 answer
81 views
Hi,
 I am recording my application and click on "Report Schedular" button in my application, after that a new reporting application opens to make reports. i.e. " Stimulsoft Report Designer.web" it is Flash based application 

Now my question is that, recorder does not record anything on that Application. Is it possible to record on this reporting application or not ?
Please Reply

Regards,
Nitin
Stoich
Telerik team
 answered on 01 Mar 2011
1 answer
290 views
JavaScript code is not working inside a RadAjaxPanel

I have used a telerik RadAjaxPanel. Insdie this panel I have a button. I want to open a new window using javascript code by clicking this button. My code is shown below:

string script = "window.open('http://example.org/NewPage.aspx', 'new_window');";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Open window", script, true);

NB:This code is written in .cs page and this are C# code.
 If i use the button outside the RadAjaxPanel then it works nicely.


Thanks in advance
Prangadj
Top achievements
Rank 1
 answered on 01 Mar 2011
7 answers
166 views
Hello,
          I was wondering, is there a way to do stress testing on the web server to simulate multiple users? Or setup the scheduling server to run multiple tests concurrently?
Jason
Top achievements
Rank 2
 answered on 28 Feb 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?