Telerik Forums
Test Studio Forum
1 answer
65 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
239 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
31 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
69 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
90 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
95 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
51 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
282 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
1 answer
58 views
Hi, 

I am unable to see coding for test steps which I created in recording. I am all the steps mentioned in test studio documents and I am doing

1) selecting test step and right click on step
2) selecting customize step in code

after finishing this action, usually it open code but now I am unable to see coding.

Please help me out.

Thanks,

Naren
Velin Koychev
Telerik team
 answered on 19 Mar 2014
2 answers
90 views
Hi, 

I am having some difficulty getting the load test to start. If I have a couple of tests (user profiles) and run the load test, it works fine. 
If I have multiple tests (user profiles) such as 4 or 5 and if I run the load test, the page goes to the analyze page but then nothing happens. 
After a few minutes, the stop sign fades and the test stops. 
I am not sure why this is happening. 

Any help would be greatly appreciated. 
Thanks.
Ahmad
Top achievements
Rank 1
 answered on 18 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?