Telerik Forums
Test Studio Forum
3 answers
85 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
85 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
106 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
84 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
53 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
46 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
52 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
95 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
6 answers
107 views
Hi,

I want to add some existing Tests to Telerik Studio Projekt.
There are around 20 Tests to add. When I click on AddExistingTest, I can only choose one test.
Is there a possibility to add more than one?

To get this done, I tried also the following:
I added the tests in Visual Studio Projekt, but I don't get them in the Telerik Projekt.
Is there a posiibility, to sync into that direction?

Best regards,
Adriane
Boyan Boev
Telerik team
 answered on 12 Nov 2013
5 answers
138 views
Hi
Can anyone share the testcases for Sharepoint migration testing?
I am testing for all versions of sharepoint(2003,2007,2010,2013 & Office 365)

Thanks in advance
Boyan Boev
Telerik team
 answered on 12 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?