Telerik Forums
Test Studio Forum
2 answers
154 views
Hi,

A client of mine has an application that uses the Telerik WinForms controls and has asked for help with test automation.  They have HP UFT (QTP) and ALM (QC).  All the controls show up as "WinObject" so a little digging turned up the fact that they don't work with Telerik controls and recommend writing an extension.  I told them it was probably best to use the Telerik Test Studio instead of UFT, only to discover that neither the Telerik Testing Framework nor the Test Studio works with the Telerik WinForms controls!  

First of all, I would really like to know from someone at Telerik why this is so, and also if another tool can be recommended.  I did investigate Test Complete and found out that it is "almost" acceptable - support for the grid view is good, but the list box control does not even expose the objects in the list - only clicks using X Y coordinates.  

Any advice or pointers would be most welcome!

Thanks!
Randy
Top achievements
Rank 1
 answered on 04 Dec 2013
12 answers
211 views
Hi,
I was wondering if there exists a possibility to create load-tests using WebUI test studio?
I mean launching n-number of instances at the same time to create reality-like load for the web application/server?

Thanks in advance,
Helen
Cody
Telerik team
 answered on 04 Dec 2013
1 answer
72 views
Hello, I am having an issue where the merge tool does not return any code, it is blank.  Not sure if it is my configuration or an issue. 

Repro:

App set up connected to TFS for repository and source control

1. User One checks out a test
2. User Two opens same test, makes a change and checks back in
3. User One checks in (Recieves message that file has been updated)
4. User One get latest (Merge tool opens)

** Merge tool opens, shows line numbers, but lines are blank (See attached pic)

 Thank you for your assistance.
Cody
Telerik team
 answered on 03 Dec 2013
2 answers
109 views
Hi Telerik Team,

We have been evalauating the Telerik Test Studio. So far the testing is going fine. I find the tool user friendly . I have had some some support from the Telerik Team as well ,so thank you for that.

I have two questions regarding Telerik Test Studio.

(1) Can scripts written in QTP be imported in Tekerik Test Studio ?
(2) If the above can be done. Would major modifications be required in the script in order to run it? I have used input data from the DataTable of QTP. I have used connection to DB and getting data from there and using in my QTP script. Used some VB Scripting, functions. What will happen to all this? How would I be able to import it here and make sure it works?

Currently we are using QTP and we are in the process of making a deision to switch to another tool (Preferably Telerik Test Studio). Management has asked me to confirm if I will be able to import the QTP scripts to Telerik Test Studio and run them. Please help!

Regards,

Vaishali
Vaishali
Top achievements
Rank 1
 answered on 03 Dec 2013
1 answer
131 views

I am running a trial version of test studio (2013.1.911.0) to evaluate whether it will suit the needs of the business where I am currently on placement. I have encountered an issue however, that is preventing me from really getting stuck into testing. The website I am testing uses RadWindows that are displayed within the current browser window, I have been unable to successfully record actions against elements contained within the Radwindows. This is very unfortunate as recording steps against these RadWindows will be crucial to navigating and testing our test site.

When I playback the test, every action on the main page is played back perfectly but all actions within the RadWindow are lost.

Recording in Chrome, Firefox & Safari (All newest versions) allows me to capture actions performed on elements within a RadWindow. Playback is then possible in Chrome & Firefox. IE 11 & Safari are unable to replay any RadWindow Actions.

I have found a way to record and playback actions using IE 11, it requires using emulation provided in the developer tools feature. I need to set the Document Mode Emulation to emulate IE 8 which grants the ability to record and playback actions performed within RadWindows.

Does test studio only fully support Internet Explorer up to version 8? This would be an issue with my company as their product needs to be compatible up to at least IE10.

The issue I am having can be shown on a Telerik RadWindow demo page:

http://demos.telerik.com/aspnet-ajax/window/examples/overview/defaultcs.aspx

I have submitted screen shots of recording three actions on this page running IE11 in default setting and also in emulated IE8 document mode.

Step 1: Visiting the page

Step 2: Clicking a link within the RadWindow

Step 3: Clicking a second link within the RadWindow

I would like to note that I have used the browser configuration tool within Test Studio for all browsers and also followed any additional configuration guides online (disabling add-ons, http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx, etc...).

Could someone please provide me with a solution to record/playback actions on elements within a RadWindow for IE11 (or at least IE10) and Safari (5.1.7).

I greatly appreciate any assistance that can be provided!

Ivaylo
Telerik team
 answered on 03 Dec 2013
7 answers
321 views
Hello,

