Telerik Forums
Test Studio Forum
4 answers
66 views
I am using the latest internal build do to the issue with edits to elements or test cases not propagating in Test Lists.  A new issue has crept up for us when working with frames. 
In order for our tests to run in our various environments and to get around framebox IDs we edit the properties of the framebox.  We typically remove the frame name and add a "~" to the href as our base URL changes slightly depending on which environment (DEV,QA,Stage,Prod).  This works great we can run it in all environments as well as across our different clients personalized URLs without having to keep a bunch of one off test cases.  

The issue I am experiencing is when I make these edits to the properties they do not stick even if I save the project before I try to run it again.  I have found that I can make my changes and then save it but I have to refresh the entire element library in order for my edits to take hold.  We have a large element library so it takes time to refresh before we can confirm if the modification to the test worked.  This adds to much overhead having to refresh and wait and hope it works so we dont have to try again.    There are also times when doing these edits crashes the entire Studio and we have to restart which is very frustration for anyone.

Has anyone experianced this?  Is there a workaround that is possible? 
LEONARD
Top achievements
Rank 1
 answered on 27 Mar 2014
8 answers
102 views
Hi all,

We have a web application that uses Frames and uses a Flash map for navigating around different regions which I wish to setup for testing. The region links are controlled via an XML file stored on the server.

I understand Test Studio does not fully support Flash objects and the best way around this is the blind clicking method. I have tried this however, and unless i'm doing something wrong, it doesn't work.

I've tried to put the link from the XML directly into the test step but because of the way the application works, the header is not loaded, only the body of the page.

Is there any way around this? 


Velin Koychev
Telerik team
 answered on 25 Mar 2014
1 answer
42 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
89 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
86 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
299 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
59 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
90 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
111 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
118 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
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?