Telerik Forums
Test Studio Forum
4 answers
103 views
Hi,

I have uploaded my web application on Two URL'S. I record the scripts on one URL the copy and past that same script in a new Test and change the URL from property window.

The Script that I recorded originally in running fine but the other one is giving errors of few steps.

Error -

Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: System.TimeoutException: Wait for condition

has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32

waitTimeout, String& stringError)


I tried lot of time but not able to do so. Please reply.

Regards,
NKG


Stoich
Telerik team
 answered on 28 Feb 2011
2 answers
173 views
Hello,
         Is there a way I can extract a value in a coded step from a data bound .csv in the QA Edition? Or do I need to perform this via an ODBC connection?

For example: The Test will run and state that for Iteration #1: CompanyName= Bob'sCompany . I would like to obtain the value "Bob'sCompany" from CompanyName.


Thanks
Nate
Top achievements
Rank 1
 answered on 24 Feb 2011
1 answer
104 views
1.What's different between QA and DEV edition?
2.Can i edit/perform the test project/scripts on QA edition which was created on DEV edition?
Daniel Levy
Telerik team
 answered on 24 Feb 2011
1 answer
74 views
I use visual style builder create my skin for RadGrid Control
Why my skin not work with page size.?
Iana Tsolova
Telerik team
 answered on 24 Feb 2011
2 answers
147 views
Hi,

I tried executing a test list using the command line with this command:

"C:\Program Files (x86)\Telerik\WebUI Test Studio 
2010.3\Bin\ArtOfTest.Runner.exe" "list=C:\WebUITest Studio 
Projects\FSoft.FSuite.Tests.TelerikAutomation\TestLists\Rgr_PATrade_IE.aiilist"

The line that shows after this command is:

ExecuteTestFromLisT: Executing test: 'Test1'

Test1 is the first test in the test list. What happens after this line is IE Browser is launched, and then no further action happens -  IE just stays in the "about:blank" address - it does not do the first step of Test1 which is navigate to URL. Am I missing something here?

Regards,
Kristine
Nate
Top achievements
Rank 1
 answered on 23 Feb 2011
2 answers
49 views
Hi

I hope you can help me with a following problem:

When I record a test and press a button(1) or enter the text into textbox(2) inside the silverlight application WebUI records the following
1. Click BtnNewItemButton1
2. Type 'SomeText' into TxtNameTextbox3

As you can see it records the names of the elements(controlls) that were randomly given to controls during build. So later, if for any reason new element of the same type is added to the application window(tab) the test fails or executes wrong, cause what used to be BtnNewItemButton1 is now BtnNewItemButton3 and therefore can't be found/detected.

I am wondering if there is a possibility to somehow make the names of the controls stable(we are using Telerik controls in development)
Or maybe there is a possibility to tie the test to some other anchors on the application page?

Thanks a lot in advance!
Helen
Cody
Telerik team
 answered on 23 Feb 2011
6 answers
142 views
i cannot record anything for Silverlght app.

I installed WebUI_TestStudio_QA_2010_3_1421_Trial.msi and try to record silverliht app. The record URL is http://www.silverlight.net/content/samples/sl3/toolkitcontrolsamples/run/default.html. but the system always popup the msg:Unable to connect to silverlight application. silverlight recording will not function.
My System is Win7 and .xap is added.
Would you help me?


Kate
Top achievements
Rank 1
 answered on 23 Feb 2011
2 answers
142 views
hi.

i have a test list that throws 7 compilation errors on execution
all have the same error code. CS0102

i have found 2 other posts that sugests that i need to delete the pages.cs and pages.g.cs file

this solution did not resolve the problem since WebUI recreates the pages.g.cs file everytime i restart the program.

is there any workarround to this issue ?

se attached image for the acual error popup.

/Ben
Benjamin
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
81 views
Hello,
          I'm trying to follow the steps outlined in the video here- http://tv.telerik.com/watch/automated-testing-tools/webui-test-studio-executing-webui-tests-with-mstest using my own test. I am using the WebUI QA Edition in conjunction with Visual Studio 2008 and when I attempt to run a project with an .aii extension with the following command "mstest /testcontainer:".\file name.aii"" (where "file name" is the name of the test I wish to execute) I receive the error: "File extension specified '.aii' is not a valid test extension."  Do I need to perform any extra steps not listed in that video to register the .aii file extension with the MSTest framework?
Cody
Telerik team
 answered on 22 Feb 2011
7 answers
327 views
Hi,

How can I insert a parameter into URL ?
here is a quick description what I want to do:
the request contains ReportID=1000 parameter in URL. This report can be deleted. I would like to do not specify a specific ReportID. Instead of this I would like to click on the first searched  report on the page. How can I insert a parameter into URL ? 


Thanks
Stoich
Telerik team
 answered on 22 Feb 2011
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?