Telerik Forums
Test Studio Forum
3 answers
64 views
Hi, I've this Silverlight scenario:

To input the the items of an user in a comment box. My sample excel file is like this:

User ID Item 1 Item 2 Item 3
================================
12 Table Chair
34 Jar Knife Fruits
45 Dog

For a user's iteration, Data has to be entered and a button has to be clicked to record the data.
Ex: For user 12's run: Data-->Click (To be iterated 2 times); For user 34's run, it has to be iterated thrice, and so on.

I've tried a lot, still cant figure out how can I iterate or loop this scenario. I think it is a combo of looping and data driven. Since the no. of items owned by user is not constant, I'm a lot confused. Please help me out.

Thanks !
Boyan Boev
Telerik team
 answered on 17 Jun 2013
9 answers
179 views
I want to leave the browser open after an iteration finishes, then run the next iteration of the test in a new window.

Any way to do this?
Cody
Telerik team
 answered on 14 Jun 2013
3 answers
68 views
Hi,

I just installed Telerik Test Studio in my machine for create bugs in Bugzilla using custom bug control with C#.
But while developing this control i got stuck at savings settings in settings.aiis file while saving settings using SaveTo method of "BugTrackerPersistableSettings" class of "ArtOfTest.WebAii.Design.Extensibility.BugTracking". In this method i did not know how to pass and store data in XMLStoreNode.

So kindly help me in this matter and if you have any full Project regarding Custom bug control please share it with me.
Plamen
Telerik team
 answered on 14 Jun 2013
2 answers
63 views
Hi,
Suddenly the application icon for Test Studio went away. I tried to re install but have no luck. Any thought?
Attached is how it looks in taskbar
Thank you
Bob
Top achievements
Rank 1
 answered on 14 Jun 2013
1 answer
67 views
I'm trying to using your load test. But I can't run the test because the Reporter and the Agents still red.
Here's the error for both of them:
"No Reporter has contacted the Controller" and "No Agents has contacted the Controller". I don't know why I got this error.

Can you please kindly help me?

This is my log:
[06/14 13:45:24,Telerik.TestStudio.Services.exe(716:14),Load] LoadReporterService.PollForController() : Unable to notify controller.
[06/14 13:45:24,Telerik.TestStudio.Services.exe(716:4),Load] LoadAgentService.PollForController() : Unable to talk to the controller.
[06/14 13:46:44,Telerik.TestStudio.Services.exe(716:41)] First trace message from pool unnamed thread (managed ID = 41, native ID = 2596).
[06/14 13:46:44,Telerik.TestStudio.Services.exe(716:41),Load] LoadReporterService.PollForController() : Notifying controller that this reporter is active...
[06/14 13:46:44,Telerik.TestStudio.Services.exe(716:24)] First trace message from pool unnamed thread (managed ID = 24, native ID = 7536).
[06/14 13:46:44,Telerik.TestStudio.Services.exe(716:24),Load] LoadAgentService.PollForController() : Notifying controller that this agent is active...
[06/14 13:46:47,Telerik.TestStudio.Services.exe(716:41),Load] LoadReporterService.PollForController() : Unable to notify controller.
[06/14 13:46:47,Telerik.TestStudio.Services.exe(716:24),Load] LoadAgentService.PollForController() : Unable to talk to the controller.
[06/14 13:48:07,Telerik.TestStudio.Services.exe(716:7)] First trace message from pool unnamed thread (managed ID = 7, native ID = 812).
[06/14 13:48:07,Telerik.TestStudio.Services.exe(716:7),Load] LoadAgentService.PollForController() : Notifying controller that this agent is active...
[06/14 13:48:07,Telerik.TestStudio.Services.exe(716:38)] First trace message from pool unnamed thread (managed ID = 38, native ID = 3492).
[06/14 13:48:07,Telerik.TestStudio.Services.exe(716:38),Load] LoadReporterService.PollForController() : Notifying controller that this reporter is active...
[06/14 13:48:09,Telerik.TestStudio.Services.exe(716:38),Load] LoadReporterService.PollForController() : Unable to notify controller.
[06/14 13:48:09,Telerik.TestStudio.Services.exe(716:7),Load] LoadAgentService.PollForController() : Unable to talk to the controller.
 
Velin Koychev
Telerik team
 answered on 14 Jun 2013
