Forum Discussion
rachel_dunlop
12 years agoOccasional Contributor
Hi Rachel,
one way of doing it is using vbscript string concatenation,
C:\Folder\filename1.23.4567.8910.Blah.zip
String1="C:\Folder\filename1.23.4567."
String2=build version
String3="Blah.zip"
Finally, the file name will be
FileName=String1 & String2 & String3
Here, the file name is constructed dynamically in run time.
Pls let me know if this solution helps you or you are looking for something different.
@Murali, Further investigation on my part shows I can in fact get a string which contains the build number dynamically during the test.
Our test lead would prefer us to use javascript not vb, do you know if that makes a difference?
Now its just actually piecing the bits together in TestComplete that I need to work out.
Related Content
- 10 months agooriShalhon
- 4 years agomats2021
- 3 years agoAAB
Recent Discussions
Check PopupMenu exists
Solved2 days agomfoster711- 2 days agosimonaferrara
- 3 days agomacheshmeh