Telerik Forums
Test Studio Forum
1 answer
321 views

I have a very basic 'log into Telerik.com' test that I made. When I try to execute the test with Chrome it keeps crashing because I'm already logged in - so it can't perform the test of typing my name and password. However, my actual Chrome has had its cookies and histories and cache cleared. If I try to log in to Telerik with my Chrome browser, there's nothing saved. But when I run my test, there's all my old information, saved and cached. I even uninstalled Chrome and it's still happening.

 

So, where exactly is Test Studio storing this information, and how do I clear it without having to add a "clear cache" step to every test?

Plamen Mitrev
Telerik team
 answered on 27 Sep 2022
0 answers
300 views

I'm trying to run a desktop test using excel.  I have mapped excel via the application path.

When I press record excel opens but I cannot record anything, the recording toolbar does not display.

From my log file;

[09/23 14:10:18,Telerik.TestStudio.exe(19524:16),Recording] RecordViewController.ApplicationLaunched() : Error launching the recorder. Error: Launched desktop application exited.

Can you please advise what the issue may be here.

Thanks

Adrian

Adrian
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 23 Sep 2022
1 answer
163 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
238 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
225 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
167 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
139 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
129 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
156 views

Hi,

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

2 answers
243 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
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?