Telerik Forums
Test Studio Forum
1 answer
122 views
Assume I have 5 licences for Test Studio (100 users for each). I need execute tests for 500 users. Assumption is that I use the 5 machines (100 users on each). It can be done manually by execute test for 100 users on the each computer. But if I want manage test from one station, can I use the users from other licences, or I have to by additional VU for specific license? Additional I have to buy four Runtime licences if I want to execute test from one machine (on the other four machines, test will be called)?
Cody
Telerik team
 answered on 15 May 2014
5 answers
153 views
I have add CSV Data source and Bound it to the Test. But when I edit the user profile and select the HTTP Get request I don't see anything would allow me to change  the URL http://services2.somedomain.dev/crmwebservice/cities/1 to something like http://services2.somedomain.dev/crmwebservice/cities/$Data. The documentation covers 2012 versions. Also note I have the trial version and I hope you haven't crippled it.
 
Cody
Telerik team
 answered on 14 May 2014
1 answer
129 views

Hi
   I generated some script for our application where i selected some sub menus.but once playing it shows the following error that the item is hidden.


Failure Information:
~~~~~~~~~~~~~~~
Cannot perform an action on the item while hidden. Please make sure it is visible first!
InnerException:
System.InvalidOperationException: Cannot perform an action on the item while hidden. Please make sure it is visible first!
   at Telerik.WebAii.Controls.Html.RadMenuItem.Navigate(Boolean ensureShouldNavigate)
   at Telerik.WebAii.Design.Translators.Html.Menu.MenuItemActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

Is there any other  way we can record such  hidden item with  telerik

Thanks
Ivaylo
Telerik team
 answered on 14 May 2014
10 answers
440 views
Hi,

We're trying to share tests across a team and are finding that image verification is failing on some steps.

In some cases, we have to use image verification as we're testing a silverlight charting application with custom controls and cannot verify the data any other way. Any changes to the resolution of the browser window directly affects the display of these controls.

Thus, we need a way to set the browser window size/resolution consistently across our tests.

We could use ActiveBrowser.Window.Maximize();however, our screen sizes differ (laptops, 2nd monitors etc.).

What we need is something like ActiveBrowser.Window.SetResolution(1024,768), does something like that exist?

Thanks,
Paul.


Cody
Telerik team
 answered on 12 May 2014
3 answers
47 views
hello,

kindly advise what would be the best thing to do with this scenario:

if i do a single run of the script wherein i have to search and click on the result the outcome is a success but once i bind it to a data step #12 fails, heres the summary logdetails of the failure:

Unable to locate element. Details: Attempting to find [Html] element using
Find logic
 (Html): [tagname 'Exact' a] AND [TextContent 'Exact' P0000012319]

Unable to locate element. Search failed!

Cody
Telerik team
 answered on 12 May 2014
1 answer
75 views
running test lists have suddenly stopped working.
i get the attached error.

i made sure the scheduling server was connected and active. so not sure where to go form here.

also this in trace log:

05/07 14:10:21,Telerik.TestStudio.RemoteExecutor.exe(1444:9),Error] <>c__DisplayClass4.<RegisterResolver>b__1() : EXCEPTION! (see below)
     Situation: Exception trying to resolve dependency: Microsoft.TeamFoundation.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
     Outer Exception Type: System.IO.FileNotFoundException
     Message: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
     HRESULT: 0x80070002 (Official ID (if app.) = 2147942402, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_FILE_NOT_FOUND)
     Call Stack:
          at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
          at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
          at System.Reflection.Assembly.Load(String assemblyString)
          at ArtOfTest.Common.BaseDependencyLoader.<>c__DisplayClass4.<RegisterResolver>b__1(Object o, ResolveEventArgs e)
Ivaylo
Telerik team
 answered on 12 May 2014
4 answers
73 views
We have an app. that sometimes shows a pop-up message on startup (it gives some information to user only when needed)
I have created a test named "accept startup message if any" like the following:

IF (Wait for Exists 'RadMessageBoxWndRadMessagebox') THEN
   Click BtnOkRadbutton
ELSE


I have configured verification timeout to 2 seconds.
This test works perfectly when the message is shown and, when not too, as it only takes the 2 seconds to continue to next step.

I thought it would be nice to add this "accept startup message if any" test as the first step in other tests, in order to reuse it and avoid coding the "IF" every time before starting the test itself.

