Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

Vendor

View Recorded Webinars

Black Duck Software Press Releases - Sun, 01/01/2017 - 05:59
View Recorded Webinarshleclair Sun, 01/01/2017 - 04:59 Resource Type Webinars Resource Content Black Duck has many webinars available on demand. Explore our webinar library today. Resource Link https://www.blackducksoftware.com/resources?type=31&topic=All&keyword= Exclude from resource page Exclude from resource page
Categories: Vendor

Setting up Medical Device Software Development Projects in Compliance with IEC 62304 and ISO 14971 (in collaboration with adesso AG)

Intland Blog - Wed, 10/19/2016 - 17:00
Webinar date: Wednesday 19 Oct 2016 Time: 4:00 PM (CET) / 10:00 AM (ET) / 7:00 AM (PT) Webinar duration: approx. 30 min What you can learn: The maintenance and sharing of reliable information with all stakeholders, and the creation
Categories: Vendor

Contain your risk: Deploy secure containers with trust and confidence

Black Duck Software Press Releases - Thu, 09/22/2016 - 16:00
Contain your risk: Deploy secure containers with trust and confidencehleclair Thu, 09/22/2016 - 15:00 Resource Type Webinars Resource Content Organizations are increasingly turning to container environments to meet the demand for faster, more agile software development. Resource Image Resource Link https://www.brighttalk.com/webcast/13983/215567?utm_campaign=website&utm_medium… Resource Topic Security Exclude from resource page No
Categories: Vendor

Medtech & Pharma Platform – Innovation at the Interface

Intland Blog - Thu, 09/22/2016 - 11:00
Date: 22-23 September 2016 Location: Congress Center Basel Booth number: 44 Medtech & Pharma Platform is a conference that aims to facilitate the collaboration between the medical technology and pharma industries. Professionals attending the event will have a chance to
Categories: Vendor

Medtech & Pharma Platform – Innovation at the Interface

Intland Blog - Thu, 09/22/2016 - 11:00
Date: 22-23 September 2016 Location: Congress Center Basel Booth number: 44 Medtech & Pharma Platform is a conference that aims to facilitate the collaboration between the medical technology and pharma industries. Professionals attending the event will have a chance to
Categories: Vendor

Should you Use Agile, Waterfall, or a Hybrid Solution?

Intland Blog - Wed, 08/31/2016 - 17:00
Webinar date: Wednesday 31 Aug 2016 Time: 4:00 PM (CET) / 10:00 AM (ET) / 7:00 AM (PT) Webinar duration: approx. 30 min What you can learn: With the growing popularity of Agile development methods, lots of companies and development
Categories: Vendor

RanoreXPath – Tips and Tricks

Ranorex.com: Latest News - Thu, 08/25/2016 - 14:00

The RanoreXPath is a powerful identifier of UI elements for desktop, web and mobile applications and is derived from the XPath query language. In this blog we will show you a few tips & tricks on how to best use the various RanoreXPath operators to uniquely identify UI elements. You can then use these RanoreXPaths in your recording and code modules to make your automated tests more robust.

Overview

Using RanoreXPath operators

Element Browser

The Ranorex Spy displays the UI as hierarchical representation of elements in the Element Browser view. The RanoreXPath can be used to search and identify items in this UI hierarchy.

In this example, we’ll use the tool KeePass as application under test (AUT). This open source password manager application is one of our sample applications delivered with Ranorex Studio. If you have multiple applications open, Ranorex Spy will list them all. Filtering the application you want to test will increase speed and give you a better overview. To do so, track the application node of KeePass and set it as root node (context menu > ‘Set Element as Root’). Now, only the main KeePass form and its underlying elements are visible.

Ranorex Spy

General Layout of RanoreXPath

RanoreXPath expressions are similar to XPath expressions. They share both syntax and logical behavior. A RanoreXPath always consists of adapters, attributes and values:

Layout of RanoreXPath

The adapter specifies the type or application of the UI element. The attribute and values specify adapter properties.

The absolute RanoreXPath of our KeePass form looks like this:

RanoreXPath of AUT

The form is an adapter specifying the type or classification of the UI element. It is followed by the attribute value comparison, which identifies the requested element. In this example, the comparison operator is a simple equality.

If you want to know more about how the RanoreXPath works, we recommend our dedicated user guide section.

Search for multiple button elements

