Telerik Forums
Test Studio Forum
3 answers
51 views
Hello,

I have script error when open my site in IE8 and the page is loaded partially (RadGrid is absent):

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)
Timestamp: Thu, 19 Aug 2010 12:01:27 UTC


Message: Invalid argument.
Line: 1718
Char: 1
Code: 0
URI: http://...../Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScScriptMng_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.1.309.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-GB%3a30afb63f-e6ac-41db-9851-11879733de0a%3a16e4e7cd%3aed16cbdc%3af7645509%3a11a04f7e%3a24ee1bba%3a1e771326%3aaa288e2d%3a58366029%3ab7778d6c%3ae085fe68

Could you please help me?

Thank you in advance
Anthony
Telerik team
 answered on 06 Jul 2012
3 answers
101 views
Hi Telerik Team,
                         I had tried with the trial version of the Telerik Test Studio but i am failing to do the functional testing,HTML testing and the other stuff also,i had got success with Load Testing not fully got some what result can you help me to go forward on this probably i think because of trial version i had not get the results is it correct or not i dnt know if you ca provide me the help i will be pretty much thankful about it.
                      Please also tell me the that up to which testing the trial test studio support i.e Functional Testing,HTML testing etc.



Thanks 

Prasad

Byron
Telerik team
 answered on 05 Jul 2012
1 answer
124 views

 I am using the trial edition of TeleikTest Studio 2012.1.528.0 with Chrome 20.0.1132.47 m, windows 7. All other browsers work great except Chrome. There is a key Iframe and tabbed target iframes. The error log is as follows.
_______________________________________________________________________________

Overall Result: Fail
------------------------------------------------------------
'7/4/2012 5:20:06 AM' - Using .Net Runtime version: '4.0.30319.17626' for tests execution.
'7/4/2012 5:20:06 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'7/4/2012 5:20:08 AM' - Using 'Chrome' version '20.0.1132.47' as default browser.
'7/4/2012 5:20:11 AM' - 'Pass' : 1. Navigate to : 'http://examples1.ext.net/'
'7/4/2012 5:20:12 AM' - 'Pass' : 2. Click 'ButtonsSpan'
'7/4/2012 5:20:13 AM' - 'Pass' : 3. Verify 'InnerText' 'Exact' 'Basic' on 'BasicSpan'
'7/4/2012 5:20:14 AM' - 'Pass' : 4. Click 'BasicSpan'
'7/4/2012 5:20:15 AM' - 'Pass' : 5. Click 'LinkButtonSpan'
'7/4/2012 5:20:16 AM' - 'Pass' : 6. Click 'HomeSpan'
'7/4/2012 5:20:20 AM' - 'Pass' : 7. Click 'LinkButtonSpan0'
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Primary Find Expression: id=ext-gen289,|,tagIndex=span:1
Element was found by backup search: xpath=/html[1]/body[1]/div[3]/div[1]/div[1]/ul[1]/li[2]/a[2]/em[1]/span[1]/span[1]
'7/4/2012 5:20:21 AM' - 'Pass' : 8. Click 'ImageButtonSpan'
'7/4/2012 5:20:24 AM' - 'Pass' : 9. Verify 'InnerText' 'Exact' 'LinkButton' on 'LinkButtonSpan'
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Primary Find Expression: id=ext-gen286,|,tagIndex=span:3
Element was found by backup search: xpath=/html[1]/body[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/ul[1]/div[1]/li[4]/ul[1]/li[1]/ul[1]/li[2]/div[1]/a[1]/span[1]
'7/4/2012 5:21:06 AM' - 'Fail' : 10. Click 'SimpleH2Tag'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'eabbcda0-23da-4bc0-bfff-b824745b815c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'2',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.RefreshDomTree()
   at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'eabbcda0-23da-4bc0-bfff-b824745b815c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'2',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.RefreshDomTree()
   at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout, Boolean& byBackupSearch)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'7/4/2012 5:21:06 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'7/4/2012 5:21:06 AM' - Overall Result: Fail
'7/4/2012 5:21:06 AM' - Duration: [0 min: 58 sec: 75 msec]
------------------------------------------------------------
'7/4/2012 5:21:47 AM' - Test completed!

 



Plamen
Telerik team
 answered on 04 Jul 2012
4 answers
119 views
Hi,
We have an issue with telerik test studio. With standart html textboxes and pages, test studio works however, when we run silverlight telerik page browser become unresponsive even only navigating the page.

Here is screenshot 
telerik problem screenshot

fail log

Overall Result: Fail
------------------------------------------------------------
'28.06.2012 21:45:51' - Using .Net Runtime version: '4.0.30319.225' for tests execution.
'28.06.2012 21:45:51' - Starting execution....
'28.06.2012 21:45:51' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
------------------------------------------------------------
'28.06.2012 21:46:13' - Using 'InternetExplorer' version '8.0' as default browser. 
'28.06.2012 21:46:48' - 'Fail' : 1. Navigate to : 'http://airc2istest:91/'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'28.06.2012 21:46:48' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'28.06.2012 21:46:48' - Overall Result: Fail
'28.06.2012 21:46:48' - Duration: [0 min: 35 sec: 34 msec]
------------------------------------------------------------
'28.06.2012 21:46:48' - Test completed!

I tried simulate real click throubleshooting but it did not work.

I have one navigate to url step , after launching browser navigates without problems, but after navigating, plugin of test studio appear and navigates to url ones more unexpectedly, then internet explorer cannot pass the first navigation step.

