Under Review
Last Updated: 20 Jan 2023 08:05 by ADMIN

Hi there,

 

I'm looking for some clarification on what settings can be changed when passing a settings file to the ArtOfTestRunner.exe.

When I try to run a test list the settings for "Web" appear to follow the values I set as well as being able to change the Execution Delay, however when I try to change the 'RerunFailedTests' value it will still use the value set in the original list. 

 

Example settings.json I used

{	"Settings": {
  "__type": "ArtOfTest.WebAii.Core.Settings", "__value": {
    "Web": {  "__type": "ArtOfTest.WebAii.Core.Settings+WebSettings", "__value": {
        "RecycleBrowser": false,
        "DefaultBrowser": 12,
        "BaseUrl": "https://BaseUrl.com/qa",
        "KillBrowserProcessOnClose": false,
        "KillBrowsersBeforeStart": false
    }},
    "ExecutionDelay": 0,
    "RerunFailedTests": true
}}}

How can I pass in the  RerunFailedTests value from the settings json file?

 

Thanks for your help,

Liam 

Unplanned
Last Updated: 11 Jan 2023 11:50 by Andreas

Image verification step fails whith following exception when executed on specific machine. 

EXCEPTION! (see below)
     Outer Exception Type: ArtOfTest.Common.Design.Exceptions.VerificationWaitException
     Message: Unexpected error while waiting on condition. Error: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
          bei ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ImprovedImageVerificartionDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
          bei ArtOfTest.Common.Design.Extensibility.Descriptors.VerificationDescriptor.<PerformWait>b__30_0(IAutomationHost hst, DescriptorValueStore values)
          --- Ende der internen Ausnahmestapel├╝berwachung ---
          bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
          bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
          bei System.Delegate.DynamicInvokeImpl(Object[] args)
          bei ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)
     HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5376)
     Call Stack:
          bei ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Unplanned
Last Updated: 10 Jan 2023 09:07 by Neha

Executing a test with double click action on Windows 10 machine with Chrome browser, enabled for automation with extension, is failing on the double click action when executed in code. 

Test Studio version 2022.3.xx. 

Sample test shared internally.

Unplanned
Last Updated: 28 Dec 2022 11:03 by Christopher

Visual Studio 17.4.3 crashes when your rebuild a Test Studio project.

To reproduce the issue you need to create new project with only one test and a few steps. Then, build the project and Visual Studio becomes not responding.

Unplanned
Last Updated: 21 Dec 2022 16:53 by Ruth

Steps to reproduce: 

  1. In a test add an element through the highlighting menu -> Add Element to Repository.
  2. Create a step through the Step Builder for that element.
  3. Convert the step to code. Note: The test should not use any other recorded element in code. 
  4. At this point the element is only referenced in the test as Independent.
  5. Locally it is executed with no errors. 

Expected: To be executed with no errors on a remote machine. 
Actual: When executed through the Scheduling it results in compilation errors similar to this: 

 error CS1061: 'ProjectNamespace.Pages' does not contain a definition for 'PageNodeFriendlyName' and no extension method 'PageNodeFriendlyName' accepting a first argument of type 'ProjectNamespace.Pages' could be found (are you missing a using directive or an assembly reference?)

Unplanned
Last Updated: 21 Dec 2022 14:44 by Brant
Created by: Brant
Comments: 1
Type: Bug Report
1

I am not able to add Test Explorer Settings to my project in Visual Studio. I am missing the assembly LoadTestPackage and I was notified that this feature has been deprecated in VS 2022.

The support team at Test Studio mentioned an alternative solution with the Run Settings as possible solution, but it is not yet implemented.

Unplanned
Last Updated: 07 Dec 2022 16:57 by Frank
Created by: Frank
Comments: 0
Type: Bug Report
0

By design the Wait for exist step doesn't record an image for the element. However, you can manually add an image for the element in that step. And if this is the case the fallback to image search (when the find expression doesn't match an element on the page) remains only in the background - there is no message that the element is found by image only in the execution log. 

Steps to reproduce:

1. Use a wait for exist step with an image for the element.
2. Ensure the element find logic will fail to locate the element.
3. Ensure the image will match an image on the page. 
4. Run the test. 

Expected: The element to be located by image as a fallback search criteria and get the message and warning in the execution log for that. 

Actual: The test passes, but never informs that the element was found by image only.

Need More Info
Last Updated: 29 Nov 2022 15:20 by ADMIN

 At Execute for all tests I'm getting this error:

