Telerik Forums
Test Studio Forum
1 answer
138 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
86 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
79 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
83 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
87 views

Hi,

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

2 answers
158 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
153 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
111 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
8 answers
354 views
I am recording automated tests on a Silverlight 4 application.  I am able to easily select a control and verify text on the control.  However, one of my textblocks has a date.  I need to verify that the date is current.  How would I do this?  The build verfication and Quick Tasks options on the recorder seem to only work on text values.  I tried to Re Code Test Studio's Build Verification step, but I am having no luck.  Please let me know if you have any ideas about how to verify a date in Silverlight.
Girl
Top achievements
Rank 1
Iron
 answered on 29 Jun 2022
1 answer
171 views

Hi Team,

I had been using Telerik for UI automation but never faced this type of issue earlier. So the problem is while recording the test the screen doesn't changes but while running or testing the same test case screen size changes unexpectedly which results in failed step as after the screen changes the location of the elements also changes.

PFA - Actual Image & Expected Image.

Plamen Mitrev
Telerik team
 answered on 27 Jun 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?