SlideShare a Scribd company logo
Siebel Open UI Debugging 
Presented by TechOneStop 
Techonestop.com 
In a vision to make TECHNOLOGY simple for u 
1 Techonestop.com
Objectives 
1) How to debug Siebel Open UI JavaScript using 
- SiebelJS.log () 
- Debugger 
2) Recommendations before JavaScript file deployment 
2 techonestop.com
Suggestions for debugging JavaScript 
If JavaScript is not running properly in Siebel Open UI 
1. Use browser’s developer tools (Inspect Element) to verify 
that the respective JavaScript file is downloaded properly 
on runtime 
2. Use browser’s developer tools to verify that the JavaScript is 
running correctly 
3. Use SiebelJS.Log() function to log messages 
4. Use debugger statement to add breakpoint inside script 
3 techonestop.com
Browser Developer Tools 
Almost all modern browsers like Google Chrome, Mozilla Firefox, 
Internet Explorer 8 or higher version have built-in developer 
tools that 
- Provide an inspector to verify JavaScript and CSS files have 
been downloaded properly or not 
- Allow inline modification of HTML and CSS rules to see how 
changes affect look and feel of webpage elements 
- Debugger to set breakpoints in JavaScript code 
- Verify variables values 
4 techonestop.com
Invoke Browser Developer Tools 
To open developer tools, right click on any browser and click on ‘Inspect 
Element’. Except right click, each browser has different set of shortcut 
keys also to open Inspect Element window like for Google Chrome: F12 , 
Mozilla Firefox : Shift+Ctrl+Q 
5 techonestop.com
Verify JavaScript file was downloaded properly 
If your code does not appear to be working, very first step is to 
verify JS files have been downloaded to the client properly. To check 
it , go to ‘Source’ tab under Inspect Element and search for files. You 
may use error icon to check JavaScript errors. 
6 techonestop.com
Reasons behind failure to download 
There may be several reasons behind such failure 
- JS file is not properly defined in Manifest Administration 
- Errors in JS file itself 
> Inspector will show you all JavaScript errors and warnings 
7 techonestop.com
Verify Class is properly loaded 
To verify JavaScript Class is properly downloaded to client, go to 
Inspector Console and type SiebelAppFacede.<First few letters of 
class name> 
- If class is properly loaded, auto complete feature of the console will 
recognize the class 
- If not, then verify Class is properly registered in the namespace of 
your JavaScript file or not 
8 techonestop.com
Use SiebelJS.Log() 
Use SiebelJS.Log() to print variable values or any log message on 
inspector console 
- Use val() to get values of elements in Physical Renderer JS file 
- Use GetFieldValue() to get values of controls in Presentation 
Model JS file 
9 techonestop.com
Output of SiebelJS.Log() 
Go to Inspector Console to see the output of the log message 
- Output from all log statements appear in execution order 
- If you have used log statement in multiple places, then add file 
name or any differentiator among log messages so that you could 
understand which log message is coming from which file 
10 techonestop.com
Debugger Statement 
- All modern browser developer tools provide breakpoint, even 
you could add expression on breakpoint 
11 techonestop.com
Debugger Statement (Cont) 
- If your developer tool does not provide breakpoint functionality 
or you want to set breakpoints explicitly, then use ‘debugger’ to 
add breakpoints in your script 
- It behaves same way as browser breakpoint, code execution will 
stop at that point 
12 techonestop.com
Few Recommendations 
- Use JavaScript code quality checking tools before deployment, 
for example JSHint (http://www.jshint.com/), JSLint 
(http://www.jslint.com/) 
- Remove debugger and SiebelJS.log() from script before moving 
to production 
- Try to avoid using alert() to print variable values, it may be 
missed when going from development to production 
> While debugger and SiebelJS.log() are invisible to end users, 
alert() throws an alert message to users 
- Test with all browser and device combinations before moving 
the script to production 
13 techonestop.com
Highlights 
- Use Browser’s Inspector to verify that the JavaScript files have 
been downloaded or not 
- Use SiebelJS.Log() to print variable values or to decide that 
the code execution has reached certain point 
- Use debugger to add breakpoints 
14 techonestop.com
Do you have any questions / Doubts ? 
Write us 
or 
Follow ‘TechOneStop’ on Facebook / Twitter / LinkedIn 
15 techonestop.com
Thank You!!! 
For more information, visit ‘www.techonestop.com’ 
eMail id: admin@techonestop.com 
16 techonestop.com

More Related Content

What's hot (20)

PPTX
Alfresco勉強会#36 alfresco 5でカスタムREST APIを作ってみよう
Tasuku Otani
 
PPT
Siebel Web Service
NAVINKUMAR RAI
 
PPTX
ASP.NET Core MVC + Web API with Overview
Shahed Chowdhuri
 
PPT
Design Pattern For C# Part 1
Shahzad
 
PDF
Siebel 8.1 Certifications Question Answers
Sweta Singh
 
PPTX
Angular modules in depth
Christoffer Noring
 
PPTX
Asp.net MVC training session
Hrichi Mohamed
 
PPTX
React js
Oswald Campesato
 
PPTX
Angular
sridhiya
 
PPTX
ASP.NET MVC Presentation
Volkan Uzun
 
PPT
JavaScript JQUERY AJAX
Makarand Bhatambarekar
 
PPT
ASP.NET MVC Presentation
ivpol
 
PDF
Page Object Model and Implementation in Selenium
Zoe Gilbert
 
PDF
API Testing
Bikash Sharma
 
PDF
JavaScript Fetch API
Xcat Liu
 
PDF
Spring Framework - AOP
Dzmitry Naskou
 
PDF
Design patterns in PHP
Jason Straughan
 
PPTX
jQuery PPT
Dominic Arrojado
 
PDF
jQuery for beginners
Arulmurugan Rajaraman
 
PPTX
Api Testing
Vishwanath KC
 
Alfresco勉強会#36 alfresco 5でカスタムREST APIを作ってみよう
Tasuku Otani
 
Siebel Web Service
NAVINKUMAR RAI
 
ASP.NET Core MVC + Web API with Overview
Shahed Chowdhuri
 
Design Pattern For C# Part 1
Shahzad
 
Siebel 8.1 Certifications Question Answers
Sweta Singh
 
Angular modules in depth
Christoffer Noring
 
Asp.net MVC training session
Hrichi Mohamed
 
Angular
sridhiya
 
ASP.NET MVC Presentation
Volkan Uzun
 
JavaScript JQUERY AJAX
Makarand Bhatambarekar
 
ASP.NET MVC Presentation
ivpol
 
Page Object Model and Implementation in Selenium
Zoe Gilbert
 
API Testing
Bikash Sharma
 
JavaScript Fetch API
Xcat Liu
 
Spring Framework - AOP
Dzmitry Naskou
 
Design patterns in PHP
Jason Straughan
 
jQuery PPT
Dominic Arrojado
 
jQuery for beginners
Arulmurugan Rajaraman
 
Api Testing
Vishwanath KC
 

Similar to Siebel Open UI Debugging (Siebel Open UI Training, Part 7) (20)

PPT
Steps to write Selenium
Rohit Thakur
 
PPTX
Using galen framework for automated cross browser layout testing
Sarah Elson
 
PPTX
Software testing tools (free and open source)
Wael Mansour
 
PDF
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Aravindharamanan S
 
PPTX
Django simplified : by weever mbakaya
Mbakaya Kwatukha
 
PPTX
Selenium Training in Chennai
Thecreating Experts
 
PDF
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
pCloudy
 
PDF
Using HttpWatch Plug-in with Selenium Automation in Java
Sandeep Tol
 
PDF
Selenium with testng and eclipse ide
Testertester Jaipur
 
PDF
Expert Guidance on debugging React Native Apps: Recommended Practices and Han...
Shelly Megan
 
PDF
Guide to Playwright Debugging – Tips and Techniques.pdf
Steve Wortham
 
PDF
Uploading files using selenium web driver
Pankaj Biswas
 
PDF
Getting started with appium
Pratik Patel
 
PPTX
C# Security Testing and Debugging
Rich Helton
 
PDF
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
Andrey Karpov
 
PDF
Debugging programs with Keil uVision
SaravananVijayakumar4
 
PPSX
Test Complete
RomSoft SRL
 
PPTX
Selenium Installation
Sachin-QA
 
Steps to write Selenium
Rohit Thakur
 
Using galen framework for automated cross browser layout testing
Sarah Elson
 
Software testing tools (free and open source)
Wael Mansour
 
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01
Aravindharamanan S
 
Django simplified : by weever mbakaya
Mbakaya Kwatukha
 
Selenium Training in Chennai
Thecreating Experts
 
Different Techniques Of Debugging Selenium Based Test Scripts.pdf
pCloudy
 
Using HttpWatch Plug-in with Selenium Automation in Java
Sandeep Tol
 
Selenium with testng and eclipse ide
Testertester Jaipur
 
Expert Guidance on debugging React Native Apps: Recommended Practices and Han...
Shelly Megan
 
Guide to Playwright Debugging – Tips and Techniques.pdf
Steve Wortham
 
Uploading files using selenium web driver
Pankaj Biswas
 
Getting started with appium
Pratik Patel
 
C# Security Testing and Debugging
Rich Helton
 
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
Andrey Karpov
 
Debugging programs with Keil uVision
SaravananVijayakumar4
 
Test Complete
RomSoft SRL
 
Selenium Installation
Sachin-QA
 
Ad

Recently uploaded (20)

PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Ad

Siebel Open UI Debugging (Siebel Open UI Training, Part 7)

  • 1. Siebel Open UI Debugging Presented by TechOneStop Techonestop.com In a vision to make TECHNOLOGY simple for u 1 Techonestop.com
  • 2. Objectives 1) How to debug Siebel Open UI JavaScript using - SiebelJS.log () - Debugger 2) Recommendations before JavaScript file deployment 2 techonestop.com
  • 3. Suggestions for debugging JavaScript If JavaScript is not running properly in Siebel Open UI 1. Use browser’s developer tools (Inspect Element) to verify that the respective JavaScript file is downloaded properly on runtime 2. Use browser’s developer tools to verify that the JavaScript is running correctly 3. Use SiebelJS.Log() function to log messages 4. Use debugger statement to add breakpoint inside script 3 techonestop.com
  • 4. Browser Developer Tools Almost all modern browsers like Google Chrome, Mozilla Firefox, Internet Explorer 8 or higher version have built-in developer tools that - Provide an inspector to verify JavaScript and CSS files have been downloaded properly or not - Allow inline modification of HTML and CSS rules to see how changes affect look and feel of webpage elements - Debugger to set breakpoints in JavaScript code - Verify variables values 4 techonestop.com
  • 5. Invoke Browser Developer Tools To open developer tools, right click on any browser and click on ‘Inspect Element’. Except right click, each browser has different set of shortcut keys also to open Inspect Element window like for Google Chrome: F12 , Mozilla Firefox : Shift+Ctrl+Q 5 techonestop.com
  • 6. Verify JavaScript file was downloaded properly If your code does not appear to be working, very first step is to verify JS files have been downloaded to the client properly. To check it , go to ‘Source’ tab under Inspect Element and search for files. You may use error icon to check JavaScript errors. 6 techonestop.com
  • 7. Reasons behind failure to download There may be several reasons behind such failure - JS file is not properly defined in Manifest Administration - Errors in JS file itself > Inspector will show you all JavaScript errors and warnings 7 techonestop.com
  • 8. Verify Class is properly loaded To verify JavaScript Class is properly downloaded to client, go to Inspector Console and type SiebelAppFacede.<First few letters of class name> - If class is properly loaded, auto complete feature of the console will recognize the class - If not, then verify Class is properly registered in the namespace of your JavaScript file or not 8 techonestop.com
  • 9. Use SiebelJS.Log() Use SiebelJS.Log() to print variable values or any log message on inspector console - Use val() to get values of elements in Physical Renderer JS file - Use GetFieldValue() to get values of controls in Presentation Model JS file 9 techonestop.com
  • 10. Output of SiebelJS.Log() Go to Inspector Console to see the output of the log message - Output from all log statements appear in execution order - If you have used log statement in multiple places, then add file name or any differentiator among log messages so that you could understand which log message is coming from which file 10 techonestop.com
  • 11. Debugger Statement - All modern browser developer tools provide breakpoint, even you could add expression on breakpoint 11 techonestop.com
  • 12. Debugger Statement (Cont) - If your developer tool does not provide breakpoint functionality or you want to set breakpoints explicitly, then use ‘debugger’ to add breakpoints in your script - It behaves same way as browser breakpoint, code execution will stop at that point 12 techonestop.com
  • 13. Few Recommendations - Use JavaScript code quality checking tools before deployment, for example JSHint (http://www.jshint.com/), JSLint (http://www.jslint.com/) - Remove debugger and SiebelJS.log() from script before moving to production - Try to avoid using alert() to print variable values, it may be missed when going from development to production > While debugger and SiebelJS.log() are invisible to end users, alert() throws an alert message to users - Test with all browser and device combinations before moving the script to production 13 techonestop.com
  • 14. Highlights - Use Browser’s Inspector to verify that the JavaScript files have been downloaded or not - Use SiebelJS.Log() to print variable values or to decide that the code execution has reached certain point - Use debugger to add breakpoints 14 techonestop.com
  • 15. Do you have any questions / Doubts ? Write us or Follow ‘TechOneStop’ on Facebook / Twitter / LinkedIn 15 techonestop.com
  • 16. Thank You!!! For more information, visit ‘www.techonestop.com’ eMail id: [email protected] 16 techonestop.com