Telerik Forums
Test Studio Forum
1 answer
137 views
I setup the Executive Dashboard for our environment and have been looking at it over the last few days and I have a few thoughts and suggestions.

1. This could be a bug but, if not the documentation should be updated to include that the Scheduling Server Settings needs to be set to Run Remotely for this to work. If you are running locally you set it to Run Remotely and put in the server name of Localhost. I tried for a couple of hours to get it to work while I had it set to Run Locally and did not get anything in the Executive Dashboard, it was only once I changed it to Run Remotely that I started getting information in the Executive Dashboard.

2. It would be nice to have the Executive Dashboard run under Https.

3. On the Test Run List page (Where it lists each of the test runs) it would be nice to have a listing of how many tests ran, How many Passed and How many Failed. I could have a test run of 1000 scripts and 1 failed and another that ran 1000 scripts and 999 failed, from this view I would not see a difference in the 2 runs.

4. On the Test Run Details (Where it lists the actual tests) this needs to be configurable as to how many items are view able at a time. 5 is not sufficient for our needs, it just adds a whole bunch of pages that no one is going to click through. A selection to view 5, 10, 25, All would be handy.

5. On the Test Run Details (Where it lists the actual tests) a filter would be nice to be able to filter to see only the failed, only the tests that rerun, only passed, etc... would be nice. That way you do not have to weed through everything to find the failures or reruns to see what the problem was.

Overall this is a great addition to be able to show our testing effort. With a few tweaks this would knock it out of the park!
Plamen Mitrev
Telerik team
 answered on 25 Oct 2019
1 answer
170 views

Hello,

I have gotten to the point where it would be useful to create a custom element. However, I can not perform edits on custom elements I create, such as setting the find logic. I have read the documentation and I can see no reason why this would be. Please see screenshots for my issue.

 

I really need this to be working to quickly create elements such as nested objects that are part of a row. 

Plamen Mitrev
Telerik team
 answered on 25 Oct 2019
1 answer
230 views

Is there a functionality or way to write/execute a test that can compare data returned to a baseline data?  If this isn't a possibility is there a way to query a database?  I am trying to have automated test check for data changes when we make updates to ensure calculations are correct; the calculations comeback versus html.

If this is not a possibility what would be the best way to set up an automated test where I would be able to verify data returned is within range?

 

Regards!

Elena
Telerik team
 answered on 24 Oct 2019
1 answer
204 views

Hello, I am new to testStudio, and somewhat new to C#, so this may have an obvious answer, but it seems pretty straightforward...

 

[CodedStep(@"Verify 'logged in' status")]
        public void Verify_logged_in_status()
        {
            Pages.KDHERadon2.SignOutRibbonButton.Wait.ForExists(7000);
            if (Pages.KDHERadon2.SignOutRibbonButton.IsVisible() == false)
            {
                this.ExecuteTest("Login to Radon.tstest");
               
            }
               
        }

 

What I want to happen is if the log out button is not visible, I want the application to execute the log-in 'test' to get logged in. It waits for the element to be visible for 7 seconds, and if it is not visible, it executes the log in test. 

 

But instead of this, this coded step simply 'fails'. I do not understand why this is happening, can someone please enlighten me. 

Plamen Mitrev
Telerik team
 answered on 23 Oct 2019
1 answer
310 views

hi im new to this community :) why im getting this error when im trying build and execute a radtextbox for store text in variable from input in textbox?

its like same error for days i fix code everytime using bug submit but useless

 

can someone help :) appreciated

the error :

[ Compiler ]
18:27:31 'ERROR' > c:\Users\Administrator\Documents\Test Studio Projects\TestProject4\WebTest.tstest.cs(55,43) : error CS1061: 'Telerik.WebAii.Controls.Html.RadTextBox' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'Telerik.WebAii.Controls.Html.RadTextBox' could be found (are you missing a using directive or an assembly reference?)
18:27:31 'ERROR' > c:\Users\Administrator\Documents\Test Studio Projects\TestProject4\WebTest.tstest.cs(56,14) : error CS1061: 'Telerik.WebAii.Controls.Html.RadTextBox' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'Telerik.WebAii.Controls.Html.RadTextBox' could be found (are you missing a using directive or an assembly reference?)
18:27:31 'INFO' > Build Failed

 

codedstep code:

 

using Telerik.TestStudio.Translators.Common;
using Telerik.TestingFramework.Controls.TelerikUI.Blazor;
using Telerik.TestingFramework.Controls.KendoUI.Angular;
using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;

using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Design;
using ArtOfTest.WebAii.Design.Execution;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;

namespace TestProject4
{

    public class WebTest : BaseWebAiiTest
    {
        #region [ Dynamic Pages Reference ]

        private Pages _pages;

        /// <summary>
        /// Gets the Pages object that has references
        /// to all the elements, frames or regions
        /// in this project.
        /// </summary>
        public Pages Pages
        {
            get
            {
                if (_pages == null)
                {
                    _pages = new Pages(Manager.Current);
                }
                return _pages;
            }
        }

