Unit testing in Svelte

Unit testing in Svelte

We are going to set up unit testing in Svelte using Testing Library and Jest. The working version of the project is available here. You can use it as a starter template for your project. 1 – Let’s start with the standard svelte template to create a new project. You need to have Nodejs, npm,…

Read More Read More

Developed a Rich-text Editor for Svelte (svelte-lexical)

Developed a Rich-text Editor for Svelte (svelte-lexical)

Developed a rich-text editor for svelte called svelte-lexical. It is based on Lexical, an open source framework for creating rich-text editors developed by Facebook. Here is the GitHub repo: https://github.com/umaranis/svelte-lexical Technical details

Maximo Anywhere: Monitor Network Traffic using Fiddler

Maximo Anywhere: Monitor Network Traffic using Fiddler

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Maximo Anywhere: Monitor Network Traffic using mitmproxy

Maximo Anywhere: Monitor Network Traffic using mitmproxy

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Dart Code Coverage with Github Actions and CodeCov

Dart Code Coverage with Github Actions and CodeCov

Unit tests and Code Coverage not only improves the code quality but also provides agility in developing new features with confidence. How to set it up for a Dart repository hosted on GitHub? We will be using the following two packages for writing/running unit tests and collecting code coverage data. Package Description test Provides a…

Read More Read More

Programming in Rust

Programming in Rust

Rust has a unique place among programming languages. Apart from being the most loved programming language as often cited in popular surveys, Rust has a distinctive set of features. It is first and foremost a systems programming language. As one would expect, it is statically typed. In this regard, it is different from dynamic scripting…

Read More Read More

Maximo: How to fetch selected records from an Automation Script

Maximo: How to fetch selected records from an Automation Script

In most Maximo applications like Work Order Tracking or Assets, the list of selected records can get retrieved as follows: where service is an implicit variable automatically defined by the framework. It could be a bit tricky to get selected records in uniquely designed applications like Assignment Manager. The way to figure it out is…

Read More Read More

Adding user-defined operations to a Maximo application

Adding user-defined operations to a Maximo application

We can have user-defined operations in Maximo by adding menu items to an application using Application Designer. The functionality of the menu item can be implemented in various ways: invoke an action launch a dialog invoke an automation script invoke a method in Java class Here is how to implement each one of them: Add…

Read More Read More

Load Testing with JMeter – Tips and Tricks

Load Testing with JMeter – Tips and Tricks

Increasing the heap size By default, JMeter uses 1 GB of heap memory. This may not be enough and you may encounter an Out of Memory exception. Maximum Heap memory size can be increased to say 2GB by adding the following line in JMeter startup script: Xmx2g means maximum heap size is set to 1…

Read More Read More