Telerik Forums
Test Studio Forum
1 answer
72 views
Hi,
  I have created and run the scripts successfully with windows XP (IE8) now my problem is i am trying to execute those scripts in windows 7(IE 9) but i am not able to execute those scripts and sometimes one of the step fails and sometimes it is moving to next iteration without finishing the first iteration so please provide details how to avoid that one or this telerik is compatible with for ie9
Ivaylo
Telerik team
 answered on 22 Oct 2013
3 answers
107 views
When I attempt to run more than 20 users on our license the Manage Users link is displaying this error.

"We are not able to acquire Licensing information."

We've got 6 licenses so we should be able to run 120 user if I'm correct.  I've attempted to deactivate the license for this account and reactivate but it's still displaying this error.  What am I missing?
Cody
Telerik team
 answered on 21 Oct 2013
1 answer
136 views
Hello,

We have a major concern regarding the result of our load test using test studio. Why is it that we're getting huge number of Faulted users in the Analysis Screen (page with metric graphs) even though there are no HTTP Errors (refer to - Analysis Screen.png) reported after the load test execution. Looking at the page specific metrics, all the URL pages did not encounter any error (refer to - No Errors on Page Specific Metrics.png). Also, there are no completed users for the entire life of the test.

Here's what we're aiming to achieve on the application using load test.
1. The application has a page which we call the operator console, under the operator console are lists of tasks that we need to change the status (e.g. change status from In Progress to Initiated).
*Note: There are preceeding pages that the user needs to go first before the Operator Console page.
2. So we designed our webtest to select random page on the operator console. And then, change the status of the tasks loaded on that page by selecting all the task and changing their status. (refer to - Operator Console Page.png)

We are load testing the application to see if it can handle multiple concurrent users changing the task status under the operator. However after the execution there are no completed users, meaning none of the virtuals users completed their requests and there is a huge number of faulted virtual users. Why are we getting this behavior? Also upon checking the tasks on the operator console page manually, NONE of the tasks changed status.

BTW, we are using Windows Authentication for our application.

Thanks. Hope you could help us ASAP with this.

Thanks,
Cairo

Ivaylo
Telerik team
 answered on 21 Oct 2013
4 answers
578 views
Can I use a c# class in Test Studio so I can create and maintain some global variables and methods I want to use? 
Thanks,

Jeff
Velin Koychev
Telerik team
 answered on 21 Oct 2013
2 answers
110 views
Hello Team ,
I have problem during record a test step in test studio, when i was tried to record test step , it did not get added to my test cases .and if i  try this with old test cases and try to edit existing step ,recorder is not working.

i just follow test studio documentation regarding ie setting and also calibrate,but still recorder is not working.

thanks in advance..
Humberto
Top achievements
Rank 1
 answered on 18 Oct 2013
1 answer
482 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
196 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
115 views
Message : the teletik server cannot be reached now
Cody
Telerik team
 answered on 15 Oct 2013
2 answers
128 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
173 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?