Hi,
I am using the below method to attach a file but it’s not working.
WebUI.uploadFile(findTestObject(‘Fields in Activate a Client in SWIFT Form/attachment’), ‘C:\Users\au-tshadab\Desktop\SST_Comments.txt’)
Object repository path: Fields in Activate a Client in SWIFT Form/attachment’
File path in local: C:\Users\au-tshadab\Desktop\SST_Comments.txt
Do you have an error message?
How about try:
WebUI.uploadFile(findTestObject('Fields in Activate a Client in SWIFT Form/attachment'), 'C:\\Users\\au-tshadab\\Desktop\\SST_Comments.txt')
1 Like