I believe Chrome has issues reading Frames whereas IE and FF are fine with them. However, what about add-ins I installed few for FF still objects are not recognized on QTP11. Any idea on this.....
On Sat, Jun 9, 2012 at 9:54 AM, Anish Pillai <[email protected]>wrote: > Hello Gajendra, > > Following are few points you should take care with your scripts when you > want to run it in both IE and FF. > > 1) Both browsers handle pop-ups in a different manner. So you have to > handle them differently. Maybe you can create a global variable which will > find the type of browser and then handle the pop-ups based on the Browser > type. > > 2) There are some function like Browser.Back, Browser.Home, > Browser.ClearCache that are not supported in FF. (I'm not aware of the > complete list of functions. But it should be mostly the Browser functions > only). > > 3) I think FF doesnt support the type property of a WebButton. ie. When > you spy using IE, you will find the type property for the button. But you > will not find this property when you spy the object in FF. So you should > not use this property when doing Cross Browser automation. > > 4) When you work with web tables and use GetCellData method, in FF there > might be additional spaces or junk characters that might be there at the > end of the string. This would usually not be there in IE. So you need to > take care of this also. > > 5) Also Certificate Errors are handled by both these browsers. So this > also should be considered while scripting. > > > These are the major points that I can think as of now. *The same > properties apply to google chrome also. So you can actually test your > scripts for all these 3 browsers.*. :) :) > > If anyone has any other points, please add it over here so that we all can > benefit from it. > > > > * > Cheers, > a n i s h > > [QTP > Tutorial]<http://www.automationrepository.com/tutorials-for-qtp-beginners/>| > [VBScript > Tutorial]<http://www.automationrepository.com/category/qtp-and-vbscript-tutorials/>| > [QTP > Blogs] <http://www.automationrepository.com/qtp-blogs/> > > ** > [** Subscribe to Get New Posts in your Inbox > **]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds> > * > > -- > ar > > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
