Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Aravindharamanan S
Software testing is a process, to evaluate the functionality of a software application with an intent to find whether the developed software met the specified requirements or not and to identify the defects to ensure that the product is defect free in order to produce the quality product.
Learn why you should put your blackbox (or system/integration) tests into Docker Containers.
Brief (remedial) overview of Docker for software testers who don't know docker, and only need to know the basics to wrap their regression tests inside of a container.
In this quality assurance training, you will learn Selenium- Installation. Topics covered in this session are:
• Installing Selenium IDE
For more information, visit this link: https://www.mindsmapped.com/courses/quality-assurance/software-testing-training-beginners-and-intermediate-level/
In this session you will learn:
Installing Selenium IDE
For more information, click here:
https://www.mindsmapped.com/courses/quality-assurance/software-testing-tutorial/
I am Kefa J. I am a Database Management Homework Expert at databasehomeworkhelp.com. I hold a Ph.D. in Programming, Princeton University, USA. I have been helping students with their homework for the past 12 years. I solve homework related to Database Management.
Visit databasehomeworkhelp.com or email info@databasehomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with Database Management Homework.
Softwaretestingtoolsfreeandopensourcefinal 150411221750-conversion-gate01Aravindharamanan S
Software testing is a process, to evaluate the functionality of a software application with an intent to find whether the developed software met the specified requirements or not and to identify the defects to ensure that the product is defect free in order to produce the quality product.
Learn why you should put your blackbox (or system/integration) tests into Docker Containers.
Brief (remedial) overview of Docker for software testers who don't know docker, and only need to know the basics to wrap their regression tests inside of a container.
In this quality assurance training, you will learn Selenium- Installation. Topics covered in this session are:
• Installing Selenium IDE
For more information, visit this link: https://www.mindsmapped.com/courses/quality-assurance/software-testing-training-beginners-and-intermediate-level/
In this session you will learn:
Installing Selenium IDE
For more information, click here:
https://www.mindsmapped.com/courses/quality-assurance/software-testing-tutorial/
I am Kefa J. I am a Database Management Homework Expert at databasehomeworkhelp.com. I hold a Ph.D. in Programming, Princeton University, USA. I have been helping students with their homework for the past 12 years. I solve homework related to Database Management.
Visit databasehomeworkhelp.com or email info@databasehomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with Database Management Homework.
SWTBot is a open source UI testing tool for SWT and Eclipse based applications. It requires bare minimum learning since it is Java based and integrates well with the JUnit framework.
An ideal unit testing tool for SWT and Eclipse based applications developers.
A talk about unit testing for iOS apps. Part rambling introduction to test driven development, part examples of certain types of tests for iOS, and a brief mention of writing your tests using Kiwi.
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...Andrey Karpov
The next PVS-Studio version 5.15 will be able to analyze projects built by absolutely any build system: Makefile, Visual Studio Project, user-made build systems based on Python, Bash or whatever else... It will allow you to simply "watch" compiler calls and collect all the necessary information to run the analyzer in automatic mode. Moreover, it works with any (sensible) C/C++ compiler under Windows. Want to know more?
Some of the most often asked selenium interview questions and answers. These questions are coding based.
These questions are sample questions, which are going to be part of soon to be published "Selenium Interview Questions and Answers" book on Amazon.
Techcanvass is an IT certifications training organization and conducts Selenium training programs as listed below:
Java Selenium 3.0 Training
--------------------------------------
http://techcanvass.com/Courses/selenium-training-course.aspx
Python Selenium 3.0 Training
---------------------------------------------
http://techcanvass.com/Courses/selenium-training-with-python.aspx
Techcanvass is a software development and training organization. We provide IT certifications training for mid-level professionals.
We specialize in the following areas:
a) Selenium v3.0 training with Java and Python
b) IIBA Business Analysis certifications (all levels)
c) Certified Agile Business Analyst Training
d) Data Science Training ( R, Python and Big Data) and Tableau
Website: http://techcanvass.com
Facebook Page: https://www.facebbook.com/Techcanvass
Twitter Handle: @techcanvass
Most projects in CF now involve creating some type of consumable CFC Endpoint or API Service... do you Unit test your API, do you use Integration Tests on your API? How many ways do you test your API? Not all tests are created equal.
Description
Most projects in CF now involve creating some type of consumable CFC Endpoint or API Service... do you Unit test your API, do you use Integration Tests on your API? How many ways do you test your API? Not all tests are created equal.
We build our CFCs and CF API to be consumed with CF Apps, Mobile Apps, Javascript apps and devices we haven’t even thought about yet. To be smart developers we need to be able to test our CFC endpoints, and the code that uses those endpoints.
We’ll learn how to test your API serverside with Testbox and Clientside with Jasmine.
With Testbox and Jasmine both using BDD, your test code can almost be isomorphic.
Attendees should have some exposure to CFCs as endpoints, or CF API creations, and consuming with other languages/devices, in this case, JavaScript.
## Attendees will learn
How to use Testbox to test your CFCs 2 different ways
Different types and ways to test JavaScript
Overview of client/server side testing tools
Building testing into your workflow
You are one of many that are not testing your APIs thoroughly
The importance of automated unit tests and continuous integration is a well known fact, but in mobile applications unit tests just aren't enough. This presentation shows the importance of UI tests on iOS applications, and demonstrates how to build complex automated UI tests using the modern frameworks, focusing with Apple's UIAutomation framework and Gorilla Logic's FoneMonkey framework.
We continue checking Microsoft projects: analysis of PowerShellPVS-Studio
It has become a "good tradition" for Microsoft to make their products open-source: CoreFX, .Net Compiler Platform (Roslyn), Code Contracts, MSBuild, and other projects. For us, the developers of PVS-Studio analyzer, it's an opportunity to check well-known projects, tell people (including the project authors themselves) about the bugs we find, and additionally test our analyzer. Today we are going to talk about the errors found in another project by Microsoft, PowerShell.
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"Agile Testing Alliance
#Keynote Session by Aditya Garg, "Selenium 4 Observability – a 90 Min Hands on Lab" at #ATAGTR2021.
#ATAGTR2021 was the 6th Edition of Global Testing Retreat.
The video recording of the session is now available on the following link: https://www.youtube.com/watch?v=Ud54lj9jO70
To know more about #ATAGTR2021, please visit: https://gtr.agiletestingalliance.org/
SWTBot is a open source UI testing tool for SWT and Eclipse based applications. It requires bare minimum learning since it is Java based and integrates well with the JUnit framework.
An ideal unit testing tool for SWT and Eclipse based applications developers.
A talk about unit testing for iOS apps. Part rambling introduction to test driven development, part examples of certain types of tests for iOS, and a brief mention of writing your tests using Kiwi.
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...Andrey Karpov
The next PVS-Studio version 5.15 will be able to analyze projects built by absolutely any build system: Makefile, Visual Studio Project, user-made build systems based on Python, Bash or whatever else... It will allow you to simply "watch" compiler calls and collect all the necessary information to run the analyzer in automatic mode. Moreover, it works with any (sensible) C/C++ compiler under Windows. Want to know more?
Some of the most often asked selenium interview questions and answers. These questions are coding based.
These questions are sample questions, which are going to be part of soon to be published "Selenium Interview Questions and Answers" book on Amazon.
Techcanvass is an IT certifications training organization and conducts Selenium training programs as listed below:
Java Selenium 3.0 Training
--------------------------------------
http://techcanvass.com/Courses/selenium-training-course.aspx
Python Selenium 3.0 Training
---------------------------------------------
http://techcanvass.com/Courses/selenium-training-with-python.aspx
Techcanvass is a software development and training organization. We provide IT certifications training for mid-level professionals.
We specialize in the following areas:
a) Selenium v3.0 training with Java and Python
b) IIBA Business Analysis certifications (all levels)
c) Certified Agile Business Analyst Training
d) Data Science Training ( R, Python and Big Data) and Tableau
Website: http://techcanvass.com
Facebook Page: https://www.facebbook.com/Techcanvass
Twitter Handle: @techcanvass
Most projects in CF now involve creating some type of consumable CFC Endpoint or API Service... do you Unit test your API, do you use Integration Tests on your API? How many ways do you test your API? Not all tests are created equal.
Description
Most projects in CF now involve creating some type of consumable CFC Endpoint or API Service... do you Unit test your API, do you use Integration Tests on your API? How many ways do you test your API? Not all tests are created equal.
We build our CFCs and CF API to be consumed with CF Apps, Mobile Apps, Javascript apps and devices we haven’t even thought about yet. To be smart developers we need to be able to test our CFC endpoints, and the code that uses those endpoints.
We’ll learn how to test your API serverside with Testbox and Clientside with Jasmine.
With Testbox and Jasmine both using BDD, your test code can almost be isomorphic.
Attendees should have some exposure to CFCs as endpoints, or CF API creations, and consuming with other languages/devices, in this case, JavaScript.
## Attendees will learn
How to use Testbox to test your CFCs 2 different ways
Different types and ways to test JavaScript
Overview of client/server side testing tools
Building testing into your workflow
You are one of many that are not testing your APIs thoroughly
The importance of automated unit tests and continuous integration is a well known fact, but in mobile applications unit tests just aren't enough. This presentation shows the importance of UI tests on iOS applications, and demonstrates how to build complex automated UI tests using the modern frameworks, focusing with Apple's UIAutomation framework and Gorilla Logic's FoneMonkey framework.
We continue checking Microsoft projects: analysis of PowerShellPVS-Studio
It has become a "good tradition" for Microsoft to make their products open-source: CoreFX, .Net Compiler Platform (Roslyn), Code Contracts, MSBuild, and other projects. For us, the developers of PVS-Studio analyzer, it's an opportunity to check well-known projects, tell people (including the project authors themselves) about the bugs we find, and additionally test our analyzer. Today we are going to talk about the errors found in another project by Microsoft, PowerShell.
#ATAGTR2021 Presentation - "Selenium 4 Observability – a 90 Min Hands on Lab"Agile Testing Alliance
#Keynote Session by Aditya Garg, "Selenium 4 Observability – a 90 Min Hands on Lab" at #ATAGTR2021.
#ATAGTR2021 was the 6th Edition of Global Testing Retreat.
The video recording of the session is now available on the following link: https://www.youtube.com/watch?v=Ud54lj9jO70
To know more about #ATAGTR2021, please visit: https://gtr.agiletestingalliance.org/
Different Techniques Of Debugging Selenium Based Test Scripts.pdfpCloudy
Writing and maintaining the test automation code is not always a piece of cake. As a matter of fact, we frequently face many scenarios where automated test cases don’t work as expected and might lead to false positive or false negative results, in such cases, debugging is the only way out.
.NET Conf 2019 Tel-Aviv Israel
There are cases where bugs are discovered only after the product is shipped and used by the end-users. The main reason for these bugs that appear only in the production environment is the use of real user scenarios with real user data. Production debugging is about solving customer-facing issues that aren't easily reproducible in the development or testing environments. When it comes to a cloud-hosted application, production debugging becomes even harder. The code is running on multiple hosts, a business flow can span many services. A remote debugging session with the cloud is dangerous and may introduce side effects to the currently running software, such as performance degradation, interruption of service, and data correctness issues.
In this lecture, we will see how we can remote debug our cloud staging environment, and how we can use Visual Studio Snapshot debugger to set Snapshots and Log points in our production environment.
To get even more insights, the audience will see a revolutionary tool and approach for a collaborative production debugging – OzCode Debugging as a Service (DaaS), where the DevOps and the Dev team can solve production problems together!
You will learn:
1. The difficulties of debugging a modern cloud-hosted application
2. Methods and tools for capturing the state and debugging cloud-hosted services
Siebel Open UI Debugging (Siebel Open UI Training, Part 7)Tech OneStop
Siebel Open UI Debugging (Siebel Open UI Training, Part 7): Debugging is one of the most important and difficult tasks for all software developers, be it Siebel or anything else. So far we have discussed about Siebel Open UI Architecture, Customization of Presentation Model, Physical Renderer, Open UI Theme and Manifest Administration. Here we will discuss how to debug script in Siebel Open UI.
This presentation demonstrates the installation of NewGenLib integrated library management software on Windows XP. The illustration is on a local machine.
ICON UK 2016: Modernizing an IBM Notes applicaton using with AngularJSMark Leusink
Slides from my ICON UK 2016 session. Session abstract:
Modernization of IBM Notes applications is a topic that is on the map for many IBM customers. With one of my customers, a Norwegian manufacturing company, we started a project last year to modernize a business critical Notes application. We decided early on to keep using Domino in the backend, but switch to AngularJS for the frontend. In the session I'll talk about how we approached the project and got to a working prototype. Topics I will cover include responsibilities, development workflow, technical setup and issues we ran into. I'll explain the architecture that we are using, the components involved and how we integrated with IBM Connections and Infor. Keywords for this session: AngularJS, Nginx, REST, IBM Domino, Connections, Infor M3 and Infor Document Management.
Escaping the yellow bubble - rewriting Domino using MongoDb and AngularMark Leusink
Slides from my ICON UK 2014 session held on September 13, 2014 at IBM Southbank, London.
The session was an introduction to the MEAN stack (Mongo, Express, Angular and Node).
Slides of my session at DanNotes on the use of Bootstrap with XPages, including using the Bootstrap4XPages plugin.
View the demos at http://bootstrap4xpages.com
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
4. Who’s that?
Freelance consultant/ developer
IBM Notes/ Domino
XPages, web, client, mobile
OpenNTF Board member & contributor
Auto Logins
XPage Multiple File Uploader
XPage Debug Toolbar
IBM Champion
Bootstrap4XPages.com
5. Debugging in Designer
For Java & SSJS (as of Designer 9)
Based on standards
Java Platform Debugger Architecture (JPDA)
‘Remote’ debugging
Enable on server
IDE (Designer/ Eclipse) connects to server on
specified port
6. Debugging in Designer
Not recommended for productions servers
Impacts performance & security
Only 1 developer can connect at a time
… but that’s not a problem
… since we don’t debug applications on production
servers
Right?
8. Server Side JavaScript debugger
New in Domino 9
Configured and works (almost) the same as
the Java debugger
Debug SSJS in
XPages
Custom controls
SSJS libraries
9. Activating the debuggers - server
Add configuration to notes.ini:
Add this row only if you
want to debug SSJS too
JavaEnableDebug=1
JavascriptEnableDebug=1
JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000
Tip: if you click on the “Debug” icon in the
toolbar, you can copy-paste these settings from
there
10. Activating the debuggers - server
Restart the server
Watch for this:
Port needs to be open(ed) in the firewall
Works with local HTTP preview too
Tip: If the local preview won’t start, try starting the
local HTTP task from a command prompt
Run “nhttp preview” from your Notes folder
11. Activating the debugger - code
Set breakpoints
Right-click in gutter
Add ‘debugger’ statement (SSJS)
Don’t use this in Designer < 9 !
Stop at first line of JavaScript code
12. Starting a debug session
Click the triangle next to the “bug” icon
(this is Designer 9, icon looks slightly different in 8.5)
Select an existing configuration or click “Manage…”
13. Starting a debug session - Java
Name for this configuration (can be any)
IP Address of your server
Port that the Debugger listens on
16. Debug perspective
Designer automatically asks to open Debug perspective when
it suspends
Breakpoint or ‘debugger’ statement in SSJS
Change behaviour in Preferences > Run/Debug > Perspectives
Tip: switch perspectives using Ctrl-F8 in Designer
18. Keyboard shortcuts
F5
F6
F7
F8
Step into
Step over
Step exit
Continue
F8
F5 F6 F7
Strange issue with the F6 key
With the default Designer/ Eclipse binding it doesn’t work
If you create your own binding to F6 it does
Do this in File > Preferences > Type “keys” in filter
20. Partial refresh timeouts
When you’re debugging your page may say:
Increase timeout using JavaScript:
XSP.submitLatency = 600000;
//that’s 600 secs
21. Display view
Window > Show Eclipse View > Display
Run an expression in the context of a breakpoint
and view the result
Only works with Java debugger
With code completion
22. Expressions view
Window > Show Eclipse View > Expressions
Inspect the current state of objects
2 ways to add:
Right-click on expression in ‘Display’ view
Type in manually
23. From SSJS to Java
You can debug Java code when you’re
debugging SSJS code
But NOT using “Step into” (F5)
It will only stop on breakpoints in the Java class
24. Disconnect
When you’re done: disconnect your debugging
session
Java debugger
SSJS debugger
26. Background/ features
Debug tool for XPage developers
Free download from OpenNTF
Part of OpenNTF Essentials Toolkit
Or download directly from GitHub
Features
Log debug messages
View contents of scopes
Log file reader
API Inspector
27. Installation
2 ways to install:
Download from OpenNTF, copy to your application
Use the OpenNTF Import/ export tool
28. Installation
Add the ccDebugToolbar custom control to
your XPage
Add the (dBar) managed bean
(optionally) Change the default settings using
custom control properties
collapseTo
defaultCollapsed
color
30. Scope contents
Shows contents of
applicationScope
sessionScope
viewScope
requestScope
Remove a variable
Or clean an entire scope
Modify values through the Inspector
31. Environment variables
Information about the current:
User
Browser
Server
Database
Request
Java heap size
Maximum heap size
Allocated
Used
Free
32. Inspector
View classes for controls on the current page
And change them
View any variable:
Scoped variables
Managed beans
Any XPage runtime object
Drill-down to see what value/ object is returned
33. Messages
Alternative to print() or _dump() functions
No server console access needed
Your messages only
Makes your admin happy
Add messages using:
dBar.debug( “message” );
dBar.info( “message”);
dBar.warn( “message” );
dBar.error( “message” );
dBar.dump( <object> );
34. Messages
Specify a context: dBar.info( “message”, “context” );
dBar.error() function accepts ‘error’ objects:
try {
var doc:NotesDocument = null;
var id = doc.getUniversalID();
} catch (e) {
dBar.error(e);
}
Add a divider to the messages list: dBar.addDivider();
35. Messages
Add debug messages from Java:
DebugToolbar.get().info( “message” );
DebugToolbar.get().warn( “message” );
Or catch an Exception
DebugToolbar.get().error( e );
36. Log messages to documents
Create log documents for all dBar calls
All required code built-in
Uses the OpenLog (form/fields) format
Use the OpenLog database to view them
Log level can be set: log only messages with a
certain log level (or ‘higher’)
warn = warn + error
debug = debug + info + warn + error
37. Log messages to documents
Configure using managed properties
logDbPath
logEnabled
logLevel
current, logdb.nsf
true, false
debug, info, warn, error
Logging will continue even if the toolbar isn’t
displayed
38. Best practices
Add [debug] role to the ACL
Set loaded property of the ccDebugToolbar only for
[debug] role:
loaded=“#{javascript:context.getUser().getRoles().contains(‘[debug’]}”
Enable logging to documents (errors/ warnings only)
logLevel = “warn”
No design changes needed when moving to production