Testing Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Testing Commands >

Testing Commands

TST.Generate HouseNumber

Previous Top Next


MiniRobotLanguage (MRL)

 

TST.Generate HouseNumber

Creates a randomized german house phone number

 

 

Intention

 

The TST.Generate House Number command automatically creates a randomized german house phone number, typically used for landline connections.

This tool is especially useful in scenarios requiring the generation of realistic phone numbers for testing databases, forms, or any application where valid landline numbers are needed.

 

Realism: Generates phone numbers that resemble actual landline formats, enhancing the realism of test data or simulated environments.

Simplicity: Requires only an output variable, streamlining the process of generating phone numbers across multiple instances or test cases.

Versatility: Useful in a variety of testing and development scenarios, from populating contact databases to verifying form input fields.

 

Utilizing the TST.Generate House Number command, developers and testers can quickly and efficiently produce a wide range of house phone numbers, aiding in thorough and effective testing processes.

This command simplifies the creation of valid phone number data, reducing the manual effort involved in generating test cases or sample data sets.

 

The generated numbers are for testing purposes and do not correspond to real phone lines. They should not be used for any form of communication.

While randomized, the format and structure of the generated numbers are predefined, which may not cover all global landline number variations.

The command generates numbers without considering country-specific formats or area codes, which may be necessary for applications requiring geographically accurate data.

 

' Generate a random house phone number and store it in $$N01

TST.Generate House Number|$$N01

DBP.A random generated House-Phonenumber is $$N01.

 

     Result:

A random generated House-Phonenumber is 00157 178 8047.

 

 

 

Syntax

 

 

TST.Generate House Number[|P1]

 

 

Parameter Explanation

 

P1 - (optional) The variable where the generated house phone number will be stored. If omitted the result is on TOS.

 

 

 

Example

 

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

' TST.-Sample

'***********************************
' Generate a random house phone number and store it in $$N01

TST.Generate House Number|$$N01

DBP.A random generated House-Phonenumber is $$N01.

ENR.

 

 

 

 

 

Remarks

 

-

 

 

Limitations:

 

-

 

 

See also: