Telerik Forums
Test Studio Forum
5 answers
272 views
I have followed the steps mentioned in http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/execution-extensions.aspx

Create a Class Library
Added the necesssary references

Below is the Code:
It is the same as given in the above link.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using System.Data.OleDb;
using System.Windows.Forms;
using ArtOfTest.WebAii.Design.Execution;

namespace ClassLibrary1
{
    public class Class1 : IExecutionExtension
    {
        public void OnAfterTestCompleted(ExecutionContext executionContext, TestResult result)
        {
            
        }

        public void OnBeforeTestStarted(ExecutionContext executionContext, ArtOfTest.WebAii.Design.ProjectModel.Test test)
        {
            
        }

        public DataTable OnInitializeDataSource(ExecutionContext executionContext)
        {
            return null;
        }

        public void OnStepFailure(ExecutionContext executionContext, ArtOfTest.WebAii.Design.AutomationStepResult stepResult)
        {
           
        }

        public void OnAfterTestListCompleted(RunResult result)
        {
            string msg = string.Format("TestList '{0}' completed on '{1}'. ({2}/{3}) Passed", result.Name, result.EndTime, result.PassedCount, result.TestResults.Count);
            StreamWriter file = new StreamWriter("c:\\test-list-results.txt");
            file.WriteLine(msg);
            file.Close();
        }

        public void OnBeforeTestListStarted(TestList list)
        {
           
        }
    }
}


I have build the code and copied the dll ClassLibrary1.dll to bin folder of Telerik.
Also add the ClassLibrary1.dll in the refernces of Telerik.
Still the OnAfterTestListCompleted is not getting invoked

Ivaylo
Telerik team
 answered on 16 Jun 2015
20 answers
658 views
Hi,

When recording, how do I get the recorder to record actions taken in a modal popup dialog?

Thanks

/Joakim
Arvind Dhiman
Top achievements
Rank 1
 answered on 15 Jun 2015
6 answers
189 views
I'm using the latest trial version of Test Studio and am building a proposal to use it for my company.

I've written a simple test but can't get the FileUpload dialog to display in Firefox 12.0. The test just hangs. All other browsers work ok.
I've ensured that the Firefox settings have been configured correctly.

Any clues as to why I'm getting this error in Firefox:

Timed out waiting '10000' msec. for any dialog to be handled '1'

Cheers,
Steve
Ivaylo
Telerik team
 answered on 15 Jun 2015
3 answers
93 views

I having problems with no log files being produced from my test runs.  I set up a test list today, went into Edit Settings, set my LogLocation and made sure CreateLogFile was checked.  Ran my test.  No log file.  Tried changing the LogLocation to my C drive.  Ran my test.  No log file.  Tried changing the location back to TestStudio's default.  Ran my test.  No log file. Are there other settings elsewhere that I need to change?

 

Thanks.

Ivaylo
Telerik team
 answered on 15 Jun 2015
3 answers
140 views

Hi,

 We use TFS as repository for our project and store TFS test related files as well.

I am wondering whether we need to check in Pages.g.cs everytime we add a new object.

We are facing object not found issues intermittently. But team mate would have checked in latest objects to TFS.

I was of impression that pages.g.s gets created every time project is loaded.

Any inputs will be appreciated.

Thanks,

VVP

Cody
Telerik team
 answered on 14 Jun 2015
1 answer
39 views
Iam not unable to execute tests repeatedly but recording is happening fine, secondly please tell me how to populate test lists and also to analyze results as iam in the process of evaluating the tool and plan to purchase it for our company
Boyan Boev
Telerik team
 answered on 12 Jun 2015
1 answer
37 views
Iam not unable to execute tests repeatedly but recording is happening fine, secondly please tell me how to populate test lists and also to analyze results as iam in the process of evaluating the tool and plan to purchase it for our company
Boyan Boev
Telerik team
 answered on 12 Jun 2015
1 answer
155 views

Hi Telerik,

We are facing one critical issue related to scripts execution on Chrome browser. When we are executing the created scripts on Google chrome it automatically creates multiple instances of chrome because of which our CPU utilization peaks up to 100%. Same scripts are working fine on Internet Explorer.

Please provide us a appropriate solution ASAP.

Thanks in Advance,

Regards,

 

Boyan Boev
Telerik team
 answered on 12 Jun 2015
1 answer
136 views

I recently upgraded to Test Studio version 2015.1.319.0 on a laptop running Windows 7. After the upgrade, I am now getting the following error after I start Test Studio:

There was no endpoint listening at https://www.telerik.com/services/ProductVersion/Service.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

This error appears immediately after startup, before I have selected a project. (At the Welcome to Test Studio screen) Is this an issue that will affect my testing, or can I ignore this error?

Boyan Boev
Telerik team
 answered on 12 Jun 2015
1 answer
103 views

Hi,

I am facing the below issue while running scripts remotely.

a.       I have a test suite out of which few scripts which has mouse/keyboard events such as – (Mouse real click, keyboard type, keypress events)

b.      When I schedule this test in a remote machine at some time, the scripts with mouse/keyboard events are failing whereas all the other scripts are passing. I assume, it is because of the browser not being focused at that point of time. Same happens when I launch a remote machine through my laptop, run the keyboard events script and return back to my machine (minimizing the remote machine and returning to my machine’s session) – Script fails at the step which has keyboard/mouse events.

Could you please provide some solution to this?


Ivaylo
Telerik team
 answered on 12 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?