Posted by Albert Gareev on Jan 23, 2009
Parent page: Service Functions – Dictionary (QTP, TestComplete, VBScript) Description Converts a string of comma-separated sets of parameters. Example: “User1 {login=john_doe, password=john1}, User2 {login=jane_doe, password=jane1}” Implementation ...
Posted by Albert Gareev on Jan 14, 2009
Parent page: Service Functions – Dictionary (QTP, TestComplete, VBScript) Description 1. Clone Dictionary object with all parameters 2. Copy parameters from one Dictionary to another 3. Release objects associated to Dictionary keys Implementation CloneParameters CopyParameters ReleaseParameters ...
Posted by Albert Gareev on Jan 09, 2009
In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from. In my blog I maintain the similar structure. Basic Operations AssociateParameters (QTP, TestComplete, VBScript) ParametersToStr (QTP, TestComplete, VBScript) Clone/Copy/Release Dictionary Parameters (QTP, TestComplete, VBScript) Advanced Structures AssociateRecords (QTP, TestComplete, VBScript) Mapping Excel col ...
Posted by Albert Gareev on Jan 03, 2009
Parent page: Service Functions – Dictionary (QTP, TestComplete, VBScript) Description Does exactly opposite what AssociateParameters does – converts a Dictionary back to the string of pairs. Special characters are treated. Implementation ...
Posted by Albert Gareev on Jan 02, 2009
Parent page: Service Functions – Dictionary (QTP, TestComplete, VBScript) Description Converts a string of comma-separated pairs “a=1, b=2, c = 3” to a Dictionary object. Spaces will be trimmed. Special characters: “=” “,” – can be escaped with backslash. Replace special characters in the string – associate pairs – replace characters back. Implementation ...