You can list all buttons elements that are direct children of a designated positon in your AUT. Have a look at these two examples:

1. List all buttons that are direct children of the KeePass toolbar:

To do so, simply set the toolbar as root node and type ./button into the RanoreXPath edit field, directly after the given RanoreXPath.

Relative path to all child buttons

This will create a relative path to all child nodes of the actual node, which are buttons.

Element Tree with Child Buttons

2. List all buttons of your AUT:

Navigate back to the form adapter, set it as root node and type in .//button.

Relative path to all buttons

You’ve now created a relative path to all descendants of the actual node, which are buttons. These are all buttons of all levels of the subtree of the current element.

Element Tree with all Buttons

Identify controls with a specific attribute

You can also create a path to controls, to filter them according to specific attributes. In this example, we want to find all checked checkboxes.

Open the “Find” dialog in KeePass (<CTRL><F>), as this dialog contains checkboxes, and set it as root node. Now, you can validate which item of the checkbox control has the attribute “checked” set to true. To do so, enter “//checkbox[@checked=’True’]”:

RanoreXPah for Checked Checkboxes

As you can see, only the checked checkboxes will be visible in the Element Browser.

Element Tree with all checked checkboxes

Identify checkboxes by combining attributes

You can further extend the previous example by combining attributes. This enables you to, for example, omit certain items from the search, or search for specific items.

1. Omit a specific item from the search

You can omit a specific item from the search using the “not equal” operator and the “and” conjunction. In this case, we want to omit the item “&Title”:

RanoreXPah for Checked Checkboxes excluding Title

Element Tree with all checked checkboxes excluding Title

2. Seach for specific items

You can use the “or” instead of the “and” conjunction to extend your search and only look for specific items. Extend the checkbox search to look for the items “&Title” and “&URL”:

RanoreXPah for Checkboxes

Element Tree with checkboxes

Recognize related elements using the parent operator

After running the Ranorex desktop sample project, there will be two entries in our AUT – one for a WordPress and one for a Gmail account. In this case, we’d like to find the username of the “Gmail” KeePass entry:

RanoreXPah for username of gmail entry

Element Tree username of gmail entry

Username of gmail entry

Start with the RanoreXPath to the cell containing the text “Gmail” (framed in red). Next, use the relationship operator “parent” to reference the parent node of the current element. In this example, it’s a row (framed in blue). The index “[2]” navigates to the second cell, which contains the Gmail username (framed in green).

Recognize related elements by using preceding- and following-sibling

Another way to search for related elements is to use the relationship operator “preceding-sibling”. In this example, we want to find the title of a KeePass entry based on its username.

Relationship operators

The command “preceding-sibling::cell” lists all preceding cells. In this case, the result is the title (framed in blue) which corresponds to the given username (framed in red).

RanoreXPath Preceding Sibling

Element Browser Preceding Sibling

In contrast, the command “following-sibling::cell” delivers all following cells. In our case, these are all following cells (framed in blue) that correspond to the given username (framed in red).

RanoreXPath Following Sibling

Element Browser Following Sibling

Identify attributes fields using regular expressions

You can also use regular expressions in attribute conditions to identify attribute fields. In this example, we’d like to filter cell adapters that contain an email address in their text attribute. Regular expressions matching an email address may look like this: “.+@.+\..+’”.

RanoreXPath Regular Expression

Element Browser Regular Expression

The “~” operator instructs Ranorex to filter attribute fields using a regular expression. The “.” in our regular expression matches every single character, while the “+” specifies that the preceding element has to occur one or more times. To escape special characters (such as “.”), enter a backlash before the character.

In our example, every expression will match that contains the character “@” with one or more characters before and after it, followed by a “.”, which is followed by one or more characters.

For more examples on how to use regular expressions in RanoreXPaths, please have a look at this user guide section: RanoreXPath with regular expression.

Identify attributes with dynamic values

Dynamic attribute values change each time an element is displayed anew. Fortunately, dynamically generated content usually has a prefix or postfix. To identify dynamic elements, you can either use regular expressions, as described above, or use the ‘starts with’ or the ‘ends with’ comparison operators:

  • ‘>’: The value of the attribute must start with the given string
  • ‘<‘: The value of the attribute must end with the given string
Conclusion

The RanoreXPath enables you to find and uniquely identify every single UI element of desktop, web and mobile applications. You can use the RanoreXPath operators to make your test suite more robust and identify even dynamic attribute values.

