Tipi di parametri nelle origini dati della tabella
Le tabelle seguenti sono riepiloghi di vari tipi di parametri disponibili in DataSource basato su tabella e quale stringa di tipo può essere usata per rendere il file DataSource compatibile nei test nativi, gestiti e script.
Nota
I tipi "String", "int", "bool", "double", "__int64", "unsigned __int64" e "XML" possono essere usati in tutti i test, gestiti, nativi o script.
Per impostazione predefinita, se il tipo non è specificato, si presuppone che il tipo sia "String". Vedere la prima riga in ogni tabella.
Per specificare il tipo di matrice insieme a qualsiasi tipo specificato in precedenza, è sufficiente aggiungere "[]" alla fine del tipo.
Per i test nativi
ParameterType | LanguageType |
---|---|
"String" | WEX::Common::String |
"int" | INT |
"unsigned int" | int senza segno |
"bool" | bool |
"double" | double |
"__int64" | __int64 |
"unsigned __int64" | unsigned __int64 |
"DWORD" | DWORD |
"size_t" | Size_t |
"NoThrowString" | WEX::Common::NoThrowString |
"XML" | WEX::Common::String |
Per i test gestiti
ParameterType | LanguageType |
---|---|
"String" | string |
"Int32" o "int" | INT |
"uint" o "uint32" | uint |
"bool" o "boolean" | bool |
"double" o "decimal" | decimal |
"__int64" o "int64" | int64 |
"unsigned __int64" o "uint64" | uint64 |
"DWORD" | uint |
"XML" | string |
Per i test di script
ParameterType | LanguageType |
---|---|
"String" o "BSTR" | VT_BSTR |
"int" | VT_INT |
"unsigned int" o "uint" | VT_UINT |
"bool" | VT_BOOL |
"double" | VT_R8 |
"__int64" | VT_I8 |
"unsigned __int64" | VT_UI8 |
"XML" | VT_BSTR |