Telerik Forums
Test Studio Forum
2 answers
99 views
What is the maximum items per page setting for the radgrid?
Maria Ignatius Ephrem
Top achievements
Rank 1
 answered on 29 May 2010
3 answers
259 views
I am trying to automate the Drag and Drop functionality for a grid, using selenium. I am evaluating the Selenium RC Tool, and am new to .Net technologeis.

I have created two grids, one as a source grid and another a destination Grid. I want to move rows from source grid to destination Grid. I am able to write the code for the Drag and Drop opertaion to happen manually. I wish to automate this part of the functionality by writing a scriptable method, and can be accessed by script from selenium.

How do I acheive this automation of Drag and Drop functionality using Selenium and scriptable method. Any kind of pointers or example program would be helpful.

Thanks,
Pradeep
Cody
Telerik team
 answered on 28 May 2010
1 answer
129 views
The testing we are doing involves databinding where an .xlsx file provides the data to the browser.  While the test is running I minimize the the IE browser but IE keeps getting focus & popping up.  Essentially I can't use my computer while the test is running.  I tried changing the Focus property in the keypresses to False but that did not help.

Any ideas?
Cody
Telerik team
 answered on 28 May 2010
2 answers
191 views
I'm trying to set up my first test on our application which is simply typing in text into a textbox.

When I type it is super slow and not recording all of my characters unless I type super slow.

For example if I type in:
"test"
I might get
"tst"

if I type fast.

What could be causing this choppy behavior?  This is a simple log in screen.
Cody
Telerik team
 answered on 28 May 2010
1 answer
62 views

When I use WebUI test studio and generate to MS Test, C# has so many comments such as "click on..."
// Click on PListBoxItemListboxitem

Is it possible to generate it without those comments?

Thanks

Ray

Missing User
 answered on 28 May 2010
6 answers
118 views
When I try to Execute a test run, it keeps immediately  Failing saying "Fail - 0 passed of total 0 executed". When I keep cliking the Execute several times (5-10 times) it finally does run the test. This is the error message in the log. Any ideas?
--------------------------------------------------
'5/19/2010 7:48:50 AM' - Error encountered during execution.
--------------------------------------------------
'5/19/2010 7:48:50 AM' - Error launching the runner. Error: System.TimeoutException: The operation has timed out.
   at System.IO.Pipes.NamedPipeClientStream.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Launch(Int32 waitForReadyTimeout, String pathToRunner)
--------------------------------------------------
'5/19/2010 7:48:50 AM' - Aborting....
Cody
Telerik team
 answered on 26 May 2010
2 answers
136 views
Hello,

I have a silverlight screen which has textboxes, comboboxes, grids, labels, etc. After performing a particular text, i need to validate if the testcase is a success. For example, after filling up a form in silverlight, it will show the content on a label in the same page. How do i read the content of this label? and how do i validate in other components like combobox, grid, etc????

Thanks,
Jinesh
Missing User
 answered on 25 May 2010
1 answer
122 views

I am getting an error "Unhandled exception thrown during automation step execution". When I recorded the script,
one of the steps is clicking on a radio control. When I run the script, it is trying to set a button to true and failing.
When I use the Locate in DOM tool, and hover over the Radio Control, it locates the button instead of the Radio Control. I attached a screenshot of the area in the page. I am clicking on the radio labled "Depot Print Label" and the playback is trying to set the button labled as "Find Postcode" to true

 This is what was in the test log:

Overall Result: Fail
--------------------------------------------------
'5/25/2010 5:54:52 AM' - 'Pass' : 1. Navigate to : 'https://superuser-uat1.tester.loopone.com/'
'5/25/2010 5:54:53 AM' - 'Pass' : 2. Keyboard (KeyPress) - Tab (1 times) on 'UsernameText'
'5/25/2010 5:54:53 AM' - 'Pass' : 3. Set 'UsernameText' text to 'xxxxxx'
'5/25/2010 5:54:53 AM' - 'Pass' : 4. Set 'LoginPasswordPassword' text to 'xxxxxxxx'
'5/25/2010 5:54:56 AM' - 'Pass' : 5. Keyboard (KeyPress) - Enter (1 times) on 'LoginPasswordPassword'
'5/25/2010 5:54:57 AM' - 'Pass' : 6. Check 'PsushShipmentTypeContractRadio' to be 'True'
'5/25/2010 5:54:57 AM' - 'Pass' : 7. Set 'ValidationNumText' text to 'r998877'
'5/25/2010 5:54:59 AM' - 'Pass' : 8. Click 'ValidateContractNumButton'
'5/25/2010 5:54:59 AM' - 'Pass' : 9. Connect to pop-up window : 'https://superuser-uat1.tester.loopone.com/ship_su_contract_validation.epl?lookup=r998877'
'5/25/2010 5:54:59 AM' - 'Pass' : 10. Click 'SubmitBtnButtonTag'
'5/25/2010 5:55:00 AM' - 'Pass' : 11. Close pop-up window : 'https://superuser-uat1.tester.loopone.com/ship_su_contract_validation.epl?lookup=r998877'
'5/25/2010 5:55:01 AM' - 'Pass' : 12. Set 'PsushCallerNameText' text to 'test'
'5/25/2010 5:55:01 AM' - 'Pass' : 13. Set 'PsushCallerPhoneText' text to '1234'
'5/25/2010 5:55:01 AM' - 'Fail' : 14. Check 'ToFindPostcodeButton' to be 'True'
--------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unhandled exception thrown during automation step execution
InnerException:
System.ArgumentException: Invalid input type 'Button' for this control. Control was expecting 'Radio'
   at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
   at ArtOfTest.WebAii.ObjectModel.Element.As[TControl]()
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.CheckActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--------------------------------------------------
'5/25/2010 5:55:01 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
--------------------------------------------------
'5/25/2010 5:55:02 AM' - Overall Result: Fail
--------------------------------------------------

 

Konstantin Petkov
Telerik team
 answered on 25 May 2010
0 answers
114 views
Hi sir/Madam,

        I have ask you about RadProgressArea control for telerik, I try your sample demo trial a RadProgressArea control i noticed  the RadProgressArea cannot control the button. My question during a page load ispostback the button i initializeds RadProgressArea in condition If(!ispost back){ by RadProgressArea.visible=false}.  And RadProgressArea.Visibble=true is initialized in the button_click event for the RadProgressArea.visible=truel. It is possible we can hide the radProgressArea in the page is postback an after clicking the button_event such a time to display the RadProgressArea.visible=true.




                                                                                                                                              Regards,
                                                                                                                                              --Garry--
n/a
Top achievements
Rank 1
 asked on 25 May 2010
3 answers
120 views
I have an issue with some drag and drop functionality in our Silverlight application.

The problem is that we have an actions menu that appears when you drag an object onto the apps desktop area and hover there (without releasing the mouse).  Then, with the mouse button still held down, you need to drag onto the actions menu and release it on the desired option.  I've attached an image to help explain this situation.

WebUI will not recognise this menu at all and it's impossible to access it in the DOM because I need to have the mouse button held down to show it so I can't access WebUI's features and have this menu displayed.

When using the record functionality and performing this action the step looks as follows:

Drag PARTObjectNameTextblock to application at (234,326) from TopLeftCorner

When played back this doesn't perform the correct functionality, rather it just drops it directly on the desktop.

Is there anything that WebUI can do to get around this issue?  I'm currently in my trial at the moment and I'm using the build 2010.1.4.29.  If this can be solved it would go a long way in proving that this tool is the right one for our company.
Cody
Telerik team
 answered on 24 May 2010
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?