Forum Discussion
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi VasanthVijay,
TestComplete 11 uses the JScript engine version 5.8. So, you can use built-in JScript methods and properties to create the script covered your task.
What exactly do you want to implement? Give us some more examples.
- VasanthVijayContributor
Create text file and rename to (.udl)
And that udl file to Project ---->Stores--->Files.
function sa()
{
var fileName = Files.FileNameByName("DatabaseConnection_udl");
var udl = new ActiveXObject("WScript.Shell");
udl.Run(fileName);}
This is for opening the .udl file via testcomplete.
- scsvelFrequent Contributor
I believe you are looking for uploading file to Stores from script. If so, you can do like below.
Related Content
- 11 years ago
- 12 years ago
- 9 years ago
- 12 years ago
- 9 years ago