Telerik Forums
Test Studio Forum
1 answer
64 views

Hi Team,
We are encountering this issue for quite a while now and have not been able to find a solution for the same.
We are trying to create a test list with 4-5 tests. All the tests were originally tested and all were passing, but after adding them to the list and running the list, we encounter issues in random steps spread throughout the entire list.
Even after debugging them, we face a different set of failures that weren't happening earlier. There also have been situations, where the entire list passed without any failure, but we are not able to understand the root cause for this inconsistency.
Is there any solution to resolve this behavior?

Thank You.

Plamen Mitrev
Telerik team
 answered on 21 Sep 2022
1 answer
136 views

Hey guys,

I have a kendo menu via ASP.NET Core:

<kendo-menu name="menuNavigation">
	<scrollable enabled="true" />
	<items>
		<menu-item text="Einstellungen">
			<sub-items>
				<menu-item asp-action="Index" asp-controller="Einstellungen" text="Fahneneinstellungen & Preise"></menu-item>
				<menu-item asp-action="Archiv" asp-controller="@Namings.Data.Loan" text="Archivierte @Namings.Data.Loans"></menu-item>
			</sub-items>
		</menu-item>
	</items>
</kendo-menu>

What I'm trying to achieve is to make a mouseover event over the "Einstellungen" menu item, that it opens the underlying menu (I think you call these sub menu items "options"). Then I want to navigate the mouse to the sub menu item and click on that, triggering a link and change the browsers url.

KendoMenu menu = Pages.Home.MenuNavigation;

KendoMenuItem menuItemSettings = menu.AllMenus.SingleOrDefault(x => x.MenuItemTitle == "Einstellungen");
menuItemSettings.MouseHover();
Wait.For(x => menuItemSettings.AllOptions.Count > 0, menuItemSettings, 5000); // running into a timeout, because menuItemSettings.AllOptions always 0

KendoMenuOption menuOptionSettings = menuItemSettings.AllOptions.SingleOrDefault(x => x.MenuOptionTitle == "Fahneneinstellungen & Preise");
menuOptionSettings.MouseClick();

ActiveBrowser.WaitForUrl(Pages.Settings.Url, false, 10000);

With my code I can achieve already moving the mouse to the menu item and hovering over it, but the I'm getting a timeout in the wait step. Indeed the menu item's "AllOptions" property always remain "0". Although in the testing browser the mouse is successfully hovering over the kendo menu and it actually opens the submenu, in code these submenu items are never recognized.

Am I doing something wrong? Or do you have some better solution for me to achieve this behavior?

Test Studio version 2022.2.804 and I'm using the VS 2019 extension.

Plamen Mitrev
Telerik team
 answered on 07 Sep 2022
1 answer
111 views

Hi,
I have a test where a new tab is opened, checked and should be closed. I close the new tab using "Ctrl+W"



If I run the test list with "Use Browser Extension" is True, it is work. If I run the test list with "Use Browser Extension" is False it doesn't work, the new tab stays opened. 

Can you help?

Test Studio Version 2022.2.804.0

 

Elena
Telerik team
 answered on 29 Aug 2022
1 answer
71 views

Chrome is configured to download the file without asking for a save location. If I run the test list with "Use Browser Extension" is True, files downloaded successfully. If "Use Browser Extension" is False, in the Downloads list I see something like that.

Can you help?

Test Studio Version 2022.2.804.0

Elena
Telerik team
 answered on 29 Aug 2022
1 answer
64 views
Overall Result: Fail
------------------------------------------------------------
'2022-08-23 2:18:39 PM' - Executing test: 'Login', path: 'Steps\Login.tstest.'
'2022-08-23 2:18:39 PM' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2022.2.804.0'.
'2022-08-23 2:18:39 PM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'2022-08-23 2:18:41 PM' - Using 'Chrome', UseExtension: 'True', version '104.0.0.0' as default browser. 
'2022-08-23 2:18:41 PM' - Using Telerik Components Version: 'R32021'
'2022-08-23 2:18:41 PM' - Using 'https://localhost:7001' as base url.
'2022-08-23 2:18:43 PM' - 'Pass' : 1. Navigate to : '/'
'2022-08-23 2:18:43 PM' - 'Fail' : 2. KendoAngularTextBox value 'ivink' entered.
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Object reference not set to an instance of an object.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.TestingFramework.Controls.KendoUI.Angular.Input.KendoAngularInput.set_Text(String value)
   at Telerik.TestStudio.Translators.KendoUI.Angular.Input.ActionDescriptors.BaseSetTextActionDescriptor.Execute(Browser browser, KendoAngularInput input)
   at Telerik.TestStudio.Translators.KendoUI.Angular.Input.ActionDescriptors.TextBoxTypeActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'2022-08-23 2:18:43 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'2022-08-23 2:18:43 PM' - Overall Result: Fail
