WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.

Slides:



Advertisements
Similar presentations
Esri International User Conference | San Diego, CA July 14, 2011 Troubleshooting ArcGIS Web APIs (JavaScript, Flex, Silverlight) from a Support Perspective.
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Tutorial 10 Programming with JavaScript
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
JavaScript Development Tools Front-End Development.
Debugged!.  You know that old line about an ounce of prevention?  It’s true for debugging.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Browser.
Debugging JavaScript CS346. IE Javascript Debugging Aids From IE6 on default: no debugging aid for Javascript Change setting: – Tools > Internet Options.
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
WaveMaker Visual AJAX Studio 4.0 Training Advanced Editor properties and Events.
1 Test Automation For Web-Based Applications Selenium HP Web Test Tool Training Portnov Computer School.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
System settings for e-tendering portal
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
Introduction to Applets CS 3505 Client Side Scripting with applets.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Tutorial 10 Programming with JavaScript. XP Objectives Learn the history of JavaScript Create a script element Understand basic JavaScript syntax Write.
Tutorial 10 Programming with JavaScript
Tools Menu and Other Concepts Alerts Event Log SLA Management Search Address Space Search Syslog Download NetIIS Standalone Application.
1 3. Computing System Fundamentals 3.1 Language Translators.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
A Basic Guide to Using Wikispaces Jeff Rew TEDU 673.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Session Objectives How to Debug PTF test case/Script Session-6 DebuggingSlide 2.
Browsers © Copyright 2014, Fred McClurg All Rights Reserved.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
FireBug. What is Firebug?  Firebug is a powerful tool that allows you to edit HTML, CSS and view the coding behind any website: CSS, HTML, DOM and JavaScript.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
Introduction to Client Side Scripting CS Client Side Scripting Client side means the Browser is interpreting the script Script is downloaded with.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Guide to MCSE , Enhanced1 Activity 11-1: Using Task Manager to Manage Applications and Processes Objective: To explore managing applications and.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 14 Key Concepts 1 Copyright © Terry Felke-Morris.
Unit 1 – Web Concepts Instructor: Brent Presley.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
WaveMaker Visual AJAX Studio 4.0 Training Java Script Events.
Tutorial 10 Programming with JavaScript. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Learn the history of JavaScript.
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
WaveMaker Visual AJAX Studio 4.0 Training Role Based Access Control.
JavaScript and AJAX 2nd Edition Tutorial 1 Programming with JavaScript.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
WaveMaker Visual AJAX Studio 4.0 Training Styling your application.
Copyright © Terry Felke-Morris Web Development & Design Foundations with HTML5 8 th Edition CHAPTER 14 KEY CONCEPTS 1 Copyright.
C# Programming: From Problem Analysis to Program Design1 Visual Studio Configuration C# Programming: From Problem Analysis to Program Design 4th Edition.
Tutorial 10 Programming with JavaScript
Data Virtualization Tutorial… CORS and CIS
Intro to JavaScript CS 1150 Spring 2017.
© 2016, Mike Murach & Associates, Inc.
Section 17.1 Section 17.2 Add an audio file using HTML
Web Development & Design Foundations with HTML5 7th Edition
Chrome Developer Tools
Web Development in Microsoft Visual Studio 2013
1. Open Visual Studio 2008.
Tutorial 10 Programming with JavaScript
Introduction to Programming and JavaScript
Selenium IDE Installation and Use.
Presentation transcript:

WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting

2 Basic Troubleshooting Techniques ● We will do an overview of debugging techniques –Client Side Troubleshooting –Using Firebug Basics –Server Side Troubleshooting –Logging

3 Client Side Debugging ● It is recommend all developers use Firefox for development. –Generated applications can all be run in IE6, IE7 or FireFox –FireFox provides the best debugging and troubleshooting add-ons. ● Firebug for Firefox –Add-on Tool for FireFox –Allows you to edit, debug, and monitor CSS, HTML, and JavaScript live in any web page... ● What if you are not using Firefox? –Firebug Lite for non Firefox browsers – JavaScript file you can insert into your pages to simulate the Firebug console in browsers that are not named "Firefox". –

4 How to use Firebug ● Enable Firebug –Tools  Add-on’s –Enable ● Once enables a small image will appear in the lower right hand corner of the browser

5 How to use Firebug ● To open Firebug –Use or click on bug icon at the bottom of the browser window –Viewable in a window at the bottom of the browser –To open in a separate screen Click the

6 How to use the Firebug Console ● When client side errors the following will be displayed –Number of errors in the lower right corner –Java Script errors in red in the Firebug Console

7 How to use the Firebug Console ● Once the page loads clear the console. ● Click a button for example Search ● View the Console Log –Post: –Response

8 How to write to the Firebug Console ● Use console.log() to add debug statements to your custom java script and view the output in the console –Example: Check dataValues of a widget before it is inserted into a database –In the onClick event for a button add custom java script –When the code is executed the following will show up in the console

9 Using the Console command line ● Use the command line to: –View a java script object at runtime –Execute java script at runtime ● Common commands –app.main.editor1.getDataValue() –app.main.editor1: give you a pointer to the DOM node where you can inspect all of the widgets properties For more information on see community post:

10 What commands are available ● At the command line –app.main.widget then any function available for that widget ● How do you know what functions are available? Look in the DOM (Domain Object Model). A tree view of your page and all of the objects. –Take practice using the tree to find values and functions for a particular widget.

11 Using the Firebug Script Debugger ● Once the Script option in Firebug is selected –You can select the java script file you want to debug. –Most custom code is put into Main.js –Select any line in the java script file to set a break point –Run the application and use just as you would any other debugger.

12 Server Side Debugging ● Reviewing the log files –Logs are in /WaveMaker/Tomcat/logs –Generic Tomcat logs are saved by date –All stdout and stderr messages are written to the wm.log file

13 Changing Logging levels ● To change the level of detail written to the wm.log you can configure the log4j.properties to be more or less verbose ● Each project has it’s on log4j.properties file in the Projects/ProjectName/src directory ● The file can be edited with any text editor –Example: # log just the SQL #log4j.logger.org.hibernate.SQL=debug –Changing this logger from warn to debug will actually write the SQL being sent to the database out to wm.log ● For the changes to take affect you must redeploy the application or restart the WaveMaker Service

14 Questions?

15 Exercise 13 ● Test Run application using Firebug ● Review Console Messages ● Review the DOM information ● Editing the log4j.properties file ● Reviewing the wm.log file