Telerik Forums
Test Studio Forum
1 answer
53 views
I have been running a list of scripts I recorded in a test list for 2 months without issue.  This morning I come in to run my tests and they fails within 10 seconds.  All 45 tests.  I sent a ticket to support and he tries to tell me that someone modified the test script but removing code.  First off there were no coded steps in any of these test and they were all recorded.  Second, they were never modified because I'm the only one with access.  I'm calling BS because there is no way this is the issue.  I'm wondering if anyone else has veer had this issue and how you resolved it.
Cody
Telerik team
 answered on 14 Apr 2015
1 answer
86 views

Somehow i have got into a situation whereby I cannot see the broswe buttons within the properties window at the right hand side of the window  so that I can choose a different control to use within a script.

 

I have tried maximising, minimising and shrinking each different pane but I cannot find a way to resize it so these elements are visible

 

Any assistance would be appreciated

Boyan Boev
Telerik team
 answered on 13 Apr 2015
3 answers
246 views

I want to use VB code for comparing TextContent, but I can't. If I run the following code I get an error stating that "Weekday is not declared", but according to VB tutorials I should be able to use it without a problem:

Dim todayDate As Date = Date.Now()
Dim dateToday As String = todayDate.ToString("yyyy/MM/dd")
Dim timeToday As String = todayDate.ToString("yyyy/MM/dd hh:mm")
Dim dayName As Integer
Dim dayNameShort As String

dayName = Weekday(todayDate)

Select Case dayName
     Case Is = 1
         dayNameShort = "Sun"
     Case Is = 2
         dayNameShort = "Mon"
     Case Is = 3
         dayNameShort = "Tue"
     Case Is = 4
         dayNameShort = "Wed"
     Case Is = 5
         dayNameShort = "Thu"
     Case Is = 6
         dayNameShort = "Fri"
     Case Is = 7
         dayNameShort = "Sat"
End Select

Pages.CashLedger.xDdTag.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.StartsWith, dateToday & " 12:00 AM " & dayNameShort & " - " & timeToday)

Also when seeing the output of the code if I leave our Weekday, I see that date is not correctly formatted. Instead of defined "/" separator a "." is used, like:

OK - 04/07/2015

NOK - 04.07.2015 - this is what formatting in VB does in Test Studio!

Please help or point me to doc where such cases are already explained and can be done without a code.

Thanks, Jurij

Boyan Boev
Telerik team
 answered on 10 Apr 2015
5 answers
207 views
Hi,

Can anyone tell me how get the iteration index of a loop in a coded step from inside the loop?
Ivaylo
Telerik team
 answered on 10 Apr 2015
3 answers
29 views
Scenario

I run a test and it fails for whatever reason.  So to see if its the site or the test case I do a run to here to check the find logic for the failed step.  I fix the issue and then do a run from here to ensure the rest of the test passes.  

Issue

If I have any pop-ups that I need to connect to the in the rest of the test the Recording dock connects to the pop-up but it connects in record mode instead of paused.  This causes new steps to be added to the test for the connect and close of the pop-up. 
Cody
Telerik team
 answered on 07 Apr 2015
1 answer
195 views
Can you teach me how to use the global variable in one test case, I want to call it and use it in the other cases.
Boyan Boev
Telerik team
 answered on 07 Apr 2015
1 answer
93 views
We currently use TeamCity as our continuous intergration server. We are running our functional tests using the ArtOfTestRunner and Test Lists (aiilist). I find it a huge shortcoming that I can not tell the ArtOfTestRunner what "exe" it will be testing against on the command line. We've tried using Environment variables as a work around and those failed as well. When we set the environment variables locally, it works fine, but when we have TC set the environment variables, the teststudio test runner fails to find the application. So now we have to "Hard code" the path to the exe in the tests. This is not viable in the long run as those paths will likely change in a continuous integration environment.

How can we get ArtOfTestRunner to test wpf applications who's paths are set at runtime? This should have been a minimum feature requirement.



Ivaylo
Telerik team
 answered on 07 Apr 2015
1 answer
96 views
Hi,
I have scheduled a few web tests in my test list. Once the tests are run, I would like the tool send out the results to some configured email ids.
For each test, there would be a different set of email ids and hence needs to be customized based on the test.
Please provide some inputs.
thanks,
Rags
Ivaylo
Telerik team
 answered on 07 Apr 2015
4 answers
130 views
We just recently (last week) set up test runner servers and can successfully execute tests on remote machines. Also, I downloaded the latest Test Studio version (151.3.19.0) to  my work machine to keep it on the same version as the new test runner servers. But I am running into issues with URL's on remote machines. I have over 100 URL's against which to test and manage them via two worksheets in one excel spreadsheet. I am using data binding to easily switch to a different site. I have bound the first sheet values to the Test Studio script (URL, Userid, and password) and store all others in the second worksheet. This has been working successfully when running test lists locally. However, when I run my test lists remotely, they seem to be hard-wired to one URL, and not the one defined in the first sheet of the excel spreadsheet. I have verified that both the local and remote spreadsheets have the identical bind values in the worksheet. So what is it doing?

Could someone please explain what happens when a test list is run remotely? It takes a while to lauch it, and a long time before it actually begins executing on the remote test runner, so is it compiling the list of scripts and data and shipping the package to the remote machine? I've verified that both the local and remote data is the same, so where is the remote machine getting its execution scripts and data binding from--from the local machine, from the remote machine, or the Scheduler? 

The log shows the login script accessing the bind variables. So why is it actually using something else?
Thanks.
Ivaylo
Telerik team
 answered on 07 Apr 2015
7 answers
199 views
What structure are test lists and test results stored?  I assume Test Studio has a database behind the scenes.  If so, what is it and what is the database/table structure?
Would like to be able to roll up the metrics for tests passing to a project level, but the results and reports don't seem to provide this functionality.

Has anyone else used the structure to pull out results and make more meaningful reports?

Thanks,
Mike
Ivaylo
Telerik team
 answered on 07 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?