Telerik Forums
Test Studio Forum
6 answers
382 views

Hi,

I want to execute the loop pictured in attachment "loop.png". Both the loop and the "Click"-command are marked as "Continue on Failure".

The button that is supposed to be clicked is the button to close a tab on the website. The loop is supposed to close all tabs. Hence, the loop is expected to have failed executions if there are less than 10 tabs open. As the step is marked as "Continue on Failure" I would assume that the test execution is not failing if these steps are failing.

When I execute the test, the loop will close all tabs on the website. Some loop iterations will fail as there are no more tabs to close. When the loop is being executed for the 10th time, the test fails. The log is attached: log.zip.

What optiosn do I need to enable to make sure that failed command executions do not result in a failed test?

Elena
Telerik team
 answered on 21 Jan 2021
8 answers
159 views

Hi,

We are experiencing random failures in our current suite of smoke tests that we run against our application. They are usually very stable however, we have recently implemented a service worker on the application and now the tests are failing.

The test step that is failing is a simple click a button and then verify that a div is displayed. We have tested the changes manually and there are no issues with the changes.

We then reverted the build of our application to exclude the service worker change and all tests ran successfully.

Has anyone experienced this issue related to service workers and Telerik failures before?

Plamen Mitrev
Telerik team
 answered on 20 Jan 2021
3 answers
440 views

Hello,

I try to setup Telerik for our customer. In their infrastructure, there is a virtual machine running with a Telerik Execution Server License. We want to have a number of Telerik clients that can checkout test cases from a git repository. These clients should be able to manually start test cases that are executed on the Remote Execution Server.

 

I setup the server with one admin: It is constantly running with admin privileges, the browsers als calibrated and the Telerik plugin is installed in Chrome. We used the default ports.

The firewall allows connections via ports 8009, 8492 and 55555. I verified that I can connect from my local laptop.

In my local Telerik installation, I can connect to the machine (See Screenshot "Scheduling Server Settings.png).

Under Tab "Test Lists" I added a Test case that successfully runs on my local machine. When I choose that Test List and choose "Run List Remotely", I can see the Remote Execution Server (See screenshot "Run Test List Remotely.png").

But when I click "Run Test List" it's stuck at "Uploading latest project files" with the error message "Running test list failed internally due to unhandled error". In the Log I see the following:

[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:18),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:18),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          bei Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()
 
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:29)] First trace message from pool unnamed thread (managed ID = 29, native ID = 18904).
[01.14 11:01:04,Telerik.TestStudio.Scheduling.Client.exe(10116:29),Execution] ProcessManager.RefreshMachineStatusAsync() : Error trying to report to scheduling server: Fehler beim Senden der Anforderung.
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:5),Execution] WindowsMachineMonitor.GatherProfilingResults() : Counter issue: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:5),Execution] WindowsMachineMonitor.GatherProfilingResults() : EXCEPTION! (see below)
     Outer Exception Type: System.NullReferenceException
     Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          bei Telerik.TestStudio.ProcessManager.MachineMonitor.WindowsMachineMonitor.GatherProfilingResults()
 
[01.14 11:01:09,Telerik.TestStudio.Scheduling.Client.exe(10116:29),Execution] ProcessManager.RefreshMachineStatusAsync() : Error trying to report to scheduling server: Fehler beim Senden der Anforderung.

 

 

I suspect that I missed a detail during the setup. Can someone help?

Elena
Telerik team
 answered on 18 Jan 2021
5 answers
629 views

I need to use the value from a variable to find an element to click.

The variable value is being extracted from a database using C# (data binding won't work because I am already bound to the data, but this value did not exist at the time of binding).

The variable name is varDocID

I am trying to use it to compare to the OnClick event of the image I need to click in a grid with many instances of the same image.

~$(varDocID) does not work as it does not use the value and only tries to comapre to the variable name instead of the variable value.

Please advise.

Elena
Telerik team
 answered on 15 Jan 2021
1 answer
688 views

Hi, 

 

Good day. As part of our Continues Integration (CI), we wanted to integrate azure devops build pipeline into our telerik test studio automation framework (or vice versa) so we can test incoming new build. Can you please point me to the right direction on how i can achieve this? Currently we have an existing automation framework (via Telerik Test Studio) which is triggered manually at the moment. 

 

