HP ALM VBScript – Upload the Most Recent File in Folder

Some test artifacts are generated with random names or appended with time-stamps. This makes it difficult to attach the right file to the test run. Below is an example to find the latest screenshot file. REM Upload test screenshot. Set fso = CreateObject("Scripting.FileSystemObject") Set folder = fso.GetFolder(screenshotPath) Set recentFile = Nothing REM Search for the… Continue reading HP ALM VBScript – Upload the Most Recent File in Folder

Switch Windows Using Selenium WebDriver

Some web applications open a new window in order to section specific data entry or view. Selenium can switch windows via the window handle. The following is an example and must be configured for a specific website under test. // Store the current window handle String winHandleBefore = driver.getWindowHandle(); // Perform the click operation that… Continue reading Switch Windows Using Selenium WebDriver

Get Entity Field Values as String in Java

The following uses the Apache Commons Lang library that provides the ReflectionToStringBuilder class to assist in the construction of object field values into a single String value. This is quite useful for the viewing all the objects field values and assignments in an easily readable format. The below example uses JDK 1.8 and the Apache… Continue reading Get Entity Field Values as String in Java

Selenium ChromeDriver for Android

Selenium is well known with automation testing of web applications, but a lot of businesses are moving their attention away from the desktop and onto the mobile platform. The Selenium ChromeDriver allows Selenium tests to be run in a Chrome browser. The best part, is that the Chrome browser on Android devices are compatible. The… Continue reading Selenium ChromeDriver for Android

The IT Journey

To create something by just using your mind is one of the greatest achievements anyone can do. The IT industry is exciting, dynamic and continues to evolve through each generation. Developing software provides an indescribable feeling of accomplishment and instant satisfaction. The transition of an idea to an application is a journey no-one forgets and… Continue reading The IT Journey