The problem is that if I use this test as a step in other test, it does not have the same behaviour. In this scenario, if the message appears, it works perfectly, but if the message box does not appear, the test does not follow next step until "CLIENT (FRAME/WINDOW) READY TIMEOUT" is reached (configured in Debugger options or in configuration file), which is a long time. I have tried to configure the test as step with the "WaitOnElementsTimeout" to 2 seconds also with no results.

Am I missing something or doing anything wrong?

Thank you in advance,

Best regards,

Joan
Joan
Top achievements
Rank 1
 answered on 12 May 2014
7 answers
1.6K+ views
How to Extract the InnerText content from the div tag and write it in an excel document?

I have a html response as given below,

<div class= "my class" id= "myid" style = "mystyle">
   Account has been successfully created. Your Account number is 12345


Now from the above div tag i want to extract innertext content "12345" and store it in an external excel file. Please guide me in this.
Boyan Boev
Telerik team
 answered on 12 May 2014
6 answers
92 views
Hi i am having some difficulties recording 4th window, i made those steps to search window by partial title and url, i don't think it is mater, when i come to 4th window it stops to record is it a limitation?
Konstantin Petkov
Telerik team
 answered on 10 May 2014
1 answer
80 views
I'm evaluating Test Studio as a potential automation and load tool as we build out our Quality Engineering team.  My first simple login test runs successfully on IE, Chrome, Safari and Firefox.  Although the test results state success in FireFox, in actuality it simply loads the login page, cycles through the actions without actually completing them, closes the window and prints the successful run log (see below, with sensitive data replaced).

I wrote the test with element validations as this was the best way to get it working in both IE, Chrome and Safari.  When run in debugger mode with annotations it appears that FireFox places the elements in a different location than the others.

Any help would be greatly appreciated.  We need these tests to run on all browsers if at all possible.

Overall Result: Pass
------------------------------------------------------------
'5/7/2014 11:31:11 AM' - Executing test: 'Keylight Login 2', path: 'Test Modules\Keylight Login 2.tstest.'
'5/7/2014 11:31:11 AM' - Using .Net Runtime version: '4.0.30319.18444' for test execution. Build version is '2014.1.410.0'.
'5/7/2014 11:31:11 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'5/7/2014 11:31:13 AM' - Using 'FireFox' version '28.0' as default browser. 
'5/7/2014 11:31:14 AM' - 'Pass' : 1. Navigate to : 'EXAMPLE URL'
'5/7/2014 11:31:15 AM' - 'Pass' : 2. Verify element 'BodyContentBodyContentUsernameWrapperSpan' 'is' visible.
'5/7/2014 11:31:15 AM' - 'Pass' : 3. Desktop command: LeftClick on BodyContentBodyContentUsernameText
'5/7/2014 11:31:19 AM' - 'Pass' : 4. RadInput('ctl00_ctl00_BodyContent_BodyContent_Username_wrapper'): value 'EXAMPLE USERNAME' entered.
'5/7/2014 11:31:20 AM' - 'Pass' : 5. Verify element 'BodyContentBodyContentPasswordPassword' 'is' visible.
'5/7/2014 11:31:21 AM' - 'Pass' : 6. Desktop command: LeftClick on BodyContentBodyContentPasswordPassword
'5/7/2014 11:31:22 AM' - 'Pass' : 7. RadInput('ctl00_ctl00_BodyContent_BodyContent_Password_wrapper'): value 'EXAMPLE PASSWORD' entered.
'5/7/2014 11:31:23 AM' - 'Pass' : 8. Verify element 'BodyContentBodyContentLoginButtonInputSubmit' 'is' visible.
'5/7/2014 11:31:24 AM' - 'Pass' : 9. Desktop command: LeftClick on BodyContentBodyContentLoginButtonInputSubmit
'5/7/2014 11:31:27 AM' - 'Pass' : 10. Wait for '3000' msec.
------------------------------------------------------------
'5/7/2014 11:31:27 AM' - Overall Result: Pass
'5/7/2014 11:31:27 AM' - Duration: [0 min: 13 sec: 830 msec]
------------------------------------------------------------
'5/7/2014 11:31:30 AM' - Test completed!



Boyan Boev
Telerik team
 answered on 08 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?