This problem is not seen by using VS plugin but we need test studio for load testing.


this is very crucial issue, we should test this page immediately. What can be the problem?
Levent
Top achievements
Rank 1
 answered on 04 Jul 2012
7 answers
163 views
Hello Telerik Team

    I Have a Issue to delete a row from a Html Table
This is How My table looks like in a webpage,  I can create new by clicking the create new link , If i Add a new row its added in the bottom
for example I added Name:"Pf3"

Name Description Additional Info Action
pf1 pf11
pf2 pf22
pf3 pf33
This is my coded step to delete the third one "pf3"
[CodedStep(@"Click 'DeleteLink3'")]
        public void testlising_CodedStep()
        {
            HtmlTable table = Find.ByExpression<HtmlTable>("TagIndex=table:0");
            Assert.IsNotNull(table);   
            
            HtmlTableRow row = table.Find.ByExpression<HtmlTableRow>("innertext=pf3, tagname=td");
            HtmlTableCell cell = row.Cells[3];
            HtmlAnchor a = cell.Find.ByExpression<HtmlAnchor>("innertext=~delete","tagname=a");
            
               
        }

I did not get the result, If i go and check in debug watch window, in the row it says Null

Table -> Row[1] -> Cells[0] = " "
Please its Urgent, in my test.

Siva
Top achievements
Rank 1
 answered on 03 Jul 2012
1 answer
188 views
Hi,

I am getting error-"Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=Frame_0,src=^http://10.,UseQuery:False]' timed out. Error: Wait for condition has timed out".

I have recorded my applicaton on one build url and it's running fine, however it's showing above error at Modal popup box while running it on different url.I have already followed the guidelines as mentioned in this link http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/recording-tests/frames.aspx ,


Please help me to resolve this issue

Thanks,

Anuj
Stoich
Telerik team
 answered on 03 Jul 2012
1 answer
104 views
I'm trying to eliminate fixed Execution Delays in a test and there has to be a better way.  

The problem.  We are entering clients into a page and the save only occurs when you navigate off the page or click on the link that brings you to the page that you are already on.  In automation, after entering the client data, I am clicking on the link that brings you to the same page.  However, when I click on this link, there is a delay before the page loads.  So, without an execution delay, the script often fails because it is going to the next step which is wait for an element to exist.  The problem is that it existed before the page had time to refresh.  I have entered a ActiveBrowser.WaitUntilReady and that didn't help.  This isn't an ajax thing either.   I also tried waiting until an element doesn't exist and waiting until it existed again which didn't seem to work either. Any suggestions?

Thanks,

Jonathan
Ivaylo
Telerik team
 answered on 03 Jul 2012
5 answers
85 views
Hi,

Please help in resolving the below issue.

1. I have recorded a test step that verifies the count of labels in a chart.
     When it is executed, it fails with the error in log as below:

        Failure Information: 
        ~~~~~~~~~~~~~~~    
        Unable to cast object of type 'System.Int32' to type 'System.String'.
        InnerException:
        System.InvalidCastException: Unable to cast object of type 'System.Int32' to type 'System.String'.
           at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlStringPropertyVerificationDescriptor.Verify(DescriptorValueStore dataStore)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

2. I convert the same step to a coded step and do NOT change any code.
    Now, when the test is executed, this step fails with a different error as below:
        Failure Information: 
        ~~~~~~~~~~~~~~~
        Exception thrown executing coded step: '[StringErr_CodedStep] : chartarea: Chart series item label count 'Same' '6'., RequiresSilverlight=True'.
        InnerException:
        ArtOfTest.WebAii.Silverlight.ExecuteSilverlightCommandException: [Silverlight Extension Error] Details:     ArtOfTest.WebAii.Silverlight.NoSuchPropertyException: Property 'SeriesItemLabels.Count' does not exist on the element
            at Telerik.TestingFramework.XamlExtension.ClientServices.GetRealProperty(AutomationReference reference, AutomationProperty property)
           at Telerik.TestingFramework.XamlExtension.ClientProcessor.ProcessCommand(String command)
           at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
           at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetProperty(AutomationProperty property, IAutomationPeer peer)
           at ArtOfTest.WebAii.Silverlight.AutomationObject`1.GetProperty(AutomationProperty property)
           at StringErr.StringErr_CodedStep() in C:\Caliper UI Automation\In Progress\TestProject1\StringErr.tstest.vb:line 73

Cody
Telerik team
 answered on 02 Jul 2012
5 answers
338 views
Hi,

I am currently evaluating WebUI QA edition. As of yesterday, I had the scheduling and executing servers set up. After a reboot today, I am unable to schedule tests. My execution server is no longer registered. And when I try to make a test connection to the scheduling server inside of WebUI QA (Project tab), it says that the Scheduling service is not running. When I try to click on "Configure as a Scheduling Server" the window pops up with everything greyed out. I go into Windows services to try and start the WebUI Secheduling service manually, but it says something to the effect of: "the service started and then stopped" and "Some services stop automatically if they have no work to do..."

I am running a VM with Windows Server 2003 SP2.

I would appreciate any help you can offer. Thanks.
Stoich
Telerik team
 answered on 02 Jul 2012
1 answer
72 views
Hello:
      When we are trying to add kendo objects of the same page a new page is being created with a different index under the object explorer.Please help us in undersatnding the error and also suggest us where we can get examples on all the kendo controls as we are facing lots of issues in working with kendo UI in writing code.Please help us in this regard ASAP
Anthony
Telerik team
 answered on 29 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?