Hi,
We're migrating from WebAii 1.1 to WebAii 2.0 and found some problems.
One of them it's a problem with HtmlControl methods MouseHover() and MouseClick(). When we'are using these methods there is an error
But when we're using Desktop Mouse methods(see Appendix) everything is ok but this workaround is quite tricky for us.
Could you assist us with this issue?
Appendix:
HtmlControl x = new HtmlControl(...);
Desktop desk = new Desktop();
desk.Mouse.HoverOver(x.GetRectangle());
                                We're migrating from WebAii 1.1 to WebAii 2.0 and found some problems.
One of them it's a problem with HtmlControl methods MouseHover() and MouseClick(). When we'are using these methods there is an error
System.NullReferenceException: Object reference not set to an instance of an object.
at ArtOfTest.WebAii.Core.Desktop.EnsureBrowserOnFocusIfPossible()
at ArtOfTest.WebAii.Win32.Mouse.HoverOver(Rectangle target)
at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.MouseHover()
at ArtOfTest.WebAii.Win32.Mouse.HoverOver(Rectangle target)
at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.MouseHover()
But when we're using Desktop Mouse methods(see Appendix) everything is ok but this workaround is quite tricky for us.
Could you assist us with this issue?
Appendix:
HtmlControl x = new HtmlControl(...);
Desktop desk = new Desktop();
desk.Mouse.HoverOver(x.GetRectangle());
8 Answers, 1 is accepted
0
                                Hi Artem,
Thank you for contacting us and reporting the error.
I think I know what is going on in this case. Can you please try initializing the Desktop via the non-empty constructor and passing the ActiveBrowser.Manager object there? It seems the Mouse.Manager is not initialized thus the error.
Please let us know if this helps or if you need further assistance.
Regards,
Konstantin Petkov
the Telerik team
                                        Thank you for contacting us and reporting the error.
I think I know what is going on in this case. Can you please try initializing the Desktop via the non-empty constructor and passing the ActiveBrowser.Manager object there? It seems the Mouse.Manager is not initialized thus the error.
Desktop desk = new Desktop(this.ActiveBrowser.Manager);Please let us know if this helps or if you need further assistance.
Regards,
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
0
                                
                                                    Artem
                                                    
                                            
    Top achievements
    
            
                 Rank 1
                Rank 1
            
    
                                                
                                                answered on 05 Jul 2010, 03:24 PM
                                            
                                        Hi Konstantin,
I think that there is a misunderstanding.
When I'm using Desktop methods everything is ok but when I'm using code like this(Without using Desktop class):
HtmlControl x = new HtmlControl(...);
x.MouseHover();
I'm getting an error. But in Debugger I could see that x is an HtmlControl object(not null)
Regards,
Artem Nenashev
                                        I think that there is a misunderstanding.
When I'm using Desktop methods everything is ok but when I'm using code like this(Without using Desktop class):
HtmlControl x = new HtmlControl(...);
x.MouseHover();
I'm getting an error. But in Debugger I could see that x is an HtmlControl object(not null)
Regards,
Artem Nenashev
0
                                Hi Artem,
I just looked at the code that throws this exception and I think we can add a simple fix for the error. We are in the final QA stage before we release a new update of WebUI Test Studio and WebAii Testing Framework though and the updates should be official next week (14th of July). How does that sound for you as a bug fix time frame?
Please also feel free to submit any other feedback you have. Thanks!
All the best,
Konstantin Petkov
the Telerik team
                                        I just looked at the code that throws this exception and I think we can add a simple fix for the error. We are in the final QA stage before we release a new update of WebUI Test Studio and WebAii Testing Framework though and the updates should be official next week (14th of July). How does that sound for you as a bug fix time frame?
Please also feel free to submit any other feedback you have. Thanks!
All the best,
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
0
                                
                                                    Artem
                                                    
                                            
    Top achievements
    
            
                 Rank 1
                Rank 1
            
    
                                                
                                                answered on 05 Jul 2010, 03:55 PM
                                            
                                        Hi Konstantin!
Thanks for your reply!
We are looking forward to the new updates!
Best regards,
Artem Nenashev
                                        Thanks for your reply!
We are looking forward to the new updates!
Best regards,
Artem Nenashev
0
                                
                                                    Artem
                                                    
                                            
    Top achievements
    
            
                 Rank 1
                Rank 1
            
    
                                                
                                                answered on 06 Jul 2010, 09:38 AM
                                            
                                        Hi Konstantin,
I'm and Anton are working on the same project, so I want to ask if new release will fix his problem?
                                        I'm and Anton are working on the same project, so I want to ask if new release will fix his problem?
0
                                Hi Artem,
The bug I logged for the Find Frame By Name regression is still in the works. But thanks for the check back, we are looking to have this fixed.
Kind regards,
Nelson Sin
the Telerik team
                                        The bug I logged for the Find Frame By Name regression is still in the works. But thanks for the check back, we are looking to have this fixed.
Kind regards,
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
                                
                                                    Artem
                                                    
                                            
    Top achievements
    
            
                 Rank 1
                Rank 1
            
    
                                                
                                                answered on 15 Jul 2010, 09:07 AM
                                            
                                        Hi!
Today is 15th of July and I can't see any news or download links for new release...
                                        Today is 15th of July and I can't see any news or download links for new release...
0
                                Hi Artem,
The Downloads page in your account should contain the new WebAii 2010.2.713 version now. Please let us know if your reported issues are resolved on your end as well with after upgrading, thank you!
Sincerely yours,
Konstantin Petkov
the Telerik team
                                        The Downloads page in your account should contain the new WebAii 2010.2.713 version now. Please let us know if your reported issues are resolved on your end as well with after upgrading, thank you!
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