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
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();
}
}
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)