Telerik Forums
Test Studio Forum
1 answer
37 views
Hi All,

I have a requirement to shown a html page in RadWindow in Silverlight application. it totally silverlight based.
i have used RadHtmlPlaceHolder and it working fine. but the i am facing an major problem with this,

1. If any silverlight notification or exception occurred, it is showing behind the RadHtmlPlaceHolder,(Please refer the Attached screen shot) 
2. When we move the window, the content of RadHtmlPlaceHolder will hide till we leave the window.

could anyone help me to short-out these problems.


Thanks in Advance..
Bhopal Saini
Ivaylo
Telerik team
 answered on 25 Mar 2014
1 answer
81 views
Hi, I am new to test studio,I am having a scenario where the child test  script should be able to access the data bounded to the parent test script  along with data bounded to the child test , so for the child script I had enabled the 'inheritparentdatasource' option , but when I am running the child script as a test step from the parent test script , I am getting the error ( Ex : If I am using the field  name 'col1' in the csv bounded to the child test script , then test is getting failed with the following error 'col1' does not exist ), when I am running it individually it's getting passed .Does test studio supports the scenario mention above .If not is there any work around for that . Thanks in advance .
Cody
Telerik team
 answered on 25 Mar 2014
1 answer
80 views
I have recently set up load tests to run on a remote environment. It worked fine for a time, and then suddenly stopped working for no reason discernible to me. My set up is this - Scheduling server on Box A, execution server on Box A, an execution server on Box B. The problem here is that when I attempt to run the load test, I get impossible values (0 to ~100 ms for 200 virtual users for traffic that I know take 500ms or more for one user from my experience). I tried to submit a support ticket, but all I got was a Server 404 error, both through the Test Studio application and the website. Have I set this up correctly? It worked for a time with this setup, then just stopped. I can see the server where I want to run the test as "alive," but when I execute the test remotely, I get bad data back.

Thanks in advance
Cody
Telerik team
 answered on 24 Mar 2014
1 answer
277 views
Hi,

I am having trouble getting a test to run where it is unable to locate an element and i have exhausted all options to get this to work, the error is as follows:

​Unable to locate element. Details: Attempting to find [Silverlight] element using
Find logic
 (Html): [id 'Exact' xamlobject] AND [tagname 'Exact' object]
 (Silverlight): [name 'Exact' 10494f45-a2f2-4ffd-b565-d2f5f30172da] AND [XamlTag 'Exact' customlayoutcontrol][XamlPath 'Exact' /layoutgroup[1]/layoutgroup[0]/layoutitem[1]/layoutitempanel[0]/dxcontentpresenter[0]/contentpresenter[0]/hyperlinkedit[0]/grid[0]/textedit[automationid=EditHyperLink]/contentcontrol[name=PART_Root]/grid[0]/contentpresenter[0]/grid[0]/editorcontrol[name=PART_Content]/sltextbox[automationid=PART_Editor]/border[0]/scrollviewer[automationid=ContentElement]/grid[name=Grid]/scrollcontentpresenter[name=ScrollContentPresenter]/textboxview[0]]Unable to locate element. Search failed!Learn more about finding elements here:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/test-execution-problems/unable-to-locate-element.aspx

I know there are several other threads for similar things and i have followed all the advice i found both in these threads and on the trouble shooting guide and none of them appear to be working in this instance. I have tried adding various waits and execution delays and have extended the silverlight timeout. I do also have enable silverlight turned on in the test properties.

I am using version 2013.2.1327.0

Hope you can help!

Chloe Beavis
Velin Koychev
Telerik team
 answered on 24 Mar 2014
5 answers
50 views
Hi all,

The attached test runs fine in Google Chrome but fails in IE9. I've also tried running it in Firefox but it runs fine under that.

Does anything need to added to the test to make it see the frames in the page?

Frames are pretty tricky and i'm having trouble making IE see the frames in my application. For example if I try recording a new test in IE and click on the page, the click event will be associated with the frame element and not the element with in the frame.