While evaluating the latest available release of Test Studio (2012.2.1420.0) for possible upgrade from our current version (2012.1.411.0),  I noticed that the behavior of Type command (typing text into an input field) has changed in the scenario where the Type command is replacing existing text in the field.  Both versions clear out the field before typing into it (without needing explicit commands to do this) - however, the clearing mechanism seems to be different between the two versions.  Our current version instantaneously blanks out the field while the new version goes to the end of the string and backspaces all the way up to the start. 

Note, all the above is with SimulateRealUser set to true - which we want to keep for typing in the new value.

The new behavior will greatly increase running time of many of our tests - especially those that do heavy text input and/or if the previous strings are really long (think of a test which is testing error handling - one of which is max length of string which can be as high as 255 characters). 

I know of a few solutions to this issue - but none of them are ideal for us:
a) Record a step to type in blank string (or select and clear the string) before typing in the next value.  This is not ideal as it will require massive changes (we use Type a lot in our tests). 
b) Go to coded step and clear the field before typing into it.  This is not ideal for the same reason as above and also we will end up with a LOT of coded steps (something we are trying to limit).
c) Turn off SimulateRealUser.  Not ideal as we want to simulate real user for typing in the new value.  Reasons for the other two options also apply to this option.

I am assuming this is by design.  If so, I was wondering if there was any other way to restore the old behavior without modifying a lot of tests.  Please let me know if this is a bug that has been/is being addressed.

Thanks,
Shashi 
Boyan Boev
Telerik team
 answered on 03 Dec 2013
7 answers
330 views
Hello,

I m having the following issue:
(1) I cannot playback the step of clicking on a calendar icon. I went to view source and checked the name and id of the calendar. The name and id of calendar are changing everytime. If at all I am able to click the calendar I cannot playback the step of selecting a different year.

Can I somehow set the date without actually clicking on the calendar and selecting a date? The text field beside the calendar is read only.

I m new to Telerik. Please help.


P.S. Please see below the error that I get.

Failure Information: ~~~~~~~~~~~~~~~Unable to locate element. Details: Attempting to find [Html] element using Find logic (Html): [id 'Exact' image289] AND [tagname 'Exact' img]Unable to locate element. Search failed!Element was found by backup search only! We recommend editing the element to correct the primary find expression. Backup search: 'xpath=/html[1]/body[1]/form[1]/table[1]/tbody[1]/tr[1]/td[1]/div[2]/table[1]/tbody[1]/tr[43]/td[2]/p[1]/a[1]/img[1]'



Thank You,

Vaishali

Vaishali
Top achievements
Rank 1
 answered on 02 Dec 2013
1 answer
251 views
Hi,

I am facing an issue with a generic dialog, not able to do actions on it from my code, please find my code below, this is unit test code generated using Test Studio. When I run the recorded test (*.tstest) from VS plugin, the original source from which I generated the code it works. Also attaching the screenshot of the dialog.

GenericDialog RowDelete = new GenericDialog(ActiveApplication, "Delete", true, "");

RowDelete.ButtonText =

"Cancel";

Manager.Current.DialogMonitor.AddDialog(RowDelete);

Console.WriteLine("Delete dialog text : " + RowDelete.ButtonText);

RowDelete.WaitUntilHandled(5000);

 

/*****************************************/
I am getting following error,
/*****************************************/

System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1'
Result StackTrace: 
at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
   at

 

Kindly help me, thanks in advance.

Regards
Chery Jose

 

Velin Koychev
Telerik team
 answered on 02 Dec 2013
3 answers
100 views
Hi 
I need to extract the content of textcontrol and other control from code behind and store it for later use for comparing in subsequent test cases.
  
I searched all around but didn't get any solution.
  
for the time being I am using following code to extract the content.
  
txtNewcontent = Pages.WebApp.SilverlightApp.TxtCustomtextbox.Text
  
Similarly I am storing all controls data for comparision.
Let me know if there is any better way to do it.
Boyan Boev
Telerik team
 answered on 02 Dec 2013
1 answer
200 views
When I try to set text to field, Test Studio returns error: Unable to determine the type of 'maskedinputtextbox' element.
I'm using Infragistic XamDateTimeInput control on my silverlight app. This control contains masked input textbox and toogle button to expand calendar.
How can I resolve this problem?

'Fail' : 23. Set text contents of PARTInputTextBoxMaskedinputtextbox to '2013-12-03'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to determine the type of 'maskedinputtextbox' element. Check the log for details.
InnerException:
System.ArgumentException: Unable to determine the type of 'maskedinputtextbox' element. Check the log for details.
   w ArtOfTest.WebAii.Silverlight.FrameworkElement.CastAs[T]()
   w ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.TextBoxSetTextActionDescriptor.Execute(IApplication hostApp)
   w ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   w ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------

the log file in attachements
Boyan Boev
Telerik team
 answered on 02 Dec 2013
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?