[ Compiler ]
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\AppPage.tstest.vb(111,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\AppPage.tstest.vb(117,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\LogOnBase2.tstest.vb(52,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\LogOnIfElse.tstest.vb(52,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'ERROR' > C:\Users\jbailey\OneDrive - Madison Resource Funding Corp\Nav2QA\NotThisLevel-Nav2-Smoke1\Nav2-Smoke1\TCE2.tstest.vb(59,0) : error BC30456: 'HomeDiv' is not a member of 'Pages.HttpsPedcoreuiPage'.
20:44:39 'INFO' > Build Failed

I spent an hour analyzing it. The only thing I can see in the code is the fact that, for each file with the error there is code from a file I no longer use. Here is the suspect:

                        

  <CodedStep("Verify 'TextContent' 'Exact' 'Home' on 'HomeDiv'")> _
        Public Sub LogOnBase_CodedStep()
                        Pages.HttpsPedcoreui.HomeDiv.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Exact, "Home")

        End Sub

I'd really like to talk to someone as there are other HomeDivs in the files so I don't want to start deleting steps.

 

Won't Fix
Last Updated: 23 Nov 2022 13:41 by ADMIN
Created by: Courtney
Comments: 2
Type: Bug Report
0
I have a page with a RadEditor on it.  The recorder will not record text being typed in the editor.  Is there a limitation here?
Completed
Last Updated: 08 Nov 2022 13:51 by ADMIN

Steps to reproduce: 

  1. Set the dark theme in Test Studio.
  2. Go to the Reports tab and choose some test runs to create a report.
  3. Export this to an image or html.

Expected: The x-axis and y-axis of the bar chart to be listed in the exported image. The colour legend next to the pie chart to be specified. 

Actual: These are missing. 

Note: If the export is performed from the light theme, the mentioned legend is output as expected.

Unplanned
Last Updated: 28 Oct 2022 08:50 by Jim
  1. Local scheduling setup - default installation of Test Studio with no services added.
  2. Project is connected locally.
  3. Schedule a test list (recurring or for some time ahead).
  4. Make a change in a test from the test list. 
  5. Save the changes - the automatic upload prompt appears on each save action. 
  6. If you choose to not show it again, the automatic upload gets triggered without showing that notification.
  7. As a result it produces error message saying "Scheduling service at http://localhost:8009 is reporting that it cannot communicate with Storage Service at http://<theMachineName>:8492/v1". 

Expected is that there shouldn't be any calls to the Storage Service.
Actual is that the attempt for upload to the Storage is triggered for local setup as well. 

Completed
Last Updated: 26 Oct 2022 13:39 by ADMIN
Created by: Jerry
Comments: 1
Type: Bug Report
1

Visual Studio 2019 crashes after opening and closing tests and working on them for some time. The memory that Visual Studio uses increases to the point where it slows down and eventually crashes. 

There are errors from VSTSExecution in the Windows Event Viewer log and other errors about faulting module "C:\WINDOWS\System32\KERNELBASE.dll" from the time of the crash.

 

Unplanned
Last Updated: 24 Oct 2022 06:35 by ADMIN

using 2022.2.804.0

Hi,

Given I do not enable the Chrome extension or I run in Chrome Headless mode,

When I attempt to access the url https://make.powerapps.com

Then I get the following Network error

{"error":"invalid_request","error_description":"AADSTS9002327: Tokens issued for the 'Single-Page Application' client-type may only be redeemed via cross-origin requests.\r\nTrace ID: 2dec4c79-8808-4b00-b13c-c2dc348e0000\r\nCorrelation ID: 5624ddba-63af-4883-9855-1669b2228f77\r\nTimestamp: 2022-10-19 19:16:52Z","error_codes":[9002327],"timestamp":"2022-10-19 19:16:52Z","trace_id":"2dec4c79-8808-4b00-b13c-c2dc348e0000","correlation_id":"5624ddba-63af-4883-9855-1669b2228f77"}

Please advise.

Pending Review
Last Updated: 10 Oct 2022 11:41 by ADMIN

In a desktop test you can add data source and data drive the properties of the test steps. This is only available for verification steps. If you want to data drive the typing of text in an action step, the binding properties are not displayed. 

Enable data binding for action steps as well. 

Unplanned
Last Updated: 05 Oct 2022 11:36 by ADMIN

Hello,

I tried to use Headless mode and see that it doesn't work with clipboard. The part of my test scenario is click on button "Copy to clipboard" on the page and check the copied text. Nothing is copied in headless mode. 
Can you help me?

Unplanned
Last Updated: 05 Oct 2022 08:13 by ADMIN
I have an existing list of steps that I've made for a WPF application.  If I select a test step that selects a different button on the testing application then select "Run To Here", wait for Test Studio to reach the previously mentioned test step and will timeout after a new screen opens.  I have the Test Log in the attached describing the error (Test Log.txt), which I select test step #3 to "Run To Here".  Using Progress Telerik Test Studio Version 2021.3.1103.0.  I'm not using any of the web features for testing, and I have uninstalled and reinstalled this version of Test Studio in case this was causing the issue for the recorder to not record anymore.
Unplanned
Last Updated: 03 Oct 2022 15:56 by Emma

In user's specific application there are kendo menus implemented with sub-menus to appear on mouse hover. During recording all menus can be opened as expected only if highlighting is not enabled. Once highlighting is on, the submenus are shown over the main menu and no clear selection can be made. 

Further details on the case shared internally!

Workaround: The issue could be workaround with the following steps: 

  1. Keep highlighting disabled and open the menus as expected. 
  2. Use click steps over the menu options to add these as elements into the Test Studio project (in the Elements Explorer). 
  3. Use these elements to add the required steps from the Step Builder
Unplanned
Last Updated: 28 Sep 2022 13:46 by Dan
Hi,

The step 'Verify that there are no JS Console errors' is not catching the 'Uncaught (in promise) JS error.
Completed
Last Updated: 15 Sep 2022 12:25 by ADMIN

Test Studio version 2022.2.804.

Steps to reproduce

1. Use a tests, which enters text into an input field.
2. Use commas in the text to type. 

Expected: The text to get typed with all listed characters.
Actual: Commas don't get entered into the text field. 

Unplanned
Last Updated: 29 Aug 2022 13:46 by Amy

Steps to reproduce

  1. Start a recording session with a browser (Chrome or Edge) without using the Test Studio extension. 
  2. Navigate to a page where you can download a file and trigger the download.
  3. Insert the file name and choose a folder to save the file. 

Expected: A 'Handle Download Dialog' step is added to the test and the file is downloaded.
Actual: A 'Handle Download Dialog' step is added to the test but the file is not really downloaded and you can't find it the specified folder. 

The 'Handle Download Dialog' step is recorded correctly, though, and you can use it for execution. During test run-time the file gets downloaded correctly in the specified folder. 

1 2 3 4 5 6