Telerik Forums
Test Studio Forum
6 answers
273 views
Hello,

When I try to run my test in FF I get the following error:

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError) ---> System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---

Failed step:
Verify attribute 'src' has 'NotContain' value of 'disabled' on 'CPRibbonGroup3BtnRibbReadCardImageImage'

Although in IE8 all works fine.

Could you, please, clarify what is wrong?
Thanks.
Ken
Top achievements
Rank 1
 answered on 11 Dec 2013
1 answer
64 views
I'm able to determine page load times in my performance test but is there a way to see specific page load times in a load test.  I need that information per page while simulating 100 concurrent users.
Cody
Telerik team
 answered on 10 Dec 2013
1 answer
94 views
Is there anyway to delay the BrowserCapture function a few ms without having to put a execution delay in front of every browser capture?
Rodney
Telerik team
 answered on 10 Dec 2013
10 answers
853 views

I have written customized code using C#. I have given breakpoint in customized code step in Data driven test. When i execute the steps, it is waiting in the breakpoint but not able to debug the code. How to debug the code? Can you please suggest me the same.
Nguyen
Top achievements
Rank 1
 answered on 10 Dec 2013
5 answers
207 views
My test studio projects are not compiling anymore after the 2013 upgrade.  Error:  

c:\Users\creasoner\Documents\Test Studio Projects\MBL Smoke Test\App Approval.tstest.cs: Line 79: (CS1061) 'TestProject1.Pages' does not contain a definition for 'ThinkFinanceAdministration0' and no extension method 'ThinkFinanceAdministration0' accepting a first argument of type 'TestProject1.Pages' could be found (are you missing a using directive or an assembly reference?)
c:\Users\creasoner\Documents\Test Studio Projects\MBL Smoke Test\Application Verificaion.tstest.cs: Line 79: (CS1061) 'TestProject1.Pages' does not contain a definition for 'ThinkFinanceAdministration2' and no extension method 'ThinkFinanceAdministration2' accepting a first argument of type 'TestProject1.Pages' could be found (are you missing a using directive or an assembly reference?)
c:\Users\creasoner\Documents\Test Studio Projects\MBL Smoke Test\Application Verificaion.tstest.cs: Line 87: (CS1061) 'TestProject1.Pages' does not contain a definition for 'ThinkFinanceAdministration2' and no extension method 'ThinkFinanceAdministration2' accepting a first argument of type 'TestProject1.Pages' could be found (are you missing a using directive or an assembly reference?)
c:\Users\creasoner\Documents\Test Studio Projects\MBL Smoke Test\Application Verificaion.tstest.cs: Line 96: (CS1061) 'TestProject1.Pages' does not contain a definition for 'ThinkFinanceAdministration2' and no extension method 'ThinkFinanceAdministration2' accepting a first argument of type 'TestProject1.Pages' could be found (are you missing a using directive or an assembly reference?)
c:\Users\creasoner\Documents\Test Studio Projects\MBL Smoke Test\Application Verificaion.tstest.cs: Line 97: (CS1061) 'TestProject1.Pages' does not contain a definition for 'ThinkFinanceAdministration2' and no extension method 'ThinkFinanceAdministration2' accepting a first argument of type 'TestProject1.Pages' could be found (are you missing a using directive or an assembly reference?)




Ivaylo
Telerik team
 answered on 09 Dec 2013
1 answer
93 views
Example code:

    <add key="ProcessManagerPollingInterval" value="2" />
    <add key="ExecutionMangerPollingInterval" value="4" />

I think it should be ExecutionManagerPollingInterval
Ivaylo
Telerik team
 answered on 06 Dec 2013
1 answer
95 views
Hi,
When I add any message to the Assert API call. On failure of Test step I am expecting that it should log failure message with the message given in Assert API. But test studio doesn't log the Assert message instead it logs the Test step description.

[CodedStep(@"Verify All Controls visibility is Visible", RequiresSilverlight = true)]
public void NetworkSettingsPage_Functionality_ControlVisibility()
{
    // Verify EditButton's visibility is Visible
    Assert.AreEqual(ArtOfTest.WebAii.Silverlight.UI.Visibility.Visible, Pages.PC5xxLogin.SilverlightApp.EditButton.ComputedVisibility, "Edit Button Element visibility does not match expected value");
}

In above code on failure of Assert it doesn't log the message given in Assert API Call instead it logs description in code step attribute.
I searched around online but didn't get any help.

Please let me know if this is a known issue or I am missing something.
Boyan Boev
Telerik team
 answered on 06 Dec 2013
1 answer
61 views
When changing the location of the scheduling connection, it does not update the connection. I have to kill the test runner (agent) first before I can actually change it to another url.
Ivaylo
Telerik team
 answered on 06 Dec 2013
1 answer
116 views
Hi,

I have experienced this problem multiple time and i cant seem to find a solution, i will insert the error message and log below, as you can see i have tried adding 'wait for *time' steps and also 'wait for *visible' but neither seem to make any difference, this problem is not consistent, it only happens occasionally but the test will fail none the less, i have watched the test and the chosen value is selected correctly and then the step fails.

Any help on this would be great

Jo

*******
'03/12/2013 14:27:36' - 'NotRun' : 16. Wait for '650' msec.
'03/12/2013 14:27:36' - 'Fail' : 17. Select 'ByValue' option 'CLA' on 'ContentPlaceHolder1DdlAssignmentTypeSelect'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeEvent',Target:'ElementId (tagName: 'select',occurrenceIndex: '0')',Data:'onchange--@@--null',ClientId:'Client_7791f341-32cc-42dd-a113-20f964d35ad7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   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.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'InvokeEvent',Target:'ElementId (tagName: 'select',occurrenceIndex: '0')',Data:'onchange--@@--null',ClientId:'Client_7791f341-32cc-42dd-a113-20f964d35ad7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at mshtml.HTMLSelectElementClass.IHTMLElement3_FireEvent(String bstrEventName, Object& pvarEventObject)
   at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeEvent(IHTMLElement target, String data)
   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.InvokeEvent(Element targetElement, ScriptEventType eventType)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.InvokeEvent(ScriptEventType eventType)
   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)
------------------------------------------------------------
'03/12/2013 14:27:36' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'03/12/2013 14:27:36' - Overall Result: Fail
'03/12/2013 14:27:36' - Duration: [0 min: 0 sec: 484 msec]
------------------------------------------------------------
'03/12/2013 14:27:36' - Test completed!
Ivaylo
Telerik team
 answered on 06 Dec 2013
1 answer
93 views
Good day,

I am having an issue where I have made changes to a test that requires me to get latest.  The Merge Reviewer will display the code lines, but they are blank

Please see picture

Thank you,
Rob Bricker 
Cody
Telerik team
 answered on 06 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?