Telerik Forums
Test Studio Forum
1 answer
493 views
Hi,

I am new to Telerik. One of our client have delphi application. I wanted to know whether such applications are feasible to automate using Telerik?

Does Telerik automates Delphi application?
Boyan Boev
Telerik team
 answered on 18 Oct 2013
8 answers
199 views
Lately I've started running into an ExecuteCommand failed error in a bunch of tests, only when running them on the test studio run time.

It only happens on web forms ajax dropdown control, as far as I can tell.

The error messages look like:

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: TypeError: Object doesn't support property or method 'createEvent'
   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_344da513-6c50-4d7e-8c61-b129e4dee963',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: TypeError: Object doesn't support property or method 'createEvent'
   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.


The test log messages is:


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: TypeError: Object doesn't support property or method 'createEvent'
   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_9e4e4fc8-fa84-485d-b8b7-1aefb61c62a7',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: TypeError: Object doesn't support property or method 'createEvent'
   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: TypeError: Object doesn't support property or method 'createEvent'
   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_9e4e4fc8-fa84-485d-b8b7-1aefb61c62a7',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: TypeError: Object doesn't support property or method 'createEvent'
   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.Controls.HtmlControls.HtmlSelect.SelectByText(String text, Boolean invokeOnChangeEvent)
   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)


I should also point out that the dropdown box is changed to the correct value
Alan
Top achievements
Rank 2
 answered on 18 Oct 2013
1 answer
121 views
Message : the teletik server cannot be reached now
Cody
Telerik team
 answered on 15 Oct 2013
2 answers
131 views
I'm having an issue invoking the blind keyboard typing.  I am unsure what reference assembly I need to add to the project in order for the coded step to work.  I have the code I need:

Manager.Desktop.KeyBoard.KeyPress(Keys.Insert, 200);

I am unsure as to the assembly reference however. I am not finding the one they are pointing to in this article:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/coded_steps/add-an-assembly-reference.aspx

I've downloaded and installed Windows SDK and .NET 4.0 from the link, and still I cannot find the reference (I did have .NET 4.5 already installed)

My directory structure looks like this:

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\

Instead of the listed:
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client


Neither the v3.5 folder or the v3.0 folder contains a "Profile" subfolder.
Ivaylo
Telerik team
 answered on 14 Oct 2013
2 answers
179 views
Hi all,

I have a few questions about digging further into Test Studio.

Here are my questions:

1. Are you able to run external applications when creating coded tests? I was wondering if I would be able to call a PowerShell or Console Application and have it return a value in which I could pass that step or not.
2. Using the Visual Studio plugin, am I able to put the project in Source Control and once the tests have been created, to link them to test cases in TFS to be run on a remote machine?
3. Is there any support for automating tests in Outlook? If we were to use some of Teleriks custom controls in an add-in would I be able to automate this?

Thanks all in advance.
Jake
Top achievements
Rank 1
 answered on 14 Oct 2013
1 answer
148 views
We recently upgraded our scheduling/execution server to the latest version, and I can't figure out how to change which database the Storage service is using(post-install).  Is there some obvious way through a UI that I'm completely missing?  Currently the only solutions I've found are to either modify the config file directly, or to completely uninstall the services and then reinstall.

Thanks for the help,
Michael
Ivaylo
Telerik team
 answered on 14 Oct 2013
3 answers
68 views
Hi,

We have found the Dynamic Test Lists a very useful feature in Test Studio, however we have one question/feature request:

Is there any way of grouping the rules in Dynamic Test Lists? At the moment it only appears to use the AND condition and there's no way of grouping them.

What we would like to do is if we have 4 tests e.g. Test1, Test2, Test3, WebTest3 - we would like to create a dynamic test lists which would look something like this:

(NAME CONTAINS "1")
    OR
((NAME CONTAINS "3") AND (NAME NOT CONTAINS "WebTest"))

This would pull through Test1 and Test3 only out of the 4 tests

Thanks
Shane 
Velin Koychev
Telerik team
 answered on 14 Oct 2013
4 answers
190 views
Hello Everyone,

In my application for RADGRID, only the "EQUAL TO"  filter is not working correctly for GridDateColumn .It Shows no results.
This problem occurs only when i include radgrid into a Telerik radtab to show multiple grid in tabs on a page.

I am attaching my code file with this .

Please advise..any solution for the same.

Regards ,
Vishal
Antonio Stoilkov
Telerik team
 answered on 14 Oct 2013
2 answers
114 views
Hi
In ASP.Net Ajax Grid is any Helper Class available.
For example In my design page i just place a RadGrid.
In my Code behind init i call a helper class function for data bind.
using helper class i send coulns for creating bound colums.
In helperclass which might have textbox column ,check box column and etc
and all client side events and serverside events from the helper class.
Means my Design and CS page should be simple in Init method i should define all grid functions rest should be happen using Helper class.
Boyan Boev
Telerik team
 answered on 10 Oct 2013
1 answer
105 views
Hi Telerik,

I am unable to verify the tool tip. can you please help us?

Attached is screenshot of code.
For tool tip we do not have any attribute like title. The developer has written a java script for tooltip, in this situations how can i verify the tooltip of an element.

Thanks,
Naga


Boyan Boev
Telerik team
 answered on 08 Oct 2013
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?