Telerik Forums
Test Studio Forum
1 answer
73 views
I haven't been able to figure out how to move test cases to a new folder within the test tool.  Thus far I have been going to windows explorer, navigating to the file path, moving the test cases and then refreshing the tool.  Am I not able to simply drag and drop within the testing tool or perform some other method without having to got outside of the test tool to manage my test cases?


UPDATE:

Nevermind.  I can cut and paste the test cases.  I thought I tried this and it didn't work.  I tried it again and it did.
Konstantin Petkov
Telerik team
 answered on 09 Jun 2011
1 answer
68 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
184 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
228 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
223 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
95 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
67 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
105 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
155 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
121 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
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?