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

IE 7 Vs. IE 8

22 Answers 227 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.
Isaac
Top achievements
Rank 1
Isaac asked on 11 Mar 2009, 04:11 PM
I downloaded and installed the package for this test environment. I went through all the documented procedures for configuring my IE 7 to use with this tool. I created a new test project and proceded to try out the recording process on a public web page. For some reason the record function would not work when opening up a new browser window to record. And, I could not record typing text into a TextBox. I then proceded to download IE 8 and installed that update. Since IE 8 is still in beta, it did not work very well with our new web application. But it did allow me to open a new browser window (from inside of record tab)and record steps, and also recording the action of typing in text boxes started to work. Is there something I am doing wrong with IE 7?? I went through all the steps to set up the configuration for my machine. 
    I am really excited about this product because we are using Telerik Rad Controls for our new Web Application almost exclusively. Currently we are using QTP and I am in the process of trying to convince my boss to switch to this new product. I cannot however convince anyone to switch if I cannot even get a working demo together. Let me know if there is anything I can do. Thank you very much for your time.

Sincerely, Isaac Koss.

22 Answers, 1 is accepted

Sort by
0
Missing User
answered on 11 Mar 2009, 05:16 PM
Hi Isaac,

We appreciate your enthusiasm for WebUI Test Studio. Could you please let us know the Windows specs you are running on the test machine along with whether you are testing as an Admin? Also, could you let us know what public page and the scenario you were testing over in IE7 along with which documentation you used for the configuration? And was it just a plain html TextBox you were trying to record in?

You can also send us the test you are putting together for us to work with, or we can send you one that works on our end that is somewhat similar with respect to what you are working on.

Regards,
Nelson
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Isaac
Top achievements
Rank 1
answered on 11 Mar 2009, 06:37 PM
I was able to solve this by downloading the latest IE 7 install and re-installing IE 7. I would like to point out from reading another post that Telerik Controls are not compatible with IE 8 at the moment, but will be in the future I guess.

    Thanks very much for your reply. I am almost sure I can convince my company to use this product, I hope there will be continued support for this in the future. Thanks again.

Isaac.
0
Missing User
answered on 12 Mar 2009, 07:12 AM
Hi Isaac,

I am glad to hear you were able to to get WebUI Test Studio working for you. Please feel free to get back to us with any other questions or feedback you have.

Greetings,
Nelson
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Isaac
Top achievements
Rank 1
answered on 12 Mar 2009, 09:08 AM
Hi, thanks very much for the response. I am having another problem, seems to be the only thing standing in the way of making a demo for a formal proposal.
    We are building a web application that is using a RadPanelBar for the Left Navigation. This RadPanelBar is data bound to a list of items in our database with some items (lowest child) being an item with a URL attached to it. The WebUITest when recording has no problem recognizing the RadPanelBar and all the items, but when you run the test the final navigation does not work. For example, we have a RadPanelBar which has items for a menu, during recording you click on the main parent and it expands to show all the options underneath. then click again and that child item expands. Finally you click on the 'Page' you want and during recording the navigation to that page works just fine and the recording shows that you have performed a 'Select' action on that RadPanelBar item. But, when the test is ran, the item for navigation is selected but there is no navigation to that page. I have tried some other work arounds for this, but no success. I even tried converting the step to code behind and calling the click method on the 'RadPanelBarHtmlControl' object.

   Let me know if you have any thoughts about this problem. It seems to be the last thing in my way for making a formal proposal to my boss (CTO) for switching our testing strategy to using your software. Thanks again.

Isaac.
0
Isaac
Top achievements
Rank 1
answered on 12 Mar 2009, 03:41 PM
I was able to find a temporary solution to my RadPanelBar problem. Here is the code below.

RadPanelBarItemHtmlControl li_3 = Pages.My_Page.li_3;
      li_3.Wait.ForExists(10000);
      li_3.Select();
      System.Collections.ObjectModel.ReadOnlyCollection<ArtOfTest.WebAii.ObjectModel.Element> elementList = li_3.Find.AllByTagName("a");
      if (elementList.Count == 1)
      {
        ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor li_3Anchor = new HtmlAnchor(elementList[0]);
        ActiveBrowser.NavigateTo(li_3Anchor.HRef);
      }

I simply convert the test step to a coded step. Then add the bold code to the step. In my thinking this is only a temporary solution and should be fixed since when not testing (recording or User interaction) the RadPanelBar items with a URL allow Navigation when clicking on them (select action). Thanks for all of your help. I hope there can be a more permanent solution to this problem. Thanks.

Isaac.
0
Accepted
Konstantin Petkov
Telerik team
answered on 12 Mar 2009, 04:23 PM
Hello Isaac,

