Telerik Forums
Test Studio Forum
2 answers
123 views
Hi Telerik Team,

I am getting IE error while locating the element in DOM explorer. I have tried with IE7 and IE8 both.
I am using new version of Telerik Web UI QA Edition software i.e. WebUI Test Studio 2010.3.
I have attached the screenshot also.

looking for your reply as soon as possible.

Regards,
Anshul 


 
Anshul
Top achievements
Rank 1
 answered on 14 Dec 2010
7 answers
187 views

I was testing focusing on data binding and modularization.
 
I was running into one particular issue with regards to Telerik radcombo boxes specifically when the drop down has more than three columns within the radcombo box. Eg: Customer Name which is a radcombobox has four columns - Name, Address, City and Phone when we drop down our combo box. How would I data bind a radcombo box in this instance? There are two things I want to accomplish:
 
1)       One is to check if the data is loaded from the server eg: John Dugard is loaded in the list
2)       Selecting the appropriate customer in this case - John Dugard
 
When I recorded the above two steps specifically to John Dugard everything works well, when I data bind it to my spreadsheet the test is failing. The reason being - it is looking for the specific html element rather than the exact data value. How can I get around this? 

Stoich
Telerik team
 answered on 13 Dec 2010
1 answer
78 views

Hi!
I have a question.
Let's view http://www.artoftest.com/Samples/SampleApplication.html example.
I want to set some concrete date in calendar, e.g. 20th of December.
I created test in Recorder, and that's how click on date is recorded:

Pages.SampleApplication.SilverlightApp.Item24Calendardaybutton.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 10, 6,
ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Pixel, ((System.Windows.Forms.Keys)(0)));

But if I would play this test in another month, Item24Calendardaybutton will not be 20th of December anymore. How should I customize my code to select 20th number always?

Stoich
Telerik team
 answered on 13 Dec 2010
3 answers
130 views

In some of our tests after a series of actions,
we are losing the storyboards, we get the 'missing image'
url in the storyboards.

(We are unable to replicate this problem as to how we get this.)

We tried to leverage the 'Recapture Storyboard' button functionality to recapture the storyboards on our test. When
we run this even though the test runs successfully, I cannot see the storyboards of the application being re-recorded.

what am I missing here? Is this functionality (recpature storyboard) supposed to work the way it is spelled out?

Keaegan
Telerik team
 answered on 10 Dec 2010
1 answer
89 views
I'm trying to enter in some text in a RadTextbox field, do something and make a verification.  Then I want to enter a different value in the textbox, do something and then make some different verifications.  I can't figure out how to change the value in the textbox.  It keeps appending the new data to the old when I run the test.  It won't remove the old data first.  Can you give me a tip on how to do this?

Thanks. 
Keaegan
Telerik team
 answered on 10 Dec 2010
1 answer
113 views
Hi,

          I have used test as script method and inserted my script in that step. when i executed the step, it failed with error message 'Coded steps failed to compile'. Is there any video or guide available to check with this tool to start the scripting ?.

thanks,
Keaegan
Telerik team
 answered on 09 Dec 2010
2 answers
109 views
Hello,

I have a TestList that passes consistently when running thru the WebUI application, but fails when using my local PC as an execution server.  Five out of eight test failed.  The error on the failed test was similar to this:
 
'12/7/2010 5:04:42 PM' - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: That assembly does not allow partially trusted callers.
   at FT_ACache_Run_Me_First..ctor()
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
TestProject1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file://fl27fil03/groups/test/CSRNG Automated TestProject1/Results/Non SR Tests - 129362366518254813/bin/TestProject1.DLL
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, ExecutionType exeType, Int32 lastStepIndex, DebuggerOptions debuggerOptions)
------------------------------------------------------------
'12/7/2010 5:04:42 PM' - Test completed!

In the attachment, you can see the TestList failed twice at 4:49pm and 5:04pm.  These were scheduled test runs.  I ran the test list manually at 4:52 to verify it would work.  It passed.

Any help you can provide is appreciated.
thanks,
maria.
Stoich
Telerik team
 answered on 09 Dec 2010
1 answer
154 views
I created the tests in visual studio and set the base url there.  However, when I run the test from the command line, I get an error about the url.  Is there anyway to use the base url function when running the tests from the command line?
Keaegan
Telerik team
 answered on 08 Dec 2010
1 answer
131 views
We have listview with edit, delete button.
I record and generate steps to add an element in the listview, then delete the element.

The problem is the delete link button is selected by the location in listview, not related to the content that I added.

followling is the Find Expression:
id=ctl00_ctlLeftMenu1_lvLeftMenu_ctrl0_rptMenuItem_ctl02_lbMenuItem,tagname=a

How can I change the Find Expression to make sure the element to delete is the element that just been added?

Thanks,
Yulan
Stoich
Telerik team
 answered on 07 Dec 2010
5 answers
173 views
Hi Telerik Team,

I am Evaluating the tool for Automation testing. Its a great tool with tiny vital features.
I am getting the following Error while opening a popup. popup is taking more time to load page elements,  Becuase tool is not able to find the element in pre-defined time, it closes the window and throwing the following error. 

Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[CreateCodeTest_CodedStep] : Connect to pop-up window : 'http://rsqaapp/AutomationTesting/Entity/EntityEditor.aspx', ConnectToPopup=True'.
InnerException:
System.OperationCanceledException: Exception occured waiting for the new browser to connect. ---> 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.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout)
   at Example1.CreateCodeTest.CreateCodeTest_CodedStep() in f:\Anshul\WebUI Test Studio Projects\Example1\CreateCodeTest.aii.cs:line 77
--------------------------------------------------
'11/29/2010 5:37:45 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
--------------------------------------------------
'11/29/2010 5:37:45 PM' - Overall Result: Fail
--------------------------------------------------

Thanks and Regards,
Anshul
Keaegan
Telerik team
 answered on 02 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?