We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Hi,
Try something like this:
var strItemFullName = 'Imagerepository.imageset.item';
var Button = eval(strItemFullName);
Button.Click;
Does this help?
Hi AlexKaras,
The use of eval() proven to be working before converting the passed parameter to a string.
Many Thanks,
Here's how you read data from an Excel file
https://support.smartbear.com/testcomplete/docs/testing-with/working-with-external-data-sources/excel/read.html
The repository name won't be any different than any other piece of data. You can either grab it directly from Excel in the script or you can read it into a variable from Excel and have your script access the variable.
Hi,
Try something like this:
var strItemFullName = 'Imagerepository.imageset.item';
var Button = eval(strItemFullName);
Button.Click;
Does this help?
Hi AlexKaras,
The use of eval() proven to be working before converting the passed parameter to a string.
Many Thanks,