In Development
Last Updated: 21 Oct 2024 11:11 by ADMIN

Hi Team,

Our test application use java script navigator.clipboard.writetext  to copy content into clipboard, when we run cases with telerik 2024, some scenario pops error "fail to copy", the exception for java script is "NotAllowedError: Failed to execute 'writeText' on 'Clipboard': Write permission denied.".

After check, we can see it's because clipboard-write is denied when telerik open browser, but if we manually open the browser, it's fine. Only failed for browser which is opened by telerik.

You can use below example code to check in browsers which is opened by telerik.

test code:

// Initialize the settings

mySettings = new Settings();

// Set the default browser

mySettings.Web.DefaultBrowser = BrowserType.Chrome;  // we can change the two lines for different scenario test

mySettings.Web.UseBrowserExtension = false;

myManager = new Manager(mySettings);

// Start the manager

myManager.Start();

// Launch a new browser instance. [This will launch an IE instance given the setting above]

myManager.LaunchNewBrowser();

myManager.ActiveBrowser.NavigateTo("https://www.telerik.com");

when the browser is opened, you can execute below script in develop tools.

await navigator.permissions.query({

        name: 'clipboard-write',

    });

Below is what I have summary for telerik 2024 and 2022, please help to confirm if all the the denied scenarios are expected.

Thanks,

Jun

In Development
Last Updated: 16 May 2024 13:23 by ADMIN

Steps to reproduce:

  1. Schedule a test list with 'Rerun failed tests' option set to true. 
  2. The project to upload to Storage needs to produce a compilation error upon execution. 
  3. Check the test results.

Expected: The test list run does not execute any of the tests due to the compilation error and logs a failed test list result.

Actual: The test list run does not execute any of the tests due to the compilation error and logs a passed test list result.

 

In Development
Last Updated: 24 Apr 2024 15:37 by ADMIN

Test Studio supports adding a single custom base test class in the project. If one more base test class is defined and listed in a test code-behind file, the coded steps will be listed as empty and will not show the option to choose any of the methods in the test class.The steps will be still executed, but no changes can be applied within Test Studio (only in VS).

because I want many test sharing the same OnAfterTestCompleted(), instead of adding it to each test, I created new class:

using....

namespace test_studio_tests
{
    public class CustomWebAiiTest : BaseWebAiiTest
    {
        public override void OnAfterTestCompleted(TestResult result)
        {
            // some code to be executed 
        }
    }
}

and then all the tests to inherit from this new class

public class TestClass : CustomWebAiiTest

instead of Base one as they did so far. in TS project keep compiling, but then all the tests have extra icon and coded steps are not recognized anymore. in the meantime in VS2022 with TS plugin, all is recognized and keep working without any issue.

In Development
Last Updated: 16 Aug 2023 11:08 by ADMIN
Created by: Larry
Comments: 0
Type: Bug Report
0
When  the following step is executed:  KendoInput: value 'core' entered.  a null reference exception is thrown.
In Development
Last Updated: 05 Aug 2019 12:02 by ADMIN

The step gets successfully executed but fails with the following exception: 

Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
Cannot read property 'toggle' of undefined
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'$("th:eq(1)").data("kendoFilterMenu").popup.toggle()',ClientId:'663fc963-6051-4044-9dfb-ce01ca15339d',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Cannot read property 'toggle' of undefined')
InnerException: none.

Workaround: Record the click step to open the filter without using the Test Studio translator, or in other words against the span element directly. 

In Development
Last Updated: 21 Mar 2019 09:26 by ADMIN

Hi Support,

I am facing the below issue with the Product.

We were able to isolate the issue and it is reproduce able on Bing.com.

 

Basically, the “ Run to Here “  or “Test as a Step” functionality ,  they both pretty much do the same job.

Taking you to the previously recorded steps to continue with further recording.

 

Steps to Reproduce-----

 

Create Test#1

Go to Bing. Com and record few tests and close the browser.

Now, Right Click on the last recorded step and Select Run -To Here.

 

At this point, try to record and capture the Elements.

 

 

When you use either of the above mentioned functionality, the Recording and Elements capturing would stop working.

We were able to reproduce this from mine and one of my co-worker's laptop.

 This is the  same issue what I am facing with our Application (few weeks back Test studio has a release, could be related to build as it was working when i downloaded the tool initially)

Please let me know if you need any additional details from me.

 

 

 

Thanks,

Shubha

In Development
Last Updated: 26 Mar 2018 12:25 by ADMIN
Steps:

1. Create ApiTesting project with 2 tests - one passing and one that is disabled

2. Run the project from command line with a batch file

3. Check the exit code of the runner process - see the attachec cmd file for example

Expected: The exit code should be 0 (success)

Actual: The exit code is 1 (failed)
In Development
Last Updated: 21 Mar 2017 13:49 by ADMIN
Created by: Philipp
Comments: 1
Type: Feature Request
1
As C# developer i can test almost everything with the Test studio =>
- Website / Desktop Client
- API

But where i need it the most, Xamarin Android i need to use another tool. It would be really helpful to have the ability to test it all with one Tool. 

Since Test studio already supports Android / iOS, is it might not a big problem to also support Xamarin (Android & iOS).
In Development
Last Updated: 11 Jan 2017 13:34 by Alex
Steps to reproduce: 

1. TS version is R1.2016.1117

2.. The problem page contains a table which is nested in another table (both have the same ID) but if the ID is searched in the recorder it is not found at all although the element exists. During the investigation was determined that both tables are under div element which is not loaded in the recorder DOM tree. 

Details shared internally.