        #endregion
        
        // Add your test methods here...
    
        [CodedStep(@"New Coded Step")]
        private void CompleteWithZeros(RadTextBox textbox, int length)
 {
     var text = CompleteWithZeros(textbox.Text, length);
     textbox.Text = text;
 }
            
        }
    
}

 

Plamen Mitrev
Telerik team
 answered on 22 Oct 2019
3 answers
115 views

Is there any recommendation on about how many virtual users can run against a machine with certain specs?

 

We're trying to make a determination how many machines we'll need to procure to run the load we're needing.

Plamen Mitrev
Telerik team
 answered on 22 Oct 2019
1 answer
127 views

Hi, 

I have a test named Example. I want to use this Test multiple times in my test list.

But currently I am unable to do it. Once I selected the test one time, it is disabled and I cannot select it any more. 

 

Is there any way to add same test multiple times on test list ?

 

Regards, 

Nithya A

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
1 answer
120 views

Hi , 

 

I have my tests in my PC and running them daily. Since it takes a lot of time , I cannot parallely do other jobs.

So I decided to run the tests in remote machine with the Project stored in my Pc.

1. Is that possible ?

2. How can I do it? Could you please help me

 

Regards, 

Nithya A.

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
1 answer
122 views

Hi, 

I haven't used the Baseurl function earlier. I have recorded my steps for my project normally and running them in single server.

Now I want to run all my tests in the different server.

Current server : https://xxxx.com

New server : http://yy.xxxx.com

I have the below questions

1. If I havent used the baseurl earlier, then it is not possible to change the server name now ?

2. I have added the server name in the baseurl and change the compare mode to Baseurl , Provided the Baseurl in testlist - Then executed the test. One of my test got passed.. But others fails - It is not identifying the elements correctly in the new server. But in the current server, all the tests are runnning correctly. Could you please help me to pass the other tests in the new server.

 

Regards, 

Nithya A.

 

 

 

 

Plamen Mitrev
Telerik team
 answered on 18 Oct 2019
7 answers
143 views

I just started testing the email notification functionality of the test server, and I am having an issue with at least one of my test lists.  I know at least one of my other test lists doesn't have this issue so it isn't a general issue and may be specific to one of the tests in the list.

I don't actually have the XML file export enabled here, just HTML.  So it should only be dealing with the email body and the HTML.  Could there be something with text encoding where a test step description has a character that is allowed in the interface but isn't allowed in the export?

 

The log from the execution server is this.

[10/11 16:02:51,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Execution] PostListExecutionEmailer.OnAfterTestListCompleted() : Attempting to send email for job 38f7e14c-0301-4e1f-b974-4e10c21dcdd3
[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Error] XmlFileHandler`1.Export() : EXCEPTION! (see below)
     Situation: Error saving file in XML format.
     Outer Exception Type: System.ArgumentException
     Message: '', hexadecimal value 0x1B, is an invalid character.
     HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER)
     Call Stack:
          at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
          at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
          at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
          at System.Xml.XmlUtf8RawTextWriterIndent.WriteString(String text)
          at System.Xml.XmlRawWriter.WriteValue(String value)
          at System.Xml.XmlWellFormedWriter.WriteValue(String value)
          at ArtOfTest.Common.Design.XmlFileHandler`1.Export(String filePath, Dictionary`2 objectsWithPaths)

[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Error] RunResultHtmlExporter.Export() : EXCEPTION! (see below)
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: path
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
          at System.IO.StreamReader..ctor(String path)
          at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.BuildTempHtml(String filePath, String xmlFilePath)
          at ArtOfTest.WebAii.Design.Execution.RunResultHtmlExporter.Export(String filePath, Dictionary`2 resultsWithPaths)

[10/11 16:02:52,Telerik.TestStudio.ExecutionManagerService.exe(12852:15),Execution] <>c__DisplayClass5_1.<JobFinished>b__3() : EXCEPTION! (see below)
     Situation: Exception in jobfinished plugin executionStatus
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: fileName
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType)
          at System.Net.Mail.AttachmentBase..ctor(String fileName)
          at System.Net.Mail.Attachment..ctor(String fileName)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.ResultMailSender.AddAttachment(String fileName)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.Mail.ResultMailSender.SetRunResultAttachment(RunResult runResult, NotificationSettings settings)
          at Telerik.TestStudio.ExecutionManager.Notifications.Emailer.PostListExecutionEmailer.OnAfterTestListCompleted(TestListExecutionStatus executionStatus, RunResult result)
          at Telerik.TestStudio.ExecutionManager.Notifications.ExecutionManagerNotificationService.<>c__DisplayClass5_1.<JobFinished>b__3(ITestListExecutionExtensionStatus extensionStatus)

Plamen Mitrev
Telerik team
 answered on 16 Oct 2019
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?