Telerik Forums
Test Studio Forum
4 answers
100 views

Hi again.

Moving from iMb to Test Studio working out a few issues.

We save files using a name that includes the current date like below.

"New_File_all_all_20230911_001.csv"

We use the following string in iMb using a variable for the file number at the end(which we don't HAVE to have but it would be nice).

ONDOWNLOAD FOLDER=Z:\folder\folder_name\{{!NOW:yyyymmdd}} FILE=New_Filet_all_all_{{!NOW:yyyymmdd}}_00{{!VAR2}}.csv

Is this possible with Test Studio?

Thanks!

Alexander
Telerik team
 answered on 12 Oct 2023
1 answer
29 views

Hi Team,

I have capture load test and run it for 100Users and get result as well.

(I have total 300VUs for this account)

PFA:

so, I have run same test for 250Users and observe that for 250Users I'm not getting any collected metrics on the Analyze view after test execution.

can you please suggest further?

PFA:

Elena
Telerik team
 answered on 05 Oct 2023
1 answer
40 views

On the free trial (if that makes a difference?) I can record and run a test OK but only by automatically launching the WPF app that I'm testing at the start of the script and closing it at the end.

Is it possible to start the test into an already launched app and finish without closing it?
Probably isn't a problem when running a finished test but when designing/adding steps it's a right pain to have to open the app, record some steps, close the app every time and when

Thanks

Alexander
Telerik team
 answered on 03 Oct 2023
1 answer
69 views

Hi,

We are coming over from iMacros and running into a few tough spots.

In the past we used variables to enter dates 7, 14 or 21 days in the past.

Is there a way we can do this with Test studio?

The format we need would be "09/01/2023+" the plus sign is included in how we enter the date.

With iMb we had the variable as "d=new Date();d.setDate(d.getDate()-21);var day=d.getDate().toString(); if (day.length < 2) {day = \"0\" + day;} var month = (d.getMonth() + 1).toString(); if (month.length < 2) {month = \"0\" + month;} var year = d.getFullYear().toString(); month+'/'+day+'/'+year+'+';""

I have been trying for a week now to figure this out. Thanks!

 

Alexander
Telerik team
 answered on 13 Sep 2023
0 answers
90 views

Hello,

I have added the code -

Log.WriteLine($"UTF-8 string: {utf8String}");

 

I am getting error on compilation Error CS1056 Unexpected Character $.

Please note, I am getting this error only on one of my servers. For others same code shows no compilation error.

Machine on which I am getting the error has .Net Framework 4.6 installed. Other machines where no compilation error, .Net Framework is not installed. Please confirm what shall I do to make this code work.

Khushboo
Top achievements
Rank 1
 asked on 12 Sep 2023
1 answer
53 views

Hello. May I ask a question about execution of test steps?

When I executed my test after recording, it always began with the step of opening the link of the website. In our scenario, we paused after Test Studio opened the website, and then manually logged in to the website first. After that we run execution to let Test Studio to automate form fillings with multi-rows of data source from Excel. Ideally, the automation can repeat itself without re-opening the browser., but it seems as though the initial step of opening website can not be skipped after my first iteration. 

Is there a way for Test Studio to run the initial step once only while keeping the remaining form filling steps running through the end row of data?

Thank you in advance and look forward to your reply.

Harry

 

Elena
Telerik team
 answered on 08 Sep 2023
1 answer
77 views

Dear all,

I am trying to record a web test using test studio, but I have encountered a problem logging into the website. The website I need to log in to requires not only a username and password, but also a dynamic security code (a new security code is obtained separately before logging into the website each time), and the most troublesome thing is that it also requires a graphic verification code. Then I can open a web page where I can input data, and I hope test studio can automatically input hundreds of data on this page.

Is there any way to make test studio log in to the website automatically? Or a more ideal method: I manually log in to this website and enter the data input page, and then run test studio, let it work automatically on this page? I look forward to your reply. Thank you very much.

Bruce

Elena
Telerik team
 answered on 06 Sep 2023
2 answers
238 views

I am trying to associate Test cases from Azure Devops to Test studio automation but getting attached error.

I am using default testing framework, Also we don't have Dev to support Nunit codings and that;s we went for code less tool.

But it seems some more config required. Please suggest.

Thomas
Top achievements
Rank 1
Iron
 answered on 28 Aug 2023
1 answer
49 views
In Amazon link if new browser is clicked record and play back doesnt work it is erroring Exception thrown executing coded step: 'Connect to pop-up window : 'about:blank''.
Exception occurred waiting for the new browser to connect. error
Plamen Mitrev
Telerik team
 answered on 24 Aug 2023
1 answer
56 views
I have a test that downloads an excel spreadsheet from a website.  I disabled the dialog popup from my browser, and was able to run the test using Microsoft Edge.  When I tried it in headless mode, it gives me an unexpected dialog error.  Is this a feature that will not work in headless mode?
Elena
Telerik team
 answered on 28 Jul 2023
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
Iron
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?