'2022-08-23 2:18:43 PM' - Duration: [0 min: 1 sec: 649 msec]
------------------------------------------------------------
'2022-08-23 2:18:43 PM' - Test completed!
Elena
Telerik team
 answered on 26 Aug 2022
1 answer
69 views

hello,

I want to make a common code which pick some data from webtable from different webpages. Here the webpages consist identical table .

This is an example in which I am picking data from ReportingReportTable . And the table present on RoleAssignment page.

So I want to use this code for different pages where table is identical . Is it possible without mentioning page we can traverse on any page and pick data?

 

 [CodedStep(@"Verify element 'ReportingReportTable' 'is' visible.")]
        public void check_CodedStep()
        {
     
            foreach (HtmlTableRow row in Pages.RoleAssignment.ReportingReportTable.AllRows)
                {
                    
                    if (row.Cells[1].InnerText.Equals("test, hr"))
                        {
         
                        row.Cells[1].AssertContent().InnerText(ArtOfTest.Common.StringCompareType.Contains,"test, hr");
                        row.Cells[2].AssertContent().InnerText(ArtOfTest.Common.StringCompareType.Contains,"hr1");
                        row.Cells[3].AssertContent().InnerText(ArtOfTest.Common.StringCompareType.Contains,"NFCEXAMPLE");
                        row.Cells[4].AssertContent().InnerText(ArtOfTest.Common.StringCompareType.Contains,"NFCEXAMPLE - NFCExample-Description");    
                            break;
                           
                            
                        }
                        else
                        {
                         
                              Pages.RoleAssignment.NextPageSubmit.Click(false);
                 
                        }
                        
            
        }
               
        }
Plamen Mitrev
Telerik team
 answered on 24 Aug 2022
1 answer
63 views

Hi,

I have testcases missing from my project folder, does anyone know how i can recover them?

2 answers
141 views
Hi,
I use Telerik Test Studio Version 2022.1.601.0 now and I have a problem with the running tests on Chrome not using the extension.
Part of test lists does not finish because of the Test Runner crashes. In the log I see an error: "Unexpected Exception: System.OutOfMemoryException", before the crash the Test Runner uses more then 3 GB of memory.
These test lists are connected to tests of filter menu. I ran tests on part of test data and check the used memory during the test. I have following situation:
(x-axis - checks, y-axis - MB)
Columns E, F and G - parameter "UseBrowserExtention" of the test list is TRUE;
Columns J, K and L - parameter "UseBrowserExtention" of the test list is FALSE;


I have reproduced the problem uses demo on https://demos.telerik.com/kendo-ui/grid/filter-menu-customization.  I created the simple test by recording - just Toggle the filter menu and click Cancel a lot of times.


And I have the following situation with the memory:
(x-axis - checks, y-axis - MB)
Column O - parameter "UseBrowserExtention" of the test list is TRUE;
Column T - parameter "UseBrowserExtention" of the test list is FALSE;


I attach the test project.
This problem is critical for us. Can you help?
Plamen Mitrev
Telerik team
 answered on 16 Aug 2022
1 answer
126 views

Hello,

I have a Problem with TestStudio

I'm currently evaluating diverent Testautomation tools for my company to see which work and which don't, so I'm currently in the 30 days trial. We have build our application with devexpress and C# so it should be possible for Test Studio to record opperations in it.

The problem I'm currently facing is, that when i start a recording the application starts and in the bottom left "Launching Recorder" is stated. After the Login Screen pops up, again in the bottom left "Recorder is connected. You can .continue ..." is stated. But no Recorder Toolbar pops up. I allready tried uninstalling and reinstalling, but It's still not working.

Am I doing something wrong or is Test Studio not capable to Test our Software?

Thanks in advance  

Elena
Telerik team
 answered on 03 Aug 2022
1 answer
96 views

Hi Team,

We are trying to enter some data for a certain set of cells, but the Test Studio Application is unable to locate the intended cells. The automation starts to select random unwanted cells resulting in incorrect entries. And in the end, the application incorrectly states that all our steps were successful.

We tried multiple methods-1. Using the left double click option, 2. Using the right arrow key, 3. Using the tab key. But none of them lead us to the correct position.

Below we have attached a zip files containing images for all the stages and the intended result.

Thank You

 

 

Plamen Mitrev
Telerik team
 answered on 14 Jul 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?