Telerik Forums
Test Studio Forum
1 answer
93 views
Hi, i'm looking at creating a multidude of tests which use the if..else step, i cant however seem to alter the timeout of these steps,

Currently each time these are hit i have to wait 30 seconds, but the condition to resolve this appears in under 3-5 seconds. is there anyway to reduce the wait time on the if..else steps?

I have tried using the 'UseStepWaitInElelmentsTimeout' checkbox but the properties list for the if..else steps doect contain an option to define a timeout period.

Any help with this would be great

Jo
Velin Koychev
Telerik team
 answered on 16 Jan 2014
1 answer
53 views

Hi all.

We are using Microsoft Test manager to manage all our test cases with automated tests. Our plan is create automated test suite in Microsoft Test manager and run it through TFS. We are able to run tests through Microsoft Test manager as well as from TFS build.

However we couldn’t get results and logs back to Test manager or to TFS build during failure. When we run Telerik Test studio tests through Telerik Test studio plugin we are getting nice logs as well as snapshots. Is there any way to access those log files and snapshots when we are executing automated tests thought Microsoft Test manager

Thanks,
Suranga

Boyan Boev
Telerik team
 answered on 16 Jan 2014
2 answers
81 views
Hi ,

I am testing in Silverlight application where I click on a button after that it takes some time to load the page. And next step is to click on the combo box. But it tries to click the combo box while the page is loading. 

How can I wait until whole page is loaded and clicks the combo box after that:

Pages.PresentationClient0.SilverlightApp.SecurityTextblock.User.Click();  //Code for click the tab.

Pages.PresentationClient0.SilverlightApp.AccessGroupComboBoxRadcombobox.ToggleDropDown();//Code for opening the combo box.

Should there be any wait statement between the two?

Regards
A
Velin Koychev
Telerik team
 answered on 16 Jan 2014
1 answer
79 views
Hi All

Need to know if i can get a list of only failed test cases automatically after a test list execution is finished.

Thanks in Advance

Ankit
Boyan Boev
Telerik team
 answered on 15 Jan 2014
4 answers
269 views
I am trying to loop through an HTML unordered list, find a specific value, and then click the associated delete link.  So far, I can loop through the <UL>, find the value, and click the first delete button in the <UL>.  Is there a way to cycle down through the HTML and tell test studio to click the delete link for a specific tag?

Example:

The <UL> has two values:
A role

Test Role

The script will loop through the list and find 'Test Role'.  At this point, it needs to click the delete link associated with this item.  My current script always clicks the delete link for 'A role', which is the first one in the list.  I cannot figure out how to make it click the delete link for 'Test Role'.

Does anybody have any suggestions?  I have attached screen shots of the DOM and the UI and my current script is below.

Thanks!


HtmlUnorderedList roles = ActiveBrowser.Find.ById<HtmlUnorderedList>("Roles");
HtmlAnchor a = Find.ById<HtmlAnchor>("deleteRole");

//Loop through each <li>, find role and click the delete link
foreach(HtmlListItem item in roles.AllItems)
{
     if (item.TextContent.ToString() == "Test Role")
     {
          Log.WriteLine(item.TextContent.ToString());
          a.MouseClick();
     }
}

 

 

 

Boyan Boev
Telerik team
 answered on 15 Jan 2014
8 answers
176 views
Hi Telerik Team,

I have the following issue when playing back my script.

 I open a pop up window from my parent window and  select some options from a drop down and click a button on the pop up window which close the pop up window. I cannot playback the step as it fails. I have a couple of steps like this in my test and all of them fail.

If I instruct my test to stop running just before the step where I have to open a pop up window and then continue to run my test from the next step the playback works.

Do I have to give a delay ? Please help.

Regards,

Vaishali


Boyan Boev
Telerik team
 answered on 15 Jan 2014
1 answer
91 views
I have used the Version of Telerik Telerik.TestStudio.2013.1.1120_Purchase and builded a test where i verificated the Check Box property "state".
Now I have updated my Telerik to Version TestStudio_Ultimate_2013_2_1210_Trial and there my test does not work correctly anymore. The checkboxes have now in this Version no property like "state" anymore. So I cannot verificate the checkboxes anymore. I have tried to do a work around but have not found a solution.
  
Please help me

Greatings Christian

Velin Koychev
Telerik team
 answered on 15 Jan 2014
10 answers
126 views
After upgrading our build machiines to 2013.1.806.0, I'm seeing this issue when trying to build:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets (1578): The primary reference "ArtOfTest.WebAii.Design, Version=2013.1.806.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "ArtOfTest.WebAii.Design, Version=2013.1.806.0, Culture=neutral, PublicKeyToken=4fc62bbc3827ab1d, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

Any ideas?
Velin Koychev
Telerik team
 answered on 14 Jan 2014
5 answers
232 views
Hi,

I'm using Telerik Test Studio version: 2012.2.1527.0. I start recording using the webtest and navigate to the URL. This is not getting recorded as a step.

There is a login page. As I start typing my user Id, this is now getting recorded. Everything from this point is getting recorded (except any URL changes). Since the initial navigation is not getting recorded, the test fails in the very first step when I run it.


Error Information

Error: Wait for condition has timed outInnerException:System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=credentials,name=Frame_1,src=https://<URL>,UseQuery:False]' timed out. Error: Wait for condition has timed out at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout) at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)



However, it works fine for my colleagues (navigation to the URL is getting recorded as the first step), who have the same user rights to the machine as mine. We all use the same OS and followed same steps. The only setting we all did is calibrating the browser. Everything else is default settings.

I found similar issue being reported here before. But that says OS is a non-english one as the cause. This is not the case for me.

I tried adding manual step for navigation to the URL. It did not work. Can you please help ASAP or give me a work around please. Thanks.

Cheers,
Amar.
Boyan Boev
Telerik team
 answered on 13 Jan 2014
3 answers
87 views
Hi,
     I have recorded form filling in my application, which has fileds like "Name, Phone number, etc,...."  when recording i i entered "sujith" in name field and "(098) 765 4321" in phone number field and click save button, gets saved. stopped the recording.

Then i have edited Name as "John" and phone number as "(123) 456 7890" in the recorded steps, saved and play-backed the steps.
But test studio not enters the name and phone number which i have edited. it entering only the values which i have entered during recording as ""sujith" in name field and "(098) 765 4321" in phone number field".
Velin Koychev
Telerik team
 answered on 13 Jan 2014
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?