Telerik Forums
Test Studio Forum
11 answers
486 views
Hi,

After I've run a script it closes the browser, I am able to stop this?

Thank you,

Paul
Cody
Telerik team
 answered on 20 Nov 2013
1 answer
103 views

Hi Telerik Team,

 

we use Cruise Control to schedule the telerik autommated Testscripts. To schwo the results of the tests in Cruise Control, i use an XML-Schema to parse the XML-Results.

The new Version of Telerik.Test-Studio (Version: 2013.1.911) change the strukture of the XML-File for the testresults (i mean the .trx files). So that we no longer the seceond "WebAiiTestResult" with the "AutomationStepResults" and there "Item" have.

The neu Version ot telerik return the result as a single string (se below)

The old .trx-File have fhe folow XML-Tag:

  • Second “WebAiiTestResult”
  • AutomationStepResults
  • And many item

In the neu .trx-File there is only the XML-Tag:

  • TestStudioResult

 

<TestStudioResult xmlns="">{"__type":"ArtOfTest.WebAii.Design.Execution.TestResult","__value":{"Browser":1,"ExeType":0,"SeparatorLineCharCount":60,"Message":"Overall Result: Fail\r\n------------------------------------------------------------\r\n'14.11.2013 20:17:39' - Using .Net Runtime version: '4.0.30319.1008' for test execution. Build version is-------------……. (etc.)

<TestStudioResult>

 

Would you Please fix this problem. Because otherwise we can’t display the results in CruiseControl

 

I have also uploaded the two .trx-Files (the old one and  the new one) and the XSL-Schema.

 

Best regards

Mostafa

 

Velin Koychev
Telerik team
 answered on 20 Nov 2013
3 answers
106 views
Hi,

I have a 'logon' test that I would like to use with many different tests. I would like to pass two parameters: "userName" and "password" to the "Logon" test from many another tests.

I have followed the "Data bound Test A calls Test B" instructions here: http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx but it does not seem to work.

Setup {

Users.xlsx
UserId | Password
User01 | somePassword

HomeTest.tstest (Bound to dataset Users.xlsx):
Execute test 'Logon'

  • Logon.tstest (InheritParentDataSource is ticked):
    • Navigate to : 'https://[left this out for the purpose of security]' 
    • Enter text '' in 'UserNameText' - DataDriven: [$(UserId)]
      Enter text '*****' in 'PasswordPassword' - DataDriven: [$(Password)]
    • Click 'SubmitCredsSubmit'

} EndSetup

When I execute HomeTest.tstest nothing is entered in the 'username' or 'password' textboxes.
I was under the impression that "the data source definition for Test A will propagate down to Test B and be available for use by Test B", but this is not happening. Do I have to do anything special on the call "Execute test 'Logon'"?


Boyan Boev
Telerik team
 answered on 18 Nov 2013
1 answer
103 views
Hi,
The data entered via our GUIs ends up in an SQL database (the database is part of our product).   After validating the ability to interact with the GUI, I want to validate that the data in the database is the same as the data entered via the GUI. 

I understand it is possible to bind a database to a test - during that process a local instance of the database is created and used during subsequent testing (I assume if the data in the original data base changes the local copy is not up dated).  However, in our case the data is dynamically changed during the test run, it follows that the database bound to the test would need to change.  Is it possible to bind an SQL database on the fly, so that I can verify that the entries made via the GUI have actually been recorded in the database?

Cheers
Dave   
Boyan Boev
Telerik team
 answered on 18 Nov 2013
1 answer
134 views
I have developed my testcases in one environment called ABC. Now my company has created different environment. But in diff environment elements are going to be same. So when I use same step for diff environment only one or 2 step is executiong others are not. Can you help me in this case?


I have attached a file .
example: i want to select manager,I have to go through same step as in other url.
1) in branch element this how"Manager" is showing
2) in trunk element is "Manager" is same

So what should I write that works in both url.

Thank you.
Mario
Telerik team
 answered on 15 Nov 2013
1 answer
95 views
Hello,

After successful completion of a load test recording session from an existing script we have over 1000+ Dynamic Targets.  Per the documentation we should be selecting all.  This takes quite a bit of time having to select each check box one by one.  Is there a way we could tell what items truly needed to be selected and then filter?  If not I think a select all button would be helpful in the next build if possible.

Thanks!

Leon
Cody
Telerik team
 answered on 14 Nov 2013
4 answers
64 views
I have profiles captured from existing web tests...when the load test executes, will it terminate all virtual users exactly at the end of the duration of test, or allow the virtual users to complete the script execution (and therefore running a few seconds/minutes beyond the specified duration)? 
Alan
Top achievements
Rank 2
 answered on 13 Nov 2013
1 answer
59 views
Hi,

While doing a performance test on webpage using https protocol i see many methods of with Name/Type as 'Unknown' and method 'Connect', could you help me what this object is?

Also, what is the receiving time - is it page rendering time in browser? Is there anyway to further detail the receiving time?

Thanks,
Aswin
Boyan Boev
Telerik team
 answered on 13 Nov 2013
3 answers
62 views
New to the load testing functionality of Test Studio...I will be creating load tests from existing web tests.  If I need to make an update to the web test script, will the load test profile automatically update or do I need to re-record the load test profile?

Thanks!
Cody
Telerik team
 answered on 12 Nov 2013
3 answers
113 views
Hi all,

Here is the issue need your support:

I Added a new class, the method in the class will invoke "log", "find", i instance the class and use it in other class, it comes an error that "InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
 at ArtOfTest.WebAii.Design.BaseWebAiiTest.get_Log()"

So i want to confirm whether it is possible that we can call the log and find method in this way? attached the example code

Public Class A Inherits BaseWebAiiTest  
#Region "[ Dynamic Pages Reference ]"
.....
#End Region
Public function testA()
Dim bClass as B
bClass = NEW B
bClass.testB(par1)
End Function
End Class

Public Class B Inherits BaseWebAiiTest  
#Region "[ Dynamic Pages Reference ]"
.....
#End Region
Public function testB(par1 as String)
log.WriteLine(par1)
find.By.....
End Function
End Class
Velin Koychev
Telerik team
 answered on 12 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?