Telerik Forums
Test Studio Forum
1 answer
156 views
Hi

I have a test I made on my local machine and trying to run it on a different one.
On the first step - launch IE I get the error below.

I installed ArtOfTest framework
And made all IE updates here.

Any advise?

Thanks

LaunchBrowser


System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 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)

   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)

   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)

   at TestAgencySuiteUI.UiElementWrapper.LaunchBrowser(String url)

   at TestAgencySuiteUI.Actions.LaunchBrowser(String url)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

   at fitlibrary.Method.Invoke(Object[] theParameters)

   at fitlibrary.Method.Invoke(Fixture theFixture, IEnumerable theCells)

   at fitlibrary.FlowFixtureBase.ExecuteMethod(Method theMethod, CellRange theCells)

   at fitlibrary.FlowFixtureBase.ProcessFlowRow(Parse theCurrentRow)

Plamen
Telerik team
 answered on 23 Aug 2011
2 answers
59 views
The FileUpload dialog in firefox is returning a failed step, although the dialog is being handled properly (filename being entered and the proper close method). This has only been an issue in Firefox; IE8 does not experience the same problem on my Windows 7 system. Version is 2011.1.729.0.

Thanks
Matthew
Top achievements
Rank 1
 answered on 22 Aug 2011
0 answers
96 views
cancelling THIS POST...

AS PROBLEM GOT RESOLVED...
wish
Top achievements
Rank 1
 asked on 22 Aug 2011
5 answers
149 views
I am trying to write a test which can scale according to the data file being bound to it (using dynamic data binding). I need to use code to access the column names to prevent throwing exceptions. Does this.Data have properties where I can get the length of the array(DataTable) and the ColumnNames?

If I try to use a DataTable object, I get this error

The type 'System.Xml.Serialization.IXmlSerializable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

despite having the "using System.Xml;" statement appearing in the class header.

Matthew
Top achievements
Rank 1
 answered on 22 Aug 2011
1 answer
119 views

I tried to add a new Webaii test; it seems not to be available. 

Thanks,

John

Plamen
Telerik team
 answered on 19 Aug 2011
1 answer
87 views
Hi,

I have a problm. pls help me here.

Ex: I created a test project with test cases in it.

I need to run these test cases on multiple machines hosted appliation (same app but on different machines) automatically.

if i set manual input option from users, it is asking url of machine for every test case execution and hence from 3 machines * 5 test cases = 15 times i should give url

if i go with data driven option like adding urls to excel file and binding them, every test case running on machine1,then machine2, and then machine3 and then next test cases starting machine1.

but i need requirement like should go with one url and execute all and then go to other url abd execute all...like this i need it..

can you help me right procedure ?

Thanks
Hari Wish
Anthony
Telerik team
 answered on 18 Aug 2011
3 answers
134 views
Hello sir,

myself working as testing engineer in an organisation. I would like to know how we can perform browser compaibilty check on any application?

Cody
Telerik team
 answered on 18 Aug 2011
7 answers
158 views
Hi,

Is there a way to verify a whole sentence in a text box, text area? On our recording, what happens is that when we verify the sentence it recognizes only each of the text as a text block control. Also that sentence can be a hyperlink and we hope to verify if its a hyperlink

Thanks.
Cody
Telerik team
 answered on 18 Aug 2011
1 answer
192 views
Hi,

I can't seem to get the correct url of the hyperlink button control of silverlight. I always get an error when I entered the correct link on the Verification "Verify URL" and click the validate rule.

The controls used are hyperlink button and textblock.

Thanks.
Stoich
Telerik team
 answered on 18 Aug 2011
3 answers
100 views
I had reported the same problem with different points previously, but enough is different now to warrant a new thread, I think.

I successfully recorded and replayed a test in IE8. I have reviewed the setup information for Safari, I am using Safari 5.1, and all is as the sheets say preferences should be. However, when I hit execute with Safari selected, up pops the browser but with an incorrect address in the address window. It has http://localhost:59057/WebUI?2091990182.  The first step in the test is "Navigate to: 'http://localhost:4874/index.html".  In the main window it says "Preparing browser for automation..."

If I manually replace the wrong address with the right address, the browser goes to the app but never executes the remaining steps. If I log in to the correct address manually with the browser without TS it launches the app just fine.

I increased the WaitOnElementsTimeout to 100000 to no avail.

Here is the log output:
------------------------------------------------------------
'8/16/2011 1:17:53 PM' - Starting execution....
'8/16/2011 1:17:53 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'8/16/2011 1:18:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - 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)
   at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'8/16/2011 1:18:54 PM' - Test completed!




Lee
Plamen
Telerik team
 answered on 18 Aug 2011
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?