Telerik Forums
Test Studio Forum
1 answer
129 views

I am attempting to use a test with stored values to create a table row, search for the table row I created, and delete the table row. To do this, I want to use data-driven find logic. When I did something similar following along with this tutorial, it worked fine and I was able to do it. 

https://www.youtube.com/watch?v=yfXJmj1c0Xc

However, now that I am in my application, it does not seem to be letting me use the data-driven find logic. I have combed through trying to find the answer of why this is, but for the life of me I cannot see what is different. I have the local test data, but it just will not let me use it for this test. Even in other tests I have tried it works fine, but this one it does not. 

Can someone more experienced tell me why this is not working here?

 

Plamen | Lead Technical Support
Telerik team
 answered on 25 Oct 2019
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 | Lead Technical Support
Telerik team
 answered on 25 Oct 2019
1 answer
171 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 | Lead Technical Support
Telerik team
 answered on 25 Oct 2019
1 answer
232 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
206 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 | Lead Technical Support
Telerik team
 answered on 23 Oct 2019
1 answer
312 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 | Lead Technical Support
Telerik team
 answered on 22 Oct 2019
3 answers
119 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 | Lead Technical Support
Telerik team
 answered on 22 Oct 2019
1 answer
129 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 | Lead Technical Support
Telerik team
 answered on 18 Oct 2019
1 answer
123 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 | Lead Technical Support
Telerik team
 answered on 18 Oct 2019
1 answer
123 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 | Lead Technical Support
Telerik team
 answered on 18 Oct 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?