Forum Discussion
TanyaYatskovska
SmartBear 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.
VasanthVijay
10 years agoContributor
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.
- scsvel10 years agoFrequent 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
Recent Discussions
- 2 hours ago