Telerik Forums
Test Studio Forum
10 answers
515 views
I need to utilize BaseURL feature during playback, but instead of the actual BaseURL coming from any sort of test configuration I want to be able to calculate it in the code and stick the value to the test run for all subsequent test steps to use. Can I do that?

Or, otherwise, can I set BaseURL to use for playback in the data source (XML file) the test is bound to?

Thank you!
Konstantin
Boyan Boev
Telerik team
 answered on 25 May 2016
1 answer
62 views

I am developing tests for an application that uses a web-browser based UI; the application is hosted on a machine running IIS;  I am currently developing the tests on a remote machine, using the IP address of the machine hosting the application as the URL.  I was hoping to use the test-settings (settings.aiis) or testsettings file to change the URL to localhost when running the test from the build system, as an automated test.  is there a way to make pages.g.cs use the URL from the settings file rather than the hard-coded value in the file?

 

Thanks,

Mark

Ivaylo
Telerik team
 answered on 25 May 2016
7 answers
166 views

I have a TreeView that allows for multiple selection of TreeViewItem's. We don't use RadTreeView/Item, the project uses ArtOfTest.WebAii.Controls.Xaml.Wpf.TreeView/Item controls.

My issue is, I have a screen that when it loads, the same TreeViewItem isn't necessarily selected, and I need to select a specific one based on some text in the name of it.

So for example, in Screenshot_1, that first item is selected but I actually need the second one selected (there could be more than two items, that is just currently what I have in my sample), but the first item might not always be selected. There could be nothing selected on the screen load.

What I was thinking I would like to do is loop through the TreeView and deselect everything that is expanded, unless it has the text I'm looking for, in which case it should expand/select it.

Been working on this for a while and can't seem to figure it out...

Elena
Telerik team
 answered on 25 May 2016
3 answers
264 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
105 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
277 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
263 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
87 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
94 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
163 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
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?