Telerik Forums
Test Studio Forum
1 answer
118 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
159 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
136 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
181 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
160 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
213 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
1 answer
93 views
Hi
I have a radpanel bar which I populate with question descriptions using a session object according to a cover type selected "e.g. Motor".

When the page first loads the radpanlebar populates correctly and I can work with no problems.

There after if  I change the cover type say to "Commercial"
It won't bind to the new session object it reverts back to the last lot of descriptions.

I have checked that the session has the new values required so that doesn’t seem to be the root of the problem.
I have tried binding in the page_init that also doesn’t work.

I checked the RadPanelProposal_ItemDataBound and the XmlElement for the data item doesn’t change according to the session object.
Any advice would be appreciated.

The session gets set as follows:
xmlDS.Data = "<Tasks>" & XmlString & "</Tasks>"
xmlDS.XPath = "/Tasks/Task"
xmlDS.ID = "QuestionsXml"
Session(QuoteQuestionGroups) = xmlDS





James Hutley
Top achievements
Rank 1
 answered on 02 Dec 2010
4 answers
195 views
Hi,

Is there a simple, straightforward way of scheduling a test list to run at a specified time? The instructions in the blogs and Telerik TV are bit complicated (for me). I just need to run the test list in the same machine as where the Telerik WebUI Test Studio QA Edition is installed.

Regards,
Kristine
Stoich
Telerik team
 answered on 02 Dec 2010
1 answer
101 views
Hi,

           Browser is closed automatically at the time of recording the test. It is happenning continously when more Verifcations are used.
Then i want to again continue the recording for the test, its really wastes time and effort.

Ex: In my test i have created a reservation. For that i have used verification in popup window for more fields..at that time is is closed suddenly.

what is the way to resolve the problem ?.

thanks,
Keaegan
Telerik team
 answered on 02 Dec 2010
3 answers
126 views
Hi,

            I have recorded a test with the following steps in the Telerik Web UI tool but its failed in deletion step.

1.created a reservation for an user.
2.Saved the reservation
3.Delete the reservation.
4.Execute the test, it is successfully run without error on the created day.
  While executing the test on the next day, it is failed with the 'Unable to locate the element' error in log in Deletion step.
When delete button is clicked in Calendar timeslot, it generates the step with an no(automatically generated by recorder)..this getting is changed automatically on next day.

So i rerecord the deletion step again , then it works fine. Its hectic for me to do this daily.

Please give me a solution for this.

thanks,

Keaegan
Telerik team
 answered on 02 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?