Telerik Forums
Test Studio Forum
1 answer
73 views
The item selected in this drop down affects the next drop down. The change triggers a Javascript call. I get this error when that happens. 

ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [$(document.getElementsByTagName(\'select\')[3]).change();] 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:'$(document.getElementsByTagName(\'select\')[3]).change();',ClientId:'Client_f849a365-c9ab-4ece-aaf7-36083835f3a7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'5',InError:'True',Response:'System.InvalidOperationException: Javascript call [$(document.getElementsByTagName(\'select\')[3]).change();] 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.
Cody
Telerik team
 answered on 07 Oct 2014
3 answers
86 views
Hi,

I'm creating a test in which I run through a registration form, part of this registration form is the email adres field. This field is mapped to a Telerik control, and the Telerik framework has made it a "HtmlInputText". This results in an error, I imagine because when it looks for this control the type is "type=email", either way it gives me the following exception: Invalid input type "Email'' for this control. Control was expecting ''Text"

This is fixed whenever I change the control's type to HtmlInputEmail, however because the pages.g.cs is auto regenerated everytime you build, the Telerik framework automatically changes this back to HtmlInputText which breaks the test. How can I manually force it to generate this as a HtmlInputEmail? Also I suppose this can be seen as a bug report of sorts, because the "type=email" is even included in the control's find parameters, how does the framework not properly create this as an HtmlInputEmail?

Regards,
Sander
Ivaylo
Telerik team
 answered on 07 Oct 2014
3 answers
73 views
I have a HTML Application (.hta extension) that i would like to record against. Below is the link of the application.

http://simsapptest/sims/sims.hta

When i enter the above link in internet explorer, it opens up as an application. I would like to record my actions on the HTML application that pops up. Does Telerik support recording on HTML Application (.hta extension)? If yes, can you please provide me information on how i could do that.

Thank you,
Nithin
Cody
Telerik team
 answered on 06 Oct 2014
10 answers
101 views

hi,dear, I am qiao
 
In the recorded during WebTest, it often pops up the following error:
    Save Project on Error
    An unexpected error occurred in Test Studio.
    The error has been reported to the Telerik team.
    Do you want to save your work
Then to save it,but save failed,How to solve?

                                                                     Thank you for your answer
Cody
Telerik team
 answered on 02 Oct 2014
7 answers
180 views
Hello,

We are currently evaluating Telerik and are very close to purchasing, however, I have come across a problem.

We need out tests to run overnight so were advised to run the tests on a Virtual Machine instead of my local machine. However, I have installed a trial version on my VM and attempted to record a test but when the browser opens it will not load and immediatley states "not responding" in the end i have to force close the web page. I have attached a log file for this in case that helps.

I recorded a test on my local machine and coppied this onto my Virtual Machine to try and run it, it navigates to the website in the first test step but then nothing happens, its as if it gets stuck trying to do the next test step and it just hangs. The test runs fine on my local machine. I have attached a log file for this too.

I am trying to record and play the test while remote desk topping onto the VM initialy and will then need to schedule the test to run overnight.

Any advice would be appreciated.

Thanks

Chloe
Ivaylo
Telerik team
 answered on 02 Oct 2014
1 answer
26 views
Hi there,

I have a coded step that locates a sub-menu item and clicks on it to open a particular page.
Early in my test, this step runs and works fine.
Later in the test I want to go to the same page, and I made a copy of the same step.  However, the step no longer works the second time it runs - and I can see the mouse shoot over to the corner of the screen for some reason.
Here is the code inside the step:

HtmlControl ulList = Pages.EVCloudAdministration.AccountsMenuUL;
HtmlListItem accMenuList = uList.Find.ByExpression<HtmlListItem>("tagname=Li", "innertext=New Archive");
accMenuList.MouseClick();


I have tried doing things like refreshing the dom tree, some waits, and even refreshing the whole page and navigating back to where I need to be, but nothing seems to help.  Any suggestions on what I can try?  Thanks!
Cody
Telerik team
 answered on 30 Sep 2014
1 answer
56 views
Hello, I've searched a lot but can't find anything that suits my needs. 

I need to compare two drop-down menus, they need to have the same text but I can't find anything that can do it in Telerik Test Suit.

Someone can help me?

Thanks in advance.
Boyan Boev
Telerik team
 answered on 30 Sep 2014
2 answers
83 views
During recording of automation, when selecting a parent from the drop down it was failing when playing back the test.
What was recorded from my step was: RadTreeView('ct100_firmComboBox_i0_firmTreeView'): 'SVAutomationVC' action -> 'Click'.
Eventually, before this step another step had to be entered to get this to work. This step was inserted before the click action: Scroll ListItem1 to top of window.
The test passed once this was inserted into the automation script.

Now, I am having issues with automating the selection of a child selection to this parent. At the drop down list the parent (SVAutomationVC) displays with '+' next to it. And once '+' is selected the user is able to view the child or children. When I record the steps of selecting the child and play back occurs it fails. I have tried to insert steps as done for the parent but nothing as worked.

I have attached my automation scripts and also a screen shot of how far the scripts take me in the application. Has anyone else had this problem or does anyone have an answer so that I can move past this point in my automation with a successful script?
Ivaylo
Telerik team
 answered on 30 Sep 2014
1 answer
49 views
I created a load test in test studio by creating order on test site.

Now I am running the load test with 10 users and expected that atleast 10 orders will be created
but not even a single order is created.

Does the test studio load test not work by running the entire test again for multiple users.
Ivaylo
Telerik team
 answered on 29 Sep 2014
1 answer
44 views
Hi,

We have successfully configured TFS bug tracking tool with TTS.
When i tried to submit the bug to TFS, Display with "Unable to submit bug to Team Foundation Server. Error: Area validation"
Boyan Boev
Telerik team
 answered on 26 Sep 2014
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?