Please enable JavaScript to view this site.

Altova MobileTogether Designer

In the Simulation 2 tab (screenshot below), you can specify simulation settings additional to those available in the Simulation tab (see previous point). These settings include the definition of data sources for the simulation of client-side apps.

Click to expand/collapse

Files on client device:

If the design references files on the client device, then these files will not be accessible during simulations. During simulations, the folder specified in this option will be looked up for client-side files. If client-side files are saved here with the same name as that with which they are referenced in the design, then they will be correctly accessed during simulations.

 

Geolocation settings

Enables default geolocation settings to be defined. See the section Geolocation Settings for details.

 

Contacts Simulation

You can specify whether to use your Microsoft Outlook* contacts to simulate the device's address book. If Outlook is not available, then a file can be used.

 

NFC Simulation

This setting specifies the file to use to simulate NFC tag discovery.

 

Calendar Simulation

You can specify whether to use your Microsoft Outlook* calendar to simulate the device's calendar app. If Outlook is not available, then an XML file can be used to provide calendar simulation data.

 

Client IP Address Simulation

A random text value can be used to simulate the IP address obtained by the mt-client-ip-address function.

 

Read DB-Structure Simulation

Specifies an XML file that contains a connection to a DB that is to be read for simulations of the DB Read Structure action. A dummy XML file, named Sample DB Read Structure.xml, is installed with MobileTogether Designer (version 5.0 and later) and is located in your Windows "My Documents" folder (click link below to see folder location). Note that this XML file contains no DB connection data when it is installed. But you can quickly generate connection information for multiple databases and save this information in the XML file as described below. The DB connection that is used during a simulation will be the one that has the same name as that of the connection in the DB Read Structure action. You can save the XML file to another location, or use some other XML file as the DB connection data file.

 

To generate one or more connections and save these to the currently selected XML file, do the following:

 

1.Click Settings.

2.In the dialog that appears (see screenshot below), click the Add DB button in the toolbar at top left.

MTAppOptionsSimulation2ReadDBData

3.In the DB Connection Wizard that now appears, add a new DB connection by following the wizard's steps.

4.After the DB connection has been created, it will appear in the list of connections (see screenshot above).

5.Click OK to save all the connections to the XML file. If you wish to remove a connection before saving all connections, select that connection in the dialog and click the Delete button in the toolbar at top left (see screenshot above).

 

 

* Microsoft Outlook is part of the Microsoft Office suite. Among other functionality, it provides a contacts manager and a calendar.

 

File paths in Windows 7, Windows 8, and Windows 10

File paths given in this documentation will not be the same for all operating systems. You should note the following correspondences:

 

(My) Documents folder: Located by default at the following locations. Example files are located in a sub-folder of this folder.

 

Windows 7/8/10

C:\Users\<username>\Documents

 

Application folder: The Application folder is the folder where your Altova application is located. The path to the Application folder is, by default, the following.

 

Windows 7/8/10

C:\Program Files\Altova\

32-bit version on 64-bit OS

C:\Program Files (x86)\Altova\

 

© 2019 Altova GmbH