Also, the highlighting feature will not outline elements in IE but it works fine in Google Chrome.

I believe my installation of IE is correctly configured. I am using IE9 64bit if that helps.

Thanks in advance.
Cody
Telerik team
 answered on 21 Mar 2014
1 answer
83 views
I ran the testlist base on those code
---------------------------------------------
//Verify Edit screen is not Applied with Customisation
 obr.objControls.FrameMain.WaitForElement(Common.MaxTimeout, "id=btnEdit");
 obr.objControls.FrameMain.Find.ById<HtmlInputSubmit>("btnEdit").Click();
 CommonFunction.RefreshFrame(obr.frameMainInfo);
 obr.objControls.FrameMain.WaitForElement(Common.MaxTimeout, "id=mplblTableKeyLabel");
 bool checkEditScreen = obr.objControls.FrameMain.Find.ById<HtmlSpan>("mplblTableKeyLabel").InnerText == "Key";
 Assert.IsTrue(checkEditScreen, checkEditScreen ? "" : "The customisation of 'Key' was applied to Edit screen");
--------------------------------------------------
            And the failure info in log file is
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[Step3] : Verify lookup table label 'key' can now be renamed via Terminology Manager and the customisation is applied throughout the system'.
InnerException:
ArtOfTest.Common.Exceptions.AssertException: The customisation of 'Key' was applied to Edit screen - [Expected:True],[Actual:False]
            When  I get the Excel Result  the Failure info is
"Exception thrown executing coded step: '[Step3] : Verify lookup table
label 'key' can now be renamed via Terminology Manager and the
customisation is applied throughout the system'. "

           And i want to get the exception info "The customisation of 'Key' was applied to Edit screen - [Expected:True],[Actual:False]" to the Excel report . Can you give me a way to do it. Thank you.

Boyan Boev
Telerik team
 answered on 21 Mar 2014
5 answers
101 views
HI there,
I use Telerik in web automation testing. In the newest version of web service, some frame's name was changed and I couldn't use all element in those frames. I tried to change the BaseUrl of Frame but when I closed Project and opened again, the frame was roll backed to original. Please take a look in my attachment:
Frame Main in MainpacEAM : http://localhost/Mainpac2011/DashboardTransfer.aspx. I need to change it to :http://localhost/Mainpac2011/Dashboard.aspx.
Please give me some advise. Thank,
Boyan Boev
Telerik team
 answered on 21 Mar 2014
12 answers
103 views
Hi all,
New release of telerik test studio seems to be make some issues. We are using Test studio Ultimate to automate our silverlight application. There we face data loosing issue in our recorded tests . When we open automated test project we saw that recorded test steps are missing in some automated test. However codes in code behind file is there. It happens to us twice for this week. It seems to be a bug in new release.

Best Regards,
Suranga Bandara
Boyan Boev
Telerik team
 answered on 20 Mar 2014
3 answers
67 views
Hi 

We have license for QTP11.5(UFT) but in our application we have silverlight and telerik .

Need to do some automation for telerik controls seperatly since Silverlight objects are fine with qtp.
Can we script the telerik part in Test Studio and use the script in QTP ?
Konstantin Petkov
Telerik team
 answered on 19 Mar 2014
1 answer
360 views
I have a dropdown in my webapp with a number items listed.

<ul id="ShowOptions" > 
  <li id="ShowOption1">Item1</li>
  <li id="ShowOption2">Item2</li>
  <li id="ShowOption3">Item3</li>
  <li id="ShowOption4">Item4</li>
</ul>

I want to iterate through each of the items, select one and then press a button on my page after each selection.

The code I have so far grabs each element in the list but i'm not sure where to go from there.

HtmlUnorderedList showoptions = ActiveBrowser.Find.ById<HtmlUnorderedList>("Show Options"); 

foreach(HtmlListItem item in showoptions.AllItems)
{    
        //Do stuff
}

Boyan Boev
Telerik team
 answered on 19 Mar 2014
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?