This is a migrated thread and some comments may be shown as answers.

[Solved] ComboBox and ListBox problem

3 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sebastien Caron
Top achievements
Rank 1
Sebastien Caron asked on 25 Feb 2010, 03:26 PM
Hi everyone,

I actually made some test with Web UI Test Studio but when I'm doing an operation on a combobox or a listbox, my test failed everytime.

How can I fix this?

Thanks for your help,
Sebastien

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 25 Feb 2010, 10:12 PM
Hi Sebastien,

Thanks for the post and I'm sorry you ran into this problem.

Can you post back with what error message you are getting when the tests fail and whic browser this is happening in?

And are these custom controls or just the generic ComboBox and ListBox?

Also, I'm attaching a sample project for these controls that you can try and see if they help.

Thanks,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sebastien Caron
Top achievements
Rank 1
answered on 26 Feb 2010, 01:27 PM
Hi Nelson,

I try again with another test on RadComboBox and it didn't work again.

This is what the result gave me.

Overall Result: Fail
--------------------------------------------------
'2010-02-26 08:21:51' - 'Pass' : 1. Navigate to : 'http://localhost:4572/'
'2010-02-26 08:21:54' - 'Pass' : 2. Set 'Login1UserNameText' text to 'hans'
'2010-02-26 08:21:55' - 'Pass' : 3. Set 'Login1PasswordPassword' text to 'hans'
'2010-02-26 08:21:55' - 'Pass' : 4. Click 'Login1LoginButtonSubmit'
'2010-02-26 08:21:58' - 'Pass' : 5. Click 'Users2PngImage'
'2010-02-26 08:22:01' - 'Pass' : 6. Tab: '6. Documents'navigate to '../Activities/Activities.aspx'
'2010-02-26 08:22:01' - 'Pass' : 7. Click 'AjouterUnSpan'
'2010-02-26 08:22:01' - 'Fail' : 8. RadComboBox: drop down action -> 'Open'
--------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unhandled exception thrown during automation step execution
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure:
   à ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--------------------------------------------------
'2010-02-26 08:22:02' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
--------------------------------------------------
'2010-02-26 08:22:03' - Overall Result: Fail
--------------------------------------------------

For your information, I work on ASP.NET. So if you can provide a work around that could be great if not, I'm still waiting for the next release :P

Thanks you for the support and take care,
Sebastien
0
Konstantin Petkov
Telerik team
answered on 26 Feb 2010, 01:38 PM
Hi Sebastien,

This looks like the IFrame error that we fixed with the latest 2009.3.1424 release. Have you tried recording and running that test with the new release in a new project without changing the IFrame properties as needed due to that bug previously? Note, each test in the project running the same page refers one and the same element you may have already modified manually before.

Please let us know if the new version helps in this scenario.

Sincerely yours,
Konstantin Petkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Sebastien Caron
Top achievements
Rank 1
Answers by
Missing User
Sebastien Caron
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or