Indeed, you are absolutely correct about this issue. We can handle the navigation and even perform it automatically.

We will surely add this into the RadPanelBar Translators shortly. Unfortunately we cannot include it in the official release that is coming out today. Please excuse us for the temporary inconvenience.

Let us know if anything else pops up. We will do our best to address your valuable feedback immediately. Thank you!

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Konstantin Petkov
Telerik team
answered on 18 Mar 2009, 03:36 PM
Hello Isaac,

I'm glad to inform you the RadPanelBar translator already supports the navigation action out-of-the-box. Furthermore, we have updated the Menu, TreeView and TabStrip translators accordingly.

You can give the first latest internal build a try. There are other fixes/improvement as well. You can find all the details here.

Please, let us know whether everything's OK on your end or if anything else appears. Thank you!

Sincerely yours,
Konstantin Petkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Syed Danish
Top achievements
Rank 1
answered on 18 Mar 2009, 06:58 PM
Hi,

I am facing a similar problem while clicking sub-menu item in a RAD menu. Up till now it was not recording the click event. After installing latest internal build, it started recording the "Navigate" action on clicking sub-menu item but when test is run, it throws following error

Failure Information:
~~~~~~~~~~~~~~~
ArtOfTest.WebAii.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.InvalidOperationException: Cannot navigate -- NavigateURL is not set!
   at Telerik.Web.UI.Translators.RadMenu.RadMenuItemHtmlControl.Navigate()
   at Telerik.Web.UI.Translators.RadMenu.MenuItemActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()

I have already confirmed, NavigateURL is set to an aspx page inside my application but it contains only relative path to the page not the complete absolute URL.

Any ideas why it's happening?

Thanks,

SD.



0
Isaac
Top achievements
Rank 1
answered on 18 Mar 2009, 07:00 PM
Hi, thanks for the reply. I went ahead and installed the latest Internal Build. Unfortunately now when I record an action in RadPanelBar, clicking on an element that has a URL inside does navigate to the URL but the action is not recorded at all. The only actions/steps that I can record with RadPanelBar are the 'Expand' actions. Before I could at least record that I had selected the RadPanelBar Item. I would have to say that this is a real problem. Let me know what you think. Thanks.
0
Konstantin
Top achievements
Rank 1
answered on 18 Mar 2009, 09:14 PM
Hi guys,

These look like opposite issues. Let me explain briefly the logic behind the item click navigation. Upon handling the click action, we check if NavigateUrl is set client-side and if so, handle the navigation. Otherwise, proceed with the other action - whether the item should be expanded, selected, etc.

SD, I suspect we have missed something in the Navigate() method of RadMenuItemHtmlControl. Since the navigation is handled successfully by the translator, the same requirement should pass calling the Navigate() method later on execution. I'll check the source as the first thing to be done tomorrow morning.

Isaac, recording the navigation via PanelBarItem click has passed on our end. Looks like there's another case we haven't checked though.

>>Before I could at least record that I had selected the RadPanelBar Item.

An interesting question pops up. We discussed this question internally, but let me know what you think as well. When your click item action navigates, do you expect anything else out of recording the navigation itself? If clicking this item navigates to some page, do you need this same item selected (for example) as well?

Although we will continue testing this feature, do you guys have live Url where we can reproduce the problems as well? The live apps will definitely help resolving the issues quickly. Thank you!

Konstantin Petkov,
WebUI Test Studio Team
0
Isaac
Top achievements
Rank 1
answered on 18 Mar 2009, 09:19 PM
Actually the problem now is that Nothing is recorded when clicking on a RadPanelBar Item that has a URL. The navigation takes place during recording, but there is no way to test if the original problem I had is fixed because the step is not even being recorded as an action. Thanks.

Isaac.
0
Konstantin Petkov
Telerik team
answered on 19 Mar 2009, 08:54 AM
Hi Isaac, SD,

SD, the issue you experience is quite interesting. It looks like the same check passes on recording but fails on execution. That's the client-side call getting the NavigateUrl. Does that happen all the time you click on menu items?

Unfortunately we cannot proceed further without having a look at your application. Please submit a private support ticket where you can send a project or live url we can check if you don't want to show it publicly.

Isaac, I suppose you get exception on navigate item translation (recording). Can you please check the Automation Design Canvas logs (WebUI Test Studio 1.0\WebAii Automation Design Canvas 1.1\Logs) for the exact exception? It can help us investigate the issue in your case. Again, it will be best if we have your application or a runnable subset of it or live Url replicating the problem. Thus, we can surely fix the exact problem so you can proceed with the test automation.

