Telerik Forums
Test Studio Forum
3 answers
248 views
Hi,

I have a set of Telerik web tests in a project in my visual studio ( 2010) solution.
1. When I executed them with VS plugin (with QuickExecute)
-all run well
2. Then I used VS-->Test-->Run-->Tests in current context,
-all executed successfully.
3. Then I tried to executed them with MsTest in our continuous integration server ( final builder).
-It all failed.

My test project is:
- My telerik Test Studio Version 2011.2.1117.0
- "Any CPU" build setting ( Tried x86 setting too, no luck)
-I have a testsettings file and test list created for MsTest.
- I am testing with Internet Explorer

The error I got in my CI server:
Run has the following issue(s):
Warning: Test Run deployment issue: The assembly or module 'Telerik.TestingFramework.Interop' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Input' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Navigation' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Docking' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.GridView' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Documents' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Charting' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.RibbonBar' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.DataVisualization' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Documents.FormatProviders.Html' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Controls.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Data' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Controls.GridView' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'ArtOfTest.ShDocVw' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.TestStudio.Controls' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found.
Warning: Test Run deployment issue: The assembly or module 'Telerik.Windows.Themes.Office_Black' directly or indirectly referenced by deployment item '..\bin\Debug\MyAppWebTests.dll' specified by the test 'music-classtype-core-open' was not found. 


     Action Failed
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe returned : 1 


If you see any problem with my test configurations or any problem with my approach, please let me know.

Thank you.
Pushpaka





Aaron
Top achievements
Rank 1
 answered on 25 May 2016
1 answer
95 views
Is there any possibility that you will allow Git Version Control in the future?
Konstantin Petkov
Telerik team
 answered on 25 May 2016
3 answers
266 views

Hi,

Do we have any mechanism to get the number of items available or displayed (say count) in the list view through Telerik Test Studio.

I could not find respective attribute available in the API. I also, checked the inbuilt translator and could not find it there.

 

Thanks,

Venkat.

Ivaylo
Telerik team
 answered on 24 May 2016
3 answers
250 views

I originally had one huge project with all of the tests in the one project. It was becoming a nuisance because the project took forever to load. I also wanted to have the ability to reuse tests for different projects, make changes per my testing expectations. So I reorganized my projects and broke them up. Now, I can't open any project and I have nothing. I really don't want to start completely over but I don't know what to do. Please help!

I want to have a project that houses only my master modules. Then another project that houses my regression tests. Another project that houses my login tests. When I look in my project, I can see the RESX files and the TSTEST file but I don't see them when I try to open the project. When I select the project, I get a dialog box that says, "Project not found!"

Misty

Ivaylo
Telerik team
 answered on 23 May 2016
7 answers
82 views

Hi Zeeshan Here!

I'm testing my DataGridApp through telerik test studio.But as my app is designed in angularjs so i'm blocked while executing my test cases.When i execute my test cases after recording in an efficient way,many of the elements becomes unable to find as they have no such static attribute through which they can be detected each time.Kindly guide me about its solution.Its a huge blocker for me since a number of weeks.

 

Thanks in advance :)

Elena
Telerik team
 answered on 20 May 2016
1 answer
86 views
Since the web application uses gulp, CSS and JS files are generated dynamically to different folders each time app builds. While in load testing, the request paths of CSS files are fixed and can not be found from the old paths. We can change CSS files path manually in project file, but do not think t is good. Is there any other ways to get the correct path dynamically? Thanks a lot!
Ivaylo
Telerik team
 answered on 20 May 2016
7 answers
153 views

Hi Team,

In test list execution ,some test cases are getting hanged while clicking some controls in dialog window.When we manually close the app,the suite execution will continue.

Log file looks a below,

Overall Result: Fail
'4/29/2016 3:18:14 AM' - 'Pass' : 1. Wait for '1000' msec.
'4/29/2016 3:18:14 AM' - 'Fail' : 2. Click BtnUserProfileButton
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Object reference not set to an instance of an object.
InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'4/29/2016 3:18:14 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'4/29/2016 3:18:14 AM' - Overall Result: Fail
'4/29/2016 3:18:14 AM' - Duration: [1 min: 3 sec: 64 msec]

Anyone please help me to solve the issues as this is stopping our POC.

 

Thanks,

Rashmi

Ivaylo
Telerik team
 answered on 20 May 2016
5 answers
153 views

Hey
I have a problem trying to get one test to use data from the test that calls it.

I think my problem is exactly descriped at
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx , under the header: "Data bound Test A calls Test B".

Unfortunately I can’t seem to get Test B to use data from a source attached to Test A. If I don’t attach the data file to Test B but have it attached to test A, the test automatically fails. If I do attach the data file to Test B and have it attached to test A, the test does not automatically fail, but it will run test B ones for each row of Data in the data file before continuing with test A.

The behavior I’m trying to get is that Test A runs multiple times (ones for each row in the data set) and test B uses the data appropriate for that iteration from the same data set.

Any help would be welcome.

Elena
Telerik team
 answered on 19 May 2016
3 answers
83 views
Hi Zeeshan Here!

I'm testing my DataGridApp through Telerik Test Studio.But as my app is designed in angularjs so i'm blocked while executing my test cases.When i execute my test cases after recording in an efficient way,many of the elements becomes unable to find as they have no such static attribute through which they can be detected each time.Kindly guide me about its solution.Its a huge blocker for me since a number of weeks.

Thanks in advance 
Ivaylo
Telerik team
 answered on 18 May 2016
3 answers
123 views

I started with my evaluation of Telerik Test Studio a couple of days ago. I am somewhat familiar with CodedUI.

As a part of my eval, I have a a teststudio test with many CodedSteps. I am able to link it to a TFS TestCase (Associated Automation).

If I wanted to use the parameters from my linked manual TestCase here in each coded step, similar to a TestMethod() DataSource in CodedUI, how do I go about it?

This is what I intend to do:

 [DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestCase", "https://x.visualstudio.com/tfs/DefaultCollection;xx", "11", DataAccessMethod.Sequential)]

 [CodedStep(@"Enter text 'Telerik test studio' in 'LstIbText'")]

public void doSearch()

{

TestContext.DataRow...

..}

 

It doesnt seem to work and throws object reference not found. Furthermore, the CodedStep disappears from .tstest. I added a TestMethod() attribute there and tried as well. But I know it's incorrect.

How do I drive the parameter data from an associated TFS TestCase? Or any insight on any alternate approach to get this parameter data?

 

thanks

 

 

Ivaylo
Telerik team
 answered on 17 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?