Encountering error to attach and upload file in truclient protocol
I like to upload the file in one of the fuctionality, while recording the script it recorded the path from desktop.
While execute the test from the performance center script may fail since the similar path and file is not available on performance center LG. I cann't create a folder and paste files in LG since I don't access to LG machine.
While searching on the internet I found option is
1. Add file to script folder
2. attach file to extra files of the script: While perform this noticed Xred icon on file icon, is this refer to any error in attachement process?
3. Utils.import(TC.scriptDir + "\Doc_10MB.jpg"); use that in set path.
Encountering API_ERROR_INVALIDARGUMENTSRUNTIME: Utils.import("UnderfindDoc_10MB.jpg") APIError: Invalid_path during evaluation.
Below microfocus link says to contact software support.
Any suggestions on this.
Re: Encountering error to attach and upload file in truclient protocol
BUT, also note that on the examples page of TruClient Functions, 'TC.scriptDir' is assumed to end with a '\' or '/', so no need to add your own. This is explicitly stated on TruClient Properties page for 'LR.outputDir' (See also Caution remark at top of page).
Reward community members who take time to respond and help.