Telerik Forums
Test Studio Forum
1 answer
89 views

I wanted to see if a cookie is cleared before each session runs in a load test?

We have sticky session in our load balancer and I'm looking to update our test so that it doesn't go all to one server.

Elena
Telerik team
 answered on 01 Oct 2019
1 answer
187 views

I just installed Test Studio trial to evaluate if the product could be useful to our organization. While I was able to get the standalone version of Test Studio working fine, I would like to use the integrated version in Visual Studio.

We run Visual Studio 2019 - and we have the latest current version of Visual Studio (16.3.1). However when I install Test Studio, there are no templates or integrations that I can find in Visual Studio for Test Studio. I've attempted to repair the installation with no luck.

How can I get the Test Studio integration with VS2019?

Elena
Telerik team
 answered on 30 Sep 2019
7 answers
161 views

When I log into our .net application a token is returned in the content

That token is set to the auth header.  The problem is, the way the application works there's a prefix infront of the token.

For example:

HTTP Response Token in Content after successful login

YdafjdQ3adNfzaFfdiaZfdjfQtafZdafGM4ZC00NdGa5YmE1NzUzZWQwOS8xOS8yMDE5IDQ6NTc6NDggUE0=

The Authorization now expects that TESTAPI is infront of the auth header with the token

TESTAPI YdafjdQ3adNfzaFfdiaZfdjfQtafZdafGM4ZC00NdGa5YmE1NzUzZWQwOS8xOS8yMDE5IDQ6NTc6NDggUE0=

Is there anyway to append or make changes to a value (Cookie/Content/Header) that requires more than just what is copied from a previous step?

Elena
Telerik team
 answered on 24 Sep 2019
1 answer
195 views

Hi,

I would like to ask about the feature SimulateRealTyping. I have used it in some of my test cases and i found out that there is some effect when I'm not using it and when i am using it. When i am not using it, while executing the scripts, the auto-fill function in my application under test did not worked and it works after i use the Simulate Real Typing function.

1. May I know when and what kind of scenario should I use this function? What is your recommendation? 

2. And If I were to use this function, what is the impact and risk of using it ? Such as maybe it will affect execution time and etc. ?

Hoping to hear from you soon.

Thank you.

 

Daniel Djambov
Telerik team
 answered on 23 Sep 2019
3 answers
358 views

Hello,

 

Here is what I am trying to accomplish.

 

In my web AUT, I am creating a service ticket which is Data driven and has say 2 rows ( Right now just using the local data instead of external). Once my service ticket is created, I am asserting the text content in the grid using the verification step. After this I would like validate if the record is present in the DB. I am successfully able to connect to my SQL DB from test studio (Found a code sample in your forum which is great). Basically my query is to retrieve the service ticket by running a select statement and comparing this against the UI element. How do I do this using a coded step? I need to able able retrive the rows from my test and use that in my query and run a compare between the two?

 

Thanks!

Elena
Telerik team
 answered on 20 Sep 2019
1 answer
115 views

Hello,

I am working through creating load tests.  For one of my applications, I recorded through fiddler and loaded into test studio. 

The response sets a cookie, which was recorded, to expire after 1 hour.

When I go to run the test anytime after an hour I get unauthorized because the cookie expired.

Does anyone have a recommended approach on this?  Maybe how to clear cookies before a load test execution?

Elena
Telerik team
 answered on 20 Sep 2019
13 answers
213 views
Hi,

i am working on a WPF application.
    // Click on GeotechOrangeRadiobutton
     
    if(Data["Geotech (Orange)"].ToString()=="True") Applications.UIWPFexe.AddAlarmPopup.GeotechOrangeRadiobutton.Check(true);
    else
    {
                    Log.WriteLine("Geotech (Orange) is False");
    }
}

I got a previous discussion post on how to data drive the radio button and I have updated my test like wise. But when i added the details required for the already existing data driving file (.csv), those are not getting reflected in the test studio. I tried the 'Refresh ' button in test studio also, still it is not showing the added columns. Could you please let me know, what needs to be done to fix this. Do I need to create a new data file and bind it?Also how can I remove an already bound file from a test step?

I have attached the screen shot of my tests. The data binding options are not coming for my coded step, which can be seen in the attached screen shot. The 'property' and 'value' are coming blank.

Also, can we compare the dynamically generated image from the application to a stored image?

Thanks,
Anju
Plamen Mitrev
Telerik team
 answered on 19 Sep 2019
4 answers
160 views

Hi. I am wondering if there is a limit to the UseStepWaitOnElementsTimeout?

I am trying to wait for a text content while importing a file.The attached image is the recorded steps.

Normally this file import will take less than 30 mins but I do not want to delay execution for a fixed duration.

What I am trying to do here is that I want to wait until text content "Completed with skipped records" appears then proceed with further verification.

But it seems like Test Studio did not wait for timeout until 1,800,000ms. Another attached image is the execution log.

Do I use WaitOnElements correctly in this case?

Yan Jun
Top achievements
Rank 1
Iron
Veteran
 answered on 19 Sep 2019
12 answers
187 views

Hi,

 

Has anyone come across this issue and if so, have a solution?

 

I have an excel spreadsheet containing rows of currency data, when I bind said spreadsheet to a test and then set a variable (column from the spreadsheet) to use in a verification step, I then check the values being pulled back in the binding pop up. It is stripping out the comma from the values of => 1,000. My verification step then fails when I run the test as the webpage is supplying the string of 'Total = £1,389.39' and the expected value is set to contain '1389.39'. Any idea how to stop Test Studio pulling out the wrongly formatted value from excel for the expected string? Excel has the value set in the cell to 1,389.39 so why isn't Test Studio pulling this value out? If it did, then the test would correctly pass!

Thanks in advance for any help/insights.

 

Kerry

Plamen Mitrev
Telerik team
 answered on 18 Sep 2019
25 answers
388 views

Hello,

 

I have setup smtp email configuration on schedule server and selected option to send email while scheduling test execution.

Test executes just fine but not receiving email. Email smtp config and log file attached.

I also need to send test results via email when test is run through .bat file

my bat file

Title Test Runner
IF EXIST "C:\Program Files (x86)\Progress\Test Studio\Bin" goto :a
echo not found
pause
exit
:a
setlocal
path=C:\Program Files (x86)\Telerik\Test Studio\Bin;%path%
call ArtOfTest.Runner.exe list="C:\..\TestLists\Remote Execution Test.aiilist" serverPublish=true notifyOption=1 mails=myemail@abc.org

 

Thanks

-

Padmashree

 

 


 

 

 

 

 

Padmashree
Top achievements
Rank 1
 answered on 12 Sep 2019
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?