Telerik Forums
Test Studio Forum
1 answer
100 views
I am reverse engineering an app put together with Telerik controls...

I am not sure which ones were used...

Ultimately, the app creates a FTP account & user. Then it emails the user notifying them that the account is available and  sends them the password and username...

We need to change the email, but we cannot find it anywhere in the code. Typically this sort of thing is relatively easy, but this has  bedeviled me...

I will monitor this thread and I will provide whatever information you guys need from me as soon as I see your post.

Cody
Telerik team
 answered on 18 Nov 2011
3 answers
159 views
Hi Telerik team.

I have 2 questions.

1. How can I remove/organize the added elements that were made as a coded step? I'm not sure how can I monitor the elements that are being used by a coded step? Then clean/remove all the elements that are not being used

2. Also why does my test fail when I run it again while verifying the text in the hyperlink? It passes first then fails if you run it again. There is a error that says "The object can't be found."

Thanks
Anthony
Telerik team
 answered on 18 Nov 2011
1 answer
161 views
I have installed visual studio 2010 after installing Teleric due to which the teleric templates are not displayed in VS. How can i install the templates separatly in Visual Studio.
Plamen
Telerik team
 answered on 18 Nov 2011
1 answer
113 views
Hi,
I need help.
I want record a RadTreeItem selection  but the location of element isn't constant. Can be row 0, 1.....
I tried to change criteria find element  but I only found next option: XamlTag, TagIndex and Uid.
Thanks
Stoich
Telerik team
 answered on 18 Nov 2011
2 answers
145 views
I am facing a situation related to data binding. Here are the steps I am following:
1. During my recording I am keying in some value in a search text box.
2. Based on these values some search results are returned by the application (database).
3. I click on one of the search results and follow the rest of the process and stop recording.
4. Now, I data bind my 1st step (the 'search text box' step.).

But when I execute the recording it fails as Test Studio (TS) searches for exactly those words that I clicked on in the 3rd step when I was recording the test case. For example, if my search returned "SYSTEM" during the recording process and I clicked on it, TS looks for "SYSTEM". But if I data bind the search step then the search results are different and TS doesn't find the word "SYSTEM" and the execution results in a failure.

Please suggest something...

Thanks!!!
Kumar  
Vaibhav
Top achievements
Rank 1
 answered on 18 Nov 2011
3 answers
171 views
Hello Telerik Team,

I am facing problem with the recording. When i record any step on  base setup(Url) of our product it ran successfully but when i ran the same step(Script) on our client setup(Url) it fails and give error:"Unable to locate the target host. After  re-recording  the same step on client setup it creates the new frame for that step and ran successfully. Why this happens? I want to make my script generic so that it can be executed on client steup also.Please provide help. Also tell the reason why it create the New frame in Element Explorer, I am recording the Same step just changing the Navigation URL from base to client. 

Failure Information:

~~~~~~~~~~~~~~~

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)

InnerException:

System.Exception: 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)

   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(Browser browser, AutomationDescriptor descriptor)

   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep() .

Anthony
Telerik team
 answered on 17 Nov 2011
3 answers
119 views
Hello,
I scheduled a test recently which consists of a simple login test for an application with a 14 minute wait after the test is completed. I then add this test to multiple additional tests as a "test as step".  This allows me to repeatedly loop through my login test so I can have it run approximately every 15 minutes for serveral hours on a single schedule.  Works great except that my test hung recently.  On hitting a linkbutton a javascript confirm box is displayed.  Unfortunately the confirm box was made unavailable as it was removed from the foreground by an errant click.  This hung the test which did send out a failure message via script I have in the OnAfterTestCompleted event.  However the test never seems to have really ended causing multiple scheduled tests to back up and not be executed.  What I am wondering is when a test hangs like this how can I detect it, close the browser window and allow subsequent tests to execute?  Please let me know if you would like more information or clarifications.

Thanks in advance,
Nick
Stoich
Telerik team
 answered on 17 Nov 2011
1 answer
121 views
While Im trying to connet to Oracle , it is throwing below error.
Missing close tag in element global::Telerik.UserSettings.Data.UserSetting.
I installed Oracle Studio first and then  Telerik Controls. I cant find any fix in online either. Need help

Thanks,
Naresh
Anthony
Telerik team
 answered on 16 Nov 2011
1 answer
68 views
When using SilverLightMenu.Library ( an opensource  menu control for Silverlight) , the recording of  a left-click on the menu appears to work.
However , on playback the menu item (which is actually a rectangle ) can not be found to be left-clicked in the test .
If however I hover over the menuitem while playback is running,the item is found and the left-click occurs.
 
[CodedStep(@"LeftClick on Item1Rectangle", RequiresSilverlight = true)]
        public void WebTest1_CodedStep2()
        {
          // LeftClick on Item1Rectangle
            Pages.SilverlightApplication.SilverlightApp.Item1Rectangle.User.Click(ArtOfTest.WebAii.Core.MouseClickType.LeftClick, 32, 50, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage, ((System.Windows.Forms.Keys)(0)));


        }

 Any idea? Thanks


Anthony
Telerik team
 answered on 16 Nov 2011
4 answers
77 views

I have Tried a  test to verify the values loaded in the dropdown from the site "http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/cascadingdropdown/cascadingdropdown.aspx"
When I execute the recorded script throws error at step 4 where it doesn’t throws error at step 2 (Step 2 and Step 4 are similar).

The issue happens only in IE9 but it works fine when we switch to compatibility mode.
Attached the sample project.

Anthony
Telerik team
 answered on 16 Nov 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?