Thank you

Elena
Telerik team
 answered on 14 Jan 2021
3 answers
166 views

Hi , 

I have a test list which has a test(with if and Else condition). I have 10 iterations. When I run the list, I have both If and Else conditions running. 

My question is  : After the test list is completed, Is there a way to find , how many times the if loop is executed.. ? How many times the else loop is executed  ? in the same test list.

 

Could you please help me on this.

 

Regards ,

Nithya A.

Plamen Mitrev
Telerik team
 answered on 12 Jan 2021
10 answers
318 views
I am trying Following code to validate check Box property
      
              SortedList<float, GridViewHeaderCell> columns = new SortedList<float,GridViewHeaderCell>();
              RadGridView grid = Pages.proj1.SilverlightApp.MasterDataGridTigerradgridview;
             GridViewHeaderRow header = grid.HeaderRow;

             IList<GridViewRow> rows = grid.Find.AllByType<GridViewRow>();
                    /*  GridViewCell cell = rows[r].Cells[StatusCol];
                       cell.User.Click(MouseClickType.LeftDoubleClick);
                       cell.Refresh();
                       
                       FrameworkElement Active = cell.Find.ByAutomationId("activeCheckBox");
                        if (Active.IsChecked == false)
            
                        Active.Check(true);*/

I am getting following error for last two row this code,
c:\Automation1\Manage Jobs\DATA\JobDimention\ADD_JobDimention.tstest.cs: Line 145: (CS1061) 'ArtOfTest.WebAii.Silverlight.FrameworkElement' does not contain a definition for 'Check' and no extension method 'Check' accepting a first argument of type 'ArtOfTest.WebAii.Silverlight.FrameworkElement' could be found (are you missing a using directive or an assembly reference?)
Can you you guide me how can i fix this issue?

Note : Check box in part of RadGridCell as shown in attached screenshot
Elena
Telerik team
 answered on 11 Jan 2021
9 answers
143 views

Our web application is actually made with Silverlight, because we have performance issues while testing.  Especially while entering something in textboxes.
Default values for KeyHoldTime is 100 ms and for TimeBetweenKeypresses 10 ms  -  for our application i have to change every value to 350 + 100 to be sure the value is correctly entered.  It's pain in the ass to edit every textbox manually...  Our bigger forms are made of 150-200 test steps and about 20-40 input boxes.

I coul'd find any settings for default values for these two.  It would be nice to set these per project.

The second problem we have is the "ClearCurrentText" setting, which seems to push random times the back button (instead until the input field is empty).  Longer strings like date+time is never completly cleared by this function, why the entry of the new values fails. Sometime only 1..2 chars are deleted, so also short text/number fields are not properly cleared.   So we click + push delete manually for every entry box.  that's not really what we hoped for from the software.  The time to create a properly running test for a bigger form is actually at 50 hours and more until it finally runs completely error-free several times. The most time we correting stuff TTS is doing wrong like clearing and entering.

Plamen Mitrev
Telerik team
 answered on 30 Dec 2020
9 answers
317 views

Hi,

I'm trying to connect Test Studio to a VisualStudio.com git repository.

 

When I enter the details into the Connect Source Control option it shows:

"Connection to remote repository successful!"

 

However having tried a few different options in this section I can't seem to ever get it to fail (even just entering the word 'anything' as the connection URL shows as successful.

 

 

After connecting, when trying to pull / push / etc it fails to connect, which suggests it never did in the first place:

"Error pushing to remote: Git Source Control: Failed to push items. failed to send request: A connection with the server could not be established"

 

I'm running 18.1.418.0.

Are there any prerequisites required? (I have Visual Studio 2017 installed on the machine and Git for Windows)

 

Elena
Telerik team
 answered on 18 Dec 2020
3 answers
160 views

Hi,

 

I've tried to record a basic WPF test, but when I select the .exe path of the application and click OK I get the following Error :

[...]MyPath\Config does not exit.(it actually says exit and not exist!)

Any idea what this may be? Should I configure something else before recording the WPF test?

Plamen Mitrev
Telerik team
 answered on 18 Dec 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?