Telerik Forums
Test Studio Forum
1 answer
66 views
Hello All,

When i run the automation test case with VS2010, It threw the exception saying as below:

'6/8/2011 10:56:36 AM' - Starting execution....
'6/8/2011 10:56:36 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'6/8/2011 10:56:43 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/8/2011 10:56:43 AM' - System.Exception: Unexpected dialog: Set Up Windows Internet Explorer 8
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteSteps(AutomationStepList stepList, TestResult testResult, Object codeBehindInstance, Boolean& stopExecution)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTestIteration(Object codeBehindInstance)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   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)
------------------------------------------------------------
'6/8/2011 10:56:44 AM' - Test completed!



Could anyone help with this?


Best,
Cherry

Stoich
Telerik team
 answered on 09 Jun 2011
4 answers
179 views
I am currently trying evaluate Test Studio for my company. I am not able to record certain buttons such as login, checkout, continuecheck. Please advise. The website is www.mouser.com

Sung
Anthony
Telerik team
 answered on 09 Jun 2011
10 answers
224 views
We record tests using multiple environments.  Two URLs could be http://server1/app1/ and http://server2/app2/.  We set the BaseUrl in the project settings and this works really great for the navigation steps.  But, I am seeing lots of duplication in the Element Tree.  I set the page Compare Mode to RelativeOnly hoping this would ignore the BaseUrl, but it doesn't.  If I am recording against server1, the page logic uses a BaseUrl of http://server1 and a Path of /app1/etc.  I expect that it would use a BaseUrl of http://server1/app1 (matches the project settings) and a Path of /etc.  

This is causing a ton of duplication in the Element Tree. After the page is duplicated, each element on that page ends up getting duplicated.  Is there any way to avoid this?
Jeff
Top achievements
Rank 1
 answered on 09 Jun 2011
11 answers
218 views
Hi,

Getting the following error when running tests. Tried running them several times with the same result. Steps of the test is executed but all steps fail showing an exclamation mark.

From log:

--------------------------------------------------
'2010-05-18 22:14:01' - Error encountered during execution.
--------------------------------------------------
'2010-05-18 22:14:01' - Error inside the callback listener. Error: System.Runtime.Serialization.SerializationException: Det går inte att hitta sammansättningen System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.
   vid System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   vid System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   vid System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   vid System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   vid System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   vid System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   vid System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   vid System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   vid System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   vid ArtOfTest.WebAii.Messaging.Process.PipeCommand.FromBinary[T](Byte[] bytes)
   vid ArtOfTest.WebAii.Messaging.Process.PipeCommunication.ReadCommandFromPipe[T](PipeStream pipe)
   vid ArtOfTest.WebAii.Design.Execution.RunnerController.CallBackListener()
--------------------------------------------------
'2010-05-18 22:14:01' - Aborting....


Any ideas?

/Joakim
David
Top achievements
Rank 1
 answered on 09 Jun 2011
1 answer
90 views
case:
create test
set some step properties
From "Elements" panel open AllPages properties
after this - how can i see properties of any steps?

pls see attach
the same - if open "Local Data" - after this it imposible to view test steps
Anthony
Telerik team
 answered on 08 Jun 2011
2 answers
62 views
HI
In a telerik tree view control some data have been populated without any id or element name. Like one node is
<LI class=rtLI>
<DIV class=rtTop><SPAN class=rtSp></SPAN><SPAN class=rtUnchecked></SPAN><SPAN class=rtIn>VALUE</SPAN> </DIV>
</LI>
So when I m recording what I want to get this element by content name. So that I can later use Data feed like excel to get the node by content name,

Can u please help me how can i do this?

After recording it just recorded as "Click Span9" step and I don't get any other option to get the element as expected I think.
Thanx
Anthony
Telerik team
 answered on 08 Jun 2011
1 answer
103 views
Hi,

I am doing data driven test with csv file, after few iteration i want stop the exection of the test method.


Thanks
Hari
Anthony
Telerik team
 answered on 08 Jun 2011
14 answers
147 views
My test has a pdf pop up, the URL for the pop up changes once the pop up loads. The test executes a connect to pop up 'xxxxxurl' and the next step is close pop up 'yyyyyurl' but it fails on the connect step because once it loads the url is 'yyyyyurl' and not 'xxxxxurl'. I have changed the url from 'xxxxxurl' to 'yyyyyurl' for the connect step but this also fails because during load the url is 'xxxxxurl'. Is there any other way to connect to pdf pop ups and close them?
darren
Top achievements
Rank 1
 answered on 08 Jun 2011
1 answer
117 views
What I've encountered is that IE, FF and Chrome handlle our login dialog differently. I created a "Test as Step" for our login dialog.  The "Test as Step" consist of navigating to a URL and populating the username and password.  The internal component of our app only supports FF and Chrome, so when I create the internal scripts the test is created against the IE browser which behaves differently than FF and Chrome.

IE handles our login as a dialog, and after the values are successfully entered the WebUI continues through all the remaining steps successfully (of course, because this is the browser I created the test script against).

Firefox treats our login as a dialog.  When the WebUI script is executed and after the login values are successfully entered, the browser displays a prompt asking if the values should be remembered. The WebUI test script fails because it doesn't have this step.

Chrome on the other hand treats the login a a element layered on top of the browser default home page. When the WebUI script is executed against Chrome the WebUI never populates the username and password. So the test fails on the first step and all the failure says is "Step did not execute".  Not very informative.

Am I going to have to create Login "Test as Step" script for FF and a seperate one for Chrome?

Do I have the option to create my test script in Firefox or Chrome, and not Internet Explorer?
Anthony
Telerik team
 answered on 07 Jun 2011
2 answers
113 views
Hi,

I am currently evaluating the WebUI Test Tool and I have several questions:

My main need is to find a tool that easily allows me to execute my test suite against 8 browser/version combinations, specifically: IE 7, 8 & 9, FF 3.6 & 4, Safari 4.0 & 5.0 and the latest version of Chrome, without maintaining 8 different versions of scripts.  When I execute the test once, say in IE 7, I will need to execute the same steps in the next version, IE 8, but with different data values.

So for instance in my application I will execute the following steps:

IE 7

1. Create a new publisher: LVG Publishing House
2. Create a new publication: Sport's Illustrated
3. Create a new edition: Sport's Illustrated , July 2011

Once I create this publisher/publication/edition combinaiton, these values are stored in our database and cannot be reused.  If they are resused the script would fail encounter several validation errors.  I need to be able to run these same steps but with different values, say LVG Publishing House 02,  Is there a way to easily do this without creating 8 unique versions of basically the same steps.

Can I add parameters of some type that can incerment my data values for each execution?


Another obstacle that I am running into is that the automated test runs so fast that button clicks are not recoginzed because the button itself is not enabled when the click is performed.  I've increased my "WaitOnElementsTimeout" to 30000, but this still doesn't seem to help. If I institue a executioni pause, it works, but I cannot manually release the pause for each test.  Any suggestions.  UPDATE:  I've just discovered the execution delay.  I'm going to give that a try.
Anthony
Telerik team
 answered on 03 Jun 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?