Currently we create a device in STC, save the config as an XML file and load that XML file into iTest. This isn't ideal because if we need to change something then we might need to change it in many XML files (assuming 1 XML file per test case). What we would like to do is eliminate the XML file completely and simply create the device using commands from within iTest. I've found the command addHost which appears to add a device but it has a limited set of properties that I can configure, for example I can't assign 2 vlans to the device. If I use the STC gui from within iTest then it also appears to have a limited set of properties. Is there any way I can get access to these addition properties? To put this a different way, here are the steps I would normally do in STC to create a device, how would I do those steps in iTest without an XML file? - Click Add - Ethernet - Access, tick DHCPv4 - IPv4, 2 VLANs - VLANS as 3160 and 100 - Finish - Tick 'Enable Relay Agent Circuit ID' - Enter a value from 'Relay Agent Circuit ID' Thanks, Michael
The upcoming release of iTest, 4.4, expected in June, will allow you to do exactly what you are requesting, i.e. create an STC test case without using an XML file. You could do that by either adding the commands one by one from within iTest, or using a new feature in STC to save a configuration as a test case that builds it up from scratch, i.e. no XML file.
Unfortunately, iTest had limited set of properties to configure a device from GUI. But we can use STC API commands through iTest TestCenter console to add/configure a device according to our requirement. ![alt text] : /storage/temp/4023-api.png