Sincerely yours,
Konstantin Petkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Isaac
Top achievements
Rank 1
answered on 19 Mar 2009, 12:40 PM
Hi, thanks for the response. I actually think the main problem for this latest issue what the internal build. After not being about to record a RadPanelBar Item click for navigation, I had other troubles. For what I would call 'Smart Element Identification' I could not right click and get the proper menues when selected 'wait' or 'verify' options. The menues did not make any sense and were not even related to what I was trying to do. I then went into the Verification manaually and tried to add it. Even that didn't work.
    For now I simply uninstalled the Internal Build and re-installed the Trial software that I had originally downloaded. Thanks.


Isaac.
0
Syed Danish
Top achievements
Rank 1
answered on 19 Mar 2009, 01:26 PM
Thanks Konstantin,

Yes it happens all the time whenever I click the submenu item. During recording it records the event and also navigates to the target page but when recorded test is executed, it throws the error on navigation step saying "Navigate URL is not set", however inside recorded navigation step it shows the target page name to navigate to.

I will add a test application so that you can figure out the issue.

Thanks,

-- SD
0
Konstantin Petkov
Telerik team
answered on 19 Mar 2009, 01:46 PM
Hi guys,

Isaac, I think I know what's going on. Looking at your downloads history it seems you've worked with the Beta from the end of February (2.20), is that correct? You haven't installed the official release of WebUI Test studio before and directly update with the internal build. This build is actually the improved official release of WebUI Test Studio.

So if you install the official release instead, you will probably get the same results. This makes me believe your application simply uses old version of RadControls for ASP.NET AJAX. Please make sure you work with the official release of RadControls Q1 2009 when testing with official Q1 2009 release and above of the WebUI Test Studio. You can refer to my response in this thread for additional explanation as well. Let me know if I'm right in my assumptions.

SD, is your application under test updated with the latest RadControls for ASP.NET AJAX Q1 2009 release as well? If so, we will be expecting your project to test with, thank you!

Regards,
Konstantin Petkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Muhammad Zaheeruddin
Top achievements
Rank 1
answered on 19 Mar 2009, 02:00 PM

Hi Konstantin,
SD and I are working on the same project, instead of providing the whole application we tested(with your latest internal build) the online telerik demo and successfully able to reproduce the issue. 
Below is the description of the log: As far as the telerik ASP.NET AJAX version is concerned currently we are using 2008.3.1314.35 and will be updating to Q12009 soon:

<Log>
Overall Result: Fail
--------------------------------------------------
'3/19/2009 9:41:36 AM' - 'Pass' : Navigate to : 'http://demos.telerik.com/aspnet-ajax/menu/examples/programming/clientevents/defaultcs.aspx'
'3/19/2009 9:41:36 AM' - 'Pass' : Click 'h1_Client_Side_Events'
'3/19/2009 9:41:36 AM' - 'Pass' : Invoke 'OnClick' event on 'span_Online_Examples'
'3/19/2009 9:41:37 AM' - 'Fail' : RadMenuItem: item 'online examples' action -> 'Navigate' to 'http://www.telerik.com/RadMenu'
--------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
ArtOfTest.WebAii.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.InvalidOperationException: Cannot navigate -- NavigateURL is not set!
   at Telerik.Web.UI.Translators.RadMenu.RadMenuItemHtmlControl.Navigate()
   at Telerik.Web.UI.Translators.RadMenu.MenuItemActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
--------------------------------------------------
'3/19/2009 9:41:37 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
--------------------------------------------------
'3/19/2009 9:41:37 AM' - Overall Result: Fail
--------------------------------------------------

</Log>

 

 Looking forward.

Thanks,

Zaheer

0
Konstantin Petkov
Telerik team
answered on 19 Mar 2009, 02:54 PM
Hi Muhammad,

Thanks a lot for your assistance on reproducing the error.

The test you pasted looks incomplete. You need to make sure the menu item is shown before clicking on it. To achieve that, you should record OnMouseOver event and than add a wait-for verification to check the element is visible. For additional details on working with Menu I recommend you the video on Telerik TV here.

Since its a bit tricky to work with this exact RadMenu, I've recorded another video for you demonstrating the correct approach. Please, find it attached to this message. Hope this one will help you record over your application when you guys upgrade the RadControls to the latest release.

As to the error itself, it's a bit misleading in this case. It is obviously thrown because the item is currently invisible. Although invisible the item is available so you don't get error the framework cannot locate it. Unfrotunately it looks like the RadMenuItem client-side object simply returns the wrong result in this case. We may add check whether the item is visible to avoid throwing the misleading error.

