Telerik Forums
Test Studio Forum
4 answers
322 views
I'm getting the following build error whenever I try to build my project  

"Error 1 The item "Pages.g.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.CSharp.targets 160 9

Everything I've read online indicates that there is a second reference to Pages.g.cs in the .csproj file or a duplicate .resx file is in the project. I've checked both numerous times and have been unable to resolve the issue.... HELP!

I can see that pages.g.cs is listed twice in the build log, but I'm completely at a loss as to why.
Alex
Top achievements
Rank 1
 answered on 23 Aug 2011
1 answer
158 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
60 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
98 views
cancelling THIS POST...

AS PROBLEM GOT RESOLVED...
wish
Top achievements
Rank 1
 asked on 22 Aug 2011
5 answers
152 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
122 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
95 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
137 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
163 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
196 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?