Testing Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Testing Commands >

Testing Commands

TST.Get LastName By Country

Previous Top Next


MiniRobotLanguage (MRL)

 

TST.Get LastName By Country Command

Generates a randomized last name

 

 

Intention

 

The TST.Get LastName By Country command generates a randomized last name that aligns with the naming conventions of the specified country.

This tool is invaluable for creating culturally accurate test data for user profiles, customer databases, or any application requiring last names that reflect specific national identities.

These names are taken from a limited Pool of names.

Cultural Accuracy: Adheres to cultural and linguistic norms for last names, based on the selected country code.

Ease of Use: Simplifies the process of obtaining culturally specific last names with just a country code and a variable for output.

Versatility in Application: Suitable for a wide range of testing and development needs, particularly in international applications requiring user data from diverse backgrounds.

 

By utilizing the TST.Get LastName By Country command, developers and testers can enhance the quality and relevance of their testing datasets with minimal effort.

This command facilitates the creation of more engaging and representative user scenarios, ensuring applications are tested with a realistic variety of user data.

 

 

Syntax

 

 

TST.Get LastName By Country|P1[|P2]

 

 

Parameter Explanation

 

P1 - The country code determining the nationality for the generated name. This parameter influences the name's cultural and linguistic characteristics, aligning them with the specified country.

       

The command supports generating last names for the following countries, using their respective country codes:

 

ENG - England

GER - Germany

ITA - Italy

SPA - Spain

SLO - Slovenia

FRA - France

IRL - Ireland

POL - Poland

RUS - Russia

TUR - Turkey

 

P2 - The variable where the generated name will be stored. If omitted TOS is used.

 

Example

 

'***********************************

' TST.-Sample

'***********************************
' Generate a random last name based on German naming conventions and store it in $$N01

TST.Get LastName By Country|GER|$$N01

DBP.A random Last Name is $$N01.

ENR.

 

Result:
A random Last Name is Neumann.

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: