Forum Discussion

Largent803's avatar
Largent803
Contributor
3 years ago

Locating away where Copying and Pasting Data into a Web Textbox with multiple user accounts

I have a Website where I go outside of the Website and Copy in a Word File and a Excel Spreadsheet to the Web Textbox. The files are the same whether I am in my system or another users system and th...
  • hkim5's avatar
    hkim5
    3 years ago

    Largent803 

    my second reply should solve that problem for you, since we are no longer using hostname, but using the Sys.UserName instead (which should give you the "Largent" or any other username value that you wanted; that is, whoever logged on to the VM with testcomplete should run this script and expect to get their username filled into that path)

    as for exporting as a script file, that is not possible (nor would it be helpful, since you cannot run these scripts outside of the TC environment)