Recording this video, I noticed some other issues with the Menu translators -- the 'Opened' and 'Visible' Menu item verification are not consistent. We need to investigate these and will probably update the Menu translators accordingly (either for internal build or official release).

Let me know if you need further assistance.

All the best,
Konstantin Petkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Syed Danish
Top achievements
Rank 1
answered on 19 Mar 2009, 06:57 PM
Hi Konstantin,

Thanks for the reply & video. It really helped and we were able to pass through this step however we have a couple of questions.

1. As the attached video in your response mentioned the necessary steps to carry out before actually clicking the submenu to make it work, wouldn't it be nice if we can have a complete step by step documentation for RAD translators? While videos are really helpful but I am not sure if your are going to provide videos for every Rad control with all possible interactions with that control and it might not be feasible too.

2. Secondly, Is there any plan to make this whole process more seamless in terms of interactions with Rad controls by abstracting the underlying details for "verify" and "wait for" events? It is because, this product could be a great tool for QA testers and in most of the environments, QA testers include a subset of end users and business analysts who might not have a technical background and familiarity with client-side javascript code rather they would prefer a more natural style of recording the test simulation just by mouse clicks and drag-n-drop events and expect the test to work.

Lastly, currently when a test fails, it throws out unhandled exception resulting in a misleading error as you also noticed. it would be more nicer if we can get specific error messages to exactly pnipoint the problem.

Thanks a lot,

-- SD
0
Konstantin Petkov
Telerik team
answered on 20 Mar 2009, 07:16 AM
Hi SD,

I'm glad the video helped. Let me address your questions:

1. As the attached video in your response mentioned the necessary steps to carry out before actually clicking the submenu to make it work, wouldn't it be nice if we can have a complete step by step documentation for RAD translators? While videos are really helpful but I am not sure if your are going to provide videos for every Rad control with all possible interactions with that control and it might not be feasible too.


I think the videos are great resource in general. We decided to concentrate on recording videos to help people get started as they are simply the best resources for this purpose. Having detailed documentation is great of course however the purpose of our efforts in building these translators for the great Design Canvas Automation Surface and getting the things done in simple and intuitive steps. In short, detailed documentation is useful when there is something complex you need but in this case with the WebUI Test Studio, the things should just work! We will keep working on this goal.

2. Secondly, Is there any plan to make this whole process more seamless in terms of interactions with Rad controls by abstracting the underlying details for "verify" and "wait for" events? It is because, this product could be a great tool for QA testers and in most of the environments, QA testers include a subset of end users and business analysts who might not have a technical background and familiarity with client-side javascript code rather they would prefer a more natural style of recording the test simulation just by mouse clicks and drag-n-drop events and expect the test to work.

Yes, exactly! I've worked with many test automation tools in the past several years and absolutely agree with you on these points! That's what we work for -- providing easy to use environment so that people can build their automation test suites in minutes/hours instead of days/weeks!

It's not necessary to know what's behind the scene in order to use the tool. The quick task verifications are based on RadControls client-side calls but does it matter for the end user? They are available to be used with just a few mouse clicks! There is no JavaScript code necessary to get the client-side state so everyone can use that quite easy without any underground knowledge. I believe we're on the right track and will keep working on making all this easy to use.

Lastly, currently when a test fails, it throws out unhandled exception resulting in a misleading error as you also noticed. it would be more nicer if we can get specific error messages to exactly pnipoint the problem.


Yep, this case should be handled and I'm glad to tell you the code has already been updated. I absolutely agree having descriptive and correct error messages is an important part of the whole process. We will address each such issue as soon as possible.

Thanks a lot,


Thank you too! I'm glad to see such an excellent feedback from the community! It is much appreciated so please, keep it coming!

All the best,
Konstantin Petkov
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Syed Danish
Top achievements
Rank 1
answered on 20 Mar 2009, 04:06 PM
Thanks Konstantin,

It helps.

Regards,

-- SD
0
Konstantin Petkov
Telerik team
answered on 24 Mar 2009, 01:43 PM
Hello SD,

I'm glad to inform you we have improved the Menu item verifications and also added a meaningful error to be thrown if Navigate() is not ready to be performed. You can find the improved translator in the latest internal build we just uploaded.

Best wishes,
Konstantin Petkov
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Syed Danish
Top achievements
Rank 1
answered on 27 Mar 2009, 03:15 PM
Thanks,

We will try it.

Regards,

-- SD
Tags
General Discussions
Asked by
Isaac
Top achievements
Rank 1
Answers by
Missing User
Isaac
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Syed Danish
Top achievements
Rank 1
Konstantin
Top achievements
Rank 1
Muhammad Zaheeruddin
Top achievements
Rank 1
Share this question
or