Telerik Forums
Test Studio Forum
5 answers
222 views
H can edit a ticket content Telerik?
Elena
Telerik team
 answered on 30 Nov 2018
1 answer
119 views

Hello,

In ALM context, i need to build, deploy, and run the installer of my WPF application before i launch test studio automated test lists on my application:

To do this, is there a better way than :

- create a different test sutdio project for the installer

- Detect if my application is already installed (Uninstall or Install)

- Execute the automated unistall/install process

- Execute the automated test lists for my WPF app.

Or, does Telerik Test Studio have a built-in feature to test a WPF app with its installer ?

 

Thanks in advance,

Regards.

Arnaud

Elena
Telerik team
 answered on 30 Nov 2018
19 answers
234 views
I am trying to run a load test in version 2014.2.  The issue I am currently having is, the application submits an authorization token (which is pulled from the product's database) for just about everything.  This token changes each time a user logs in to the web page.  Since it is randomly generated, there is no way for me to put a bunch of tokens in a datasheet and bind to the load test.  Currently, the load tests gets a lot of 403 - Forbidden errors, which is understandable.

I am fairly new to Load Testing with test studio.  Is there a better way to do this?  I am recording a new session and capturing the HTTP traffic (as opposed to running an existing functional test).  Maybe I'm just doing something wrong.

Thanks in advance!
Elena
Telerik team
 answered on 28 Nov 2018
1 answer
155 views

Hi,

I'm trying to verify calculations done against the inputs in certain text boxes. Is there a way to do this?

 

For example 

Text Box 1 = 5.43

Text Box 2 = 6.00

Text Box 3 = 11.43

 

I need to be able to verify that the calculation (in this case a sum) of Text Box 1 and 2 are correct in #3, not matter what the value of Text Boxes 1 and 2 are.

 

Thanks!

Si

Elena
Telerik team
 answered on 27 Nov 2018
5 answers
317 views

Hi,

 

I am new to Test Studio and have to say it is nice.  However, I have come across a problem with how it inherits.  My initial thoughts were I would create a base class with specific coded steps for navigation, I could then easily incorporate these in other tests.  The following is a very basic idea, the first draft I did was split into it's own class:

 

public class BaseTestClass : BaseWebAiiTest
{
    [CodedStep(@"Go to My Account")]
    public void Account_Links_GotoMyAccounts()
    {
        var pageLink = Find.ByExpression(LinkAttributes.MyAccountPage);
         
        Assert.IsNotNull(pageLink);
         
        Actions.Click(pageLink);
    }
}
 
public class SearchMusic : BaseTestClass
{
 
    [CodedStep(@"New Coded Step")]
    public void SearchMusic_CodedStep()
    {
        var attr = Find.ByContent<HtmlSpan>("18");
         
        Assert.IsNotNull(attr);
    }
}

 

 

The inheritence used in the test studio will no longer pick up SearchMusic_CodedStep() but does find functions from BaseTestClass as in the attached image.  As SearchMusic class descends from BaseTestClass, which descends from BaseWebAiiTest.  It should pick up all public methods from BaseTestClass and SearchMusic class.

 

In the simple example above, any new coded functions added, will be added to BaseTestClass class, not SearchMusic class.  If BaseTestClass resides within another .cs file then an error is shown.

If the above worked, it would make it a bit easier for my use, and hopefully others.

 

FYI I do have simple tests like login etc which are used as"Test as Step" when performing other tests.

 

regards

 

Si

 

 

 

Dobry Zranchev
Telerik team
 answered on 27 Nov 2018
1 answer
187 views

I used the last version of the test studio,and record a test in the internet explorer browser. I face with 2 issue

1-the same test work in the internet explorer but it failed in the chrome

y test contains a step which needs to upload a file when I want to playback the test the test not working I have to manually upload the file then it works otherwise it not working.

How can fix these issue?

thanks

 

Elena
Telerik team
 answered on 19 Nov 2018
3 answers
115 views
I need to change URL in about 100 manual test cases.
How can I do it globally without going in 100 individual test cases?
Ivaylo
Telerik team
 answered on 19 Nov 2018
5 answers
256 views

Hi,

I was recording some steps that include upload a document from my computer.

There is a way to record when I select the document from my computer?  (See the attachment)

thanks,
Habiba
Top achievements
Rank 1
 answered on 15 Nov 2018
1 answer
307 views

I'm trying to grab the current url during a test and append some text on the end of it, to navigate to a certain page.

For context, we have both a production and debug server. I figured it would be easier instead of toggling between the debug/prod urls in a NavigateTo step (which would also defeat the purpose of continuous integration because we would have to manually change it).

However, what I came up with, I'm getting a compiler error:

...tstest.cs(56,33) : error CS0103: The name 'HttpContext' does not exist in the current context

The namespace that is supposed to be used according to Microsoft is System.Web. 

This is the code block that I'm using:

                  string currentUrl = HttpContext.Current.Request.Url.AbsoluteUri;
            
       //Append the /share to the url
       string urlWeWant = currentUrl + "/share";
            
       //Navigate to the url
       ActiveBrowser.NavigateTo(urlWeWant);
Elena
Telerik team
 answered on 09 Nov 2018
3 answers
63 views

We are facing issue in Edge browser that in one particular step click event is getting performed always 40 pixel above the element. It is working fine in Internet Explorer, Firefox and Chrome.

It's a web application developed in HTML5.
I tried with Desktop command click and Simple Click also.

Can anyone let me know what is creating the problem or where we are making the mistake?

Thanks and Regards,

Sumit Kumar

Elena
Telerik team
 answered on 07 Nov 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?