Function fn_getFileName is a simple and amazing unit of code. This function takes a parameter that is a string of some file path and then it will return you the file name from that entire string. This file name can be used to create a new copy of the file, to move the file to a different location, to backup the file and anything else you can imagine.
Downloadable Code: fn_getFileName
Take a second to Tweet our site link. We appreciate your support!
Latest posts by Admin (see all)
- SQA QTP tutorial – WebList identified as a web element and how to select an item from this list - December 9, 2015
- Automation QTP tutorial-double clicking on any object - December 4, 2015
- Software Automation QTP tutorial – 5 top reasons for using automation - November 23, 2015