RanoreXPath Overview  RanoreXPath Editor 

The post RanoreXPath – Tips and Tricks appeared first on Ranorex Blog.

Categories: Vendor

Risk Management in an Agile Environment

Intland Blog - Wed, 08/24/2016 - 17:00
Webinar date: Wednesday 24 Aug 2016 Time: 4:00 PM (CET) / 10:00 AM (ET) / 7:00 AM (PT) Webinar duration: approx. 30 min What you can learn: Managing risks is crucial in the development of safe and reliable products. Thoroughly
Categories: Vendor

CollabNet Released New TeamForge Version

Software Development Tools Directory - Tue, 08/23/2016 - 16:19
CollabNet has announced the latest version of its TeamForge platform. New capabilities offer improved visibility and traceability that connect various development teams during every stage of the application lifecycle. It allows for greater flexib ...
Categories: Vendor

Protected: How To Make $801,732 By Speaking Like A 12-Year-Old

VisibleThread - Mon, 08/22/2016 - 19:50

This content is password protected. To view it please enter your password below:

Password:

The post Protected: How To Make $801,732 By Speaking Like A 12-Year-Old appeared first on VisibleThread.

Categories: Vendor

Sylma

Software Development Tools Directory - Mon, 08/22/2016 - 16:10
Sylma is a XML programming language and a web components library written in PHP, it allows easy web developement with XML document organised in directory tree, then compiled into PHP script to insure best performances.
Categories: Vendor

Intern

Software Development Tools Directory - Mon, 08/22/2016 - 16:09
Intern is a complete test system for JavaScript designed to help you write and run consistent, high-quality test cases for your JavaScript libraries and applications. It can be used to test any JavaScript code. It can even be used to test non-Jav ...
Categories: Vendor

How an Agile Team Should Adopt Continuous Delivery

Intland Blog - Fri, 08/19/2016 - 08:34
For developers considering adopting continuous integration or continuous delivery and are using a wide range of tools for development purposes, you have a golden opportunity to take the step that all growing developers eventually take, to leapfrog competitors to the
Categories: Vendor

Why DevOps is Essential for IoT and Innovation

Intland Blog - Wed, 08/17/2016 - 09:06
Constant innovation is central to building a great product, sounds great doesn’t it? However, often for the operations teams, constant innovation is tiring, – a roadblock to doing their job effectively. It means more changes to communicate to the customer,
Categories: Vendor

MapR Gets $50 Million in Funding

Software Development Tools Directory - Tue, 08/16/2016 - 17:31
MapR Technologies has announced an equity financing of $50 million. The additional funding accompanies yet another consecutive record quarter. The company continued to advance at a rapid pace in Q2, with more than a 100 percent increase in bookin ...
Categories: Vendor

Rocket Software Opens Access to IBM Mainframe Programming

Software Development Tools Directory - Tue, 08/16/2016 - 17:26
Rocket Software has announced the availability of 30 free open source tools and languages for IBM z Systems mainframes that allow programmers to work on mainframe computers without knowing COBOL or assembly language. These ported versions of popu ...
Categories: Vendor

Percona Delivers Open Source In-Memory Engine for Percona Server for MongoDB

Software Development Tools Directory - Tue, 08/16/2016 - 16:46
Percona announced the availability of Percona Memory Engine for MongoDB, a 100 percent open source in-memory storage engine for Percona Server for MongoDB. Based on the in-memory storage engine used in MongoDB Enterprise Edition, WiredTiger, Perc ...
Categories: Vendor

MuleSoft and Pivotal Collagorate to Deliver Application Networks

Software Development Tools Directory - Tue, 08/16/2016 - 16:42
MuleSoft has announced it is collaborating with Pivotal®, the company accelerating enterprise digital transformation, to deliver application networks on the Pivotal Cloud Foundry platform. Customers who want to create a network of application ...
Categories: Vendor

Sauce Labs Adds Pipeline Plugin to Accelerate Continuous Delivery With Jenkins

Software Development Tools Directory - Tue, 08/16/2016 - 16:38
Sauce Labs announced an update to its OnDemand plugin for Jenkins with explicit support for the Jenkins Pipeline plugin. The move enables development and testing teams to easily create, manage and run automated tests using scripts on Jenkins, res ...
Categories: Vendor