1 answer
87 views
I'm working on a testing an older web site with Test Studio. There are parts of the page where the frame is recognized but not the elements within. I get a pop-up window that says "This element cannot be found in the current page. There's probably a problem parsing the page source, make sure the source is valid!" This is covered in the documentation. It basically says that the code is bad enough that Test Studio can't deal with it. Is there a way to get Test Studio to recognize the 'bad' elements?
Boyan Boev
Telerik team
 answered on 14 Jun 2013
2 answers
104 views
Hello,
I have the element with such expression:
"tagname=div,class=select-normal,OuterMarkup=~id=mailprefs_default_compose_mode_labellink"
Element is determined correctly in IE browsers, but i have issues in Chrome and Firefox. I've got such error while executing scripts in followed browsers:
Unable to locate element. Details: Attempting to find [Html] element using 
Find logic 
 (Html): [class 'Exact' select-normal] AND [OuterMarkup 'Contains' id=mailprefs_default_compose_mode_labellink] AND [tagname 'Exact' div]

Inside Frame:[Frame:id=main_iframe,name=Frame_0,src=https://domain.com/ajax_prefs/main.php,UseQuery:True]
Unable to locate element. Search failed!

This issue is replicated for Firefox and Chrome browsers, and after this error i can't complete execution of test suite successfully. 
Note: I don't need to use tags such as title or name, because application is multi-language. Please look at this sample of code: 
<div id="mailprefsBody" style="height: 473px;">
<div class="pref-padwr">
<table cellspacing="0" cellpadding="0" role="grid">
<tbody>
<tr class="PrefText">
<td>
                    <select title="Default compose mode" alt="Default compose mode" tabindex="8160" id="mailprefs_default_compose_mode" name="default_compose_mode" style="display: none;">
                        <option value="Text">Text</option>
                        <option value="HTML">HTML</option>
                    </select><div class="select-normal" alt="Default compose mode" title="Default compose mode"><div class="select-inp"><div class="select-t">Text</div><a class="select-arr" id="mailprefs_default_compose_mode_labellink" tabindex="8160"></a></div></div>
                </td>
</tr>
</tbody>
</table>
</div>
</div>
Test
Top achievements
Rank 1
 answered on 12 Jun 2013
1 answer
96 views
Is it possible, to define a variable at the beginning of a test and use the vaue in the find settings of steps?
Sth. like TextContent = Productname: "{value of variable}" 
Boyan Boev
Telerik team
 answered on 12 Jun 2013
2 answers
101 views

Is anyone aware with any issues with Selecting a dropdown value?

I got the error below when testing with the website: http://www.echoecho.com/htmlforms11.htm

================================================================
Overall Result: Fail
------------------------------------------------------------
'11/06/2013 11:33:04 AM' - Using .Net Runtime version: '4.0.30319.17929' for test execution. Build version is '2012.2.1420.0'.
'11/06/2013 11:33:04 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'11/06/2013 11:33:08 AM' - Using 'InternetExplorer' version '9.0' as default browser.
'11/06/2013 11:33:14 AM' - 'Pass' : 1. Navigate to : 'http://www.echoecho.com/htmlforms11.htm'
'11/06/2013 11:33:15 AM' - 'Fail' : 2. Select 'ByValue' option 'Milk' on 'DropdownmenuSelect'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: [object Error]
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()',ClientId:'Client_d3d8231a-b3ab-438c-aefd-ea068639b46e',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: [object Error]
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: [object Error]
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeJsFunction',Target:'ElementId (tagName: '',occurrenceIndex: '-1')',Data:'function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()',ClientId:'Client_d3d8231a-b3ab-438c-aefd-ea068639b46e',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: [object Error]
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.

   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.InvokeOnChange()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'11/06/2013 11:33:15 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/06/2013 11:33:15 AM' - Overall Result: Fail
'11/06/2013 11:33:15 AM' - Duration: [0 min: 6 sec: 522 msec]
------------------------------------------------------------
'11/06/2013 11:33:16 AM' - Test completed!

================================================================

It isn't the website I'm testing but it has a dropdown that demonstrates the issue I'm having. The issue seems to disappear if I change InvokeSelectionChanged to False but I'm sure you can see how that could be a problem with some tests.

Has anyone else had a similar issue?

Erick
Top achievements
Rank 1
 answered on 12 Jun 2013
3 answers
47 views
Hi,

I have test execution license on our servers and use TeamCity to schedule the test execution.

I would like to know if it is possible to rebuild my Test Studio Project using the Telerik Test Execution license?

Thanks,
Terri
Ivaylo
Telerik team
 answered on 10 Jun 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?