How to debug application in extjs in internet explorer and Google chrome browser - extjs

Can anybody tell How to debug application in extjs in internet explorer and google chrome Browser? is it possible using Breakpoints to debug to check the values?
Thanks

There is a good article provided by sencha. check the section for internet explorer, http://www.sencha.com/learn/debugging-ext-js-applications

I have been forced to use IE8 in an application which works in Chrome and Firefox but fails often in IE8.
Debugging ExtJS in IE8 is nearly impossible if the problem is in the framework. IE8's developer tools hangs loading ext-all-dev.js
Also you can't get stack trace as in Chrome.
I had to put alert() calls in suspect lines and the whole process is a nightmare.
If you can avoid IE, do it.
Else be VERY VERY patient...

You can use the Developer Tools for your browsers. I don't use IE but I use Chrome's Developer Tools all the time! And yes you can do breakpoints, check values, etc..

Related

How to open Chrome Browser Network tab and make browser offline using katalon

I had a task to run the test case by making a chrome browser offline and run some steps and then I need to make it back online again and run the rest of the test case.
Can anyone guide me on how to make a chrome browser offline?(In the network tab of chrome developer tools, it has the option of making it offline.) I want to make that offline using katalon.
Thanks in advance.
It is possible to do that using Selenium 4. However, that is still in alpha.
Katalon currently supports only Selenium 3.

How to tell if IE9 is forcing a page reload

Is there any circumstance that would cause IE9 to force an unrequested page reload? If so how can I tell that this is occurring? Is there a log I can look at or custom event I should be looking for in event viewer?
I am troubleshooting an issue with an AngularJS web application that only exists in IE9, it works fine in newer version of IE and works on FF, Safari, Chrome. When testing in IE9 I see no errors in the console but I am getting redirected to my applications login page. This redirection always happens on a page reload, hence why I think IE9 is forcing a page reload.
You can track navigation events, and the subsystems that invoke them, using the Network tool in Internet Explorer 9's F12 developer suite. Press F12, switch to the Network tab, and press "Start Capturing". From this point on, any further navigation events will be logged for your inspection.
Internet Explorer 9 uses an older version of the F12 developer tools, but you can still access the historical documentation for those on the Microsoft Developer Network.
The modern documentation for IE 11 is also available online, and much of what is shared about the Network tool in particular is still helpful even if you happen to be using Internet Explorer 9.

How to identify whether browser is supporting angularjs or not?

I need to identify if a browser supports the AngularJS.
Based on the result, I need to execute logic to call web pages. Old browsers like IE6 and IE7 do not support AngularJS. So one way to identify if a browser supports it, is by detecting the browser version/type, but I am looking for a more generic way to check support.
From angular's FAQ page
What browsers does Angular work with? We run our extensive test suite
against the following browsers: Safari, Chrome, Firefox, Opera, IE8,
IE9 and mobile browsers (Android, Chrome Mobile, iOS Safari). See
Internet Explorer Compatibility for more details in supporting legacy
IE browsers.
And the IE specifics cab be found here
If you'r looking for a angular.is_this_browser_supported() function, i doubt you'll find any.

EXtJS 4.2 and Android browser

I have a bunch of components that I am calling setValue on, everything is working fine in all browsers except the Android web browser and google chrome for android. Has anyone seen this behavior or knows how to solve it? I don't know where to really begin.
Ok you have to enable Javascipt for the Web View as android disables JS by default due to security reasons
YourWebView.getSettings().setJavaScriptEnabled(true);
YourWebView.getSettings().setJavaScriptCanOpenWindowsAutomatically(true);
That should so the trick
if your app has secure data you probably don't want 3rd party software running JS in your app
Hope this helps

Application just shows spinner - how can I debug?

I have a small silverlight app and when I "play" it, it just hangs in the browser. (Shows the spinner).
How can I debug this and find the cause?
Thanks
I would recommend the following...
Use Fiddler to see if there is any data that is coming/going to the server when you use this application.
Use another browser and see if the issue manifests itself
If it happens with all the browsers, then you can try capturing a dump of Internet Explorer and try to analyze it for the actual issue.
Is there a javascript exception? Open up the developer tools for your browser (F12 in IE and Chrome) to see the specific error message and error code. Once you have those, google them and voila!

Resources