Telerik Forums
Testing Framework Forum
2 answers
54 views
Yesterday, I downloaded the latest release (v 2014.2.618.0) of the Telerik Testing Framework from the public download URL(http://www.telerik.com/download/testing-framework) and installed it on my DEV desktop.  (I have a DEV laptop running T.T.F. (v 2014.1.410.0), which does not experience this issue...)

In Visual Studio, I've added a Telerik VsUnit test class (TelerikVSUnitTest1.cs) to my test project and created a TestMethod, which simply launches the browser, as I'm demoing Telerik's ability to execute test cases on multiple browser platforms as a selling point to my team. 

[TestMethod]
public void LaunchBrowser()
{
     Manager.LaunchNewBrowser(BrowserType.FireFox);
}

Upon execution, I receive the following exception: System.ArgumentNullException:  Value cannot be null.  Parameter name: path1

As a baseline, my tests (of much greater complexity) run fine in IE, which does not require a Browser Extension; however, in Chrome, FireFox, and Safari, I receive the same exception, seen above.  I've boiled this down to the most simple of functions to demonstrate my issue and included both the demo class file, as well as the stack trace in the attached zip.

Other pertinent details:
Operating System
- Windows 8.1 (latest updates)

Visual Studio
- Version: 2013

Internet Explorer
- Version: (v11.0.9600.17207)
- Install path (default)

Chrome
- Version: (v35.0.1916.153m)
- Install path (default | C:\Program Files (x86)\Google\Chrome\Application\)

FireFox
- Version (v30.0)
- Install path (default | C:\Program Files (x86)\Mozilla Firefox\)

Safari
- Version (v5.1.7 (7534.57.2) )
- Install path (default | C:\Program Files (x86)\Safari\)

Based on the stack, it would seem it's something related to populating the executable path for the browser; however, I could be wrong.  In a comparison with my laptop, running 2014.1.410.0, I don't have any issues. 

It would be appreciated if I can get some guidance on what the issue is, or download links to updated browser extensions, which address this issue.

Thanks,

Mike
Boyan Boev
Telerik team
 answered on 15 Jul 2014
7 answers
126 views
Another problem I run in to is that I get this message in Chrome when i've run a test before.

http://cl.ly/image/3B2m2D0h370n

I've installed the extensions as  you can see

http://cl.ly/image/3k1m0d0Z032b

Scenario is:
Start a test with chrome browser.
Test fails, manually quit test.
Browser is still open.
Start another test.
See error message in Chrome browser that extension can not be found.

I'm running the test in vs2013 as ms test.


Werner
Boyan Boev
Telerik team
 answered on 15 Jul 2014
2 answers
98 views
We are using webaii for more then 4 years and suddenly this code doesn't work anymore in firefox
Im using the newest Webaii Build.

The code:

  public SelfServiceWrapper SelfService
        {
            get
            {
                if (_selfService == null)
                {
                    GetElementById("robin_popover");
                    GetElementById("robin_container");
                    GetElementById("robin_frame");

                    var iframe = Browser.Frames["robin_frame"];
                    _selfService = new SelfServiceWrapper(iframe);
                }

                Assert.IsNotNull(_selfService, "Robin frame is niet gevonden door webaii");

                return _selfService;
            }
        }

error:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException occurred
  HResult=-2146233088
  Message=ExecuteCommand failed!
InError set by the client. Client Error:
mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'cd61cd86-85b8-44b0-973c-3f9f74f9ff1a',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom. Error: TypeError: this.TargetDocument is null')
InnerException: none.

  Source=ArtOfTest.WebAii
  StackTrace:
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
       at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
       at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
       at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
       at ArtOfTest.WebAii.Core.FramesCollection.get_Item(String name)
       at Robin.Tests.UITests.Wrappers.SelfService.CustomerWebsiteWrapper.get_SelfService() in c:\Projects\Robin\Main\Source\Tests.UITests\Wrappers\SelfService\CustomerWebsiteWrapper.cs:line 119
  InnerException: 

http://cl.ly/image/3A411n0R3P2a


When I run this test in chrome it passes! 

Please can you take a look at this?
Ivaylo
Telerik team
 answered on 15 Jul 2014
1 answer
86 views
I already tried telerik test studio as tool to do functional and performance testing on website.  It was good. But, I want to ask is telerik test studio able to do back end testing? Can you give me some examples of back end testing that can be done using telerik test studio? thank you...
Boyan Boev
Telerik team
 answered on 14 Jul 2014
4 answers
365 views
Hi,

Trying to move automatic test from a mechine to another, i fell in a problem. 
Moving the same dlls, same nunit framework, same telerik framework dlls on the new mechine, when i'm trying to run tests via Nunit i received this error :

"Test.wMobilePC.CasesTF1.AbandonCase1:
System.IO.FileNotFoundException : Could not load file or assembly 'Telerik.TestingFramework.Interop, Version=2013.2.1210.0, Culture=neutral, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified.
TearDown : System.TypeInitializationException : The type initializer for 'ArtOfTest.Common.TraceInfo' threw an exception.
  ----> System.IO.FileNotFoundException : Could not load file or assembly 'Telerik.TestingFramework.Interop, Version=2013.2.1210.0, Culture=neutral, PublicKeyToken=8ca00d3e0ebd4b8b' or one of its dependencies. The system cannot find the file specified. ".

I cannot explain why the old mechine works fine an this don't. Anyway, i tried to add this dll (interop) but also i cannot find it even in C:\ProgramFiles (x86)\Telerik\..\bin .


Cand you point me in the right direction?

Thank you !
Chunks
Top achievements
Rank 1
 answered on 08 Jul 2014
3 answers
172 views
Hi all

I am trying to connect to a workspace in TFS where I had a project set up but I since deleted. I have created a new project and I am trying to connect now to that same workspace so I can check the new project in. It wont let me. It claims the "working folder is a already in use by the same workspace on my computer". So its like someone is already connected.

I guess its because I deleted the original project from the Workspace and I am now trying to connect again to check in a new project.

How do I get round this please?

Cheers

Rob
Cody
Telerik team
 answered on 30 Jun 2014
4 answers
139 views
Hello,

Telerik incorrectly builds DOM tree on certain pages. I've found that ActiveBrowser.ViewSourceString is not the same as ActiveBrowser.DomTree.Root.OuterMarkup.
Moreover, the Root.OuterMarkup is malformed (no end tags for some elements). As a result, Telerik can't find required elements and found them on different hierarchy level. Please, look at the pictures for better understanding. I've also attached the content of properties, mentioned above. Unfortunately, I can't provide you access to environment, but seems it should be enough to see the difference and use for debugging purposes.
The issue is very critical, as far as it appear on the most of our product pages.
Hope, you fix it soon.

Thanks,
Aleksey
madnut
Top achievements
Rank 1
 answered on 27 Jun 2014
5 answers
104 views
Hi 

I am currently researching into using MTM or Test Studio right now for our team. We already used the Telerik DevCraft tools and have done for some time, we work in Visual Studio and create both desktop and web based applications.

I have some general questions:

1. Are you still able to create Test Cases in TFS and/or requirements and then from within Test Studio use these Test requirements, Test Cases or Query on Priority levels of User Stories to create Test Suites like you can in MTM?

2. When logging a bug can you still utilise the TFS bug logging features in the same way MTM does through TFS?

3. When logging a bug does Test Studio capture in images all the steps performed up to the point the bug occurred?

4. Can you still perform analysis on Tests results the same way that MTM does?

5. Can you step up tests and link them to specific builds within a project in TFS?

6. Does Test Manager connect in the same way to Visual Studio so that you connect to a Project in TFS then create a Test Plan and under this create Test Suites and Test Cases?

7. Can you dock the Test Studio to the left or right of the screen when performing tests on an application or in a web browser.

8. The main video focuses quite a bit on Web based testing, I assume you can test on desktop based applications with the same facilities and power as the web based applications?

Sorry for the large number of questions. I can see from some of the videos and tutorials and documentation that Test Studio is very capable and goes beyond MTM in many ways but these are some of things I wanted more of a specific answer on.

Many thanks for your help

Rob


Cody
Telerik team
 answered on 26 Jun 2014
1 answer
279 views
Hi ,

I am using testing framework 2013.2.1327.0. The framework is really good is really and it has really helped me a lot but currently I am facing few issues:

1. I have designed the script using MSTest. When I execute the tests using vstest.console.exe from developers command prompt. Sometimes when tests fails, the execution stops and tests does not get executed. I have faced this issues quite a lot of time . I am unable figure out the root cause. If would be really helpful if you could provide me any workaround for this.

2. Framework is unable to identify the authentication window for chrome 33. how could i fix this issue.
Ivaylo
Telerik team
 answered on 26 Jun 2014
1 answer
108 views
I am using RadGrid with Template Fields.

<Columns>
                <telerik:GridTemplateColumn Groupable="false" HeaderText="Assessors" AllowFiltering="false" DataField="SeniorManagerID" UniqueName="SeniorManagerID"
                    HeaderStyle-Width="10%" ItemStyle-Width="10%"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <%# Eval("SeniorManagerName")%>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <telerik:RadAutoCompleteBox ID="racbSeniorManagers" DataSourceID="sqlAssessors"
                            EnableEmbeddedSkins="true" Skin="Metro"
                            EmptyMessage="Add Assessor" InputType="Token"
                            runat="server" Width="400" DropDownHeight="100" BackColor="White"
                            AllowCustomEntry="false" TextSettings-SelectionMode="Single"
                            DropDownWidth="400" DataTextField="SeniorManagerName" DataValueField="SeniorManagerID"
                            OnClientEntryRemoved="entryRemoved"
                            RenderMode="Lightweight">
                            <DropDownItemTemplate>
                                ----------Dropdown code
                            </DropDownItemTemplate>
                        </telerik:RadAutoCompleteBox>

                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>

</Columns>


The code is

Protected Sub dgAssessors_BatchEditCommand(sender As Object, e As Telerik.Web.UI.GridBatchEditingEventArgs) Handles dgAssessors.BatchEditCommand
        Try
              Dim oldValue as integer = e.Commands(i).OldValues
              Dim newValue as integer = e.Commands(i).NewValues

Here I am able to get the Old Value and New Value of the autocomplete Textbox (Text Property) 
But I want the DataValueField value of telerik:RadAutoCompleteBox control inside the dgAssessors_BatchEditCommand event handler?




Cody
Telerik team
 answered on 24 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?