Ask a Question

Navigating the Windows Explorer

sirping
Occasional Contributor

Navigating the Windows Explorer

I need to test a website that basically exports some settings that I previously set. The file is saved at a specific path that I know and the filename is also known. The issue that I am having now is navigating the Windows Explorer (File Explorer) when I want to import that config file. Is there a better way to do this? and if not how can this be done. 

Just to clearify: I press the "Import" Button and the Explorer opens up. So how can I chose the file that I want.

 

Thanks in advance.

Michael

2 REPLIES 2
vinniew
Staff

HI @sirping 

 

What kind of file is it? 

 

Like is it XML data? if so we could work with this via DOM 

https://support.smartbear.com/testcomplete/docs/testing-with/working-with-external-data-sources/xml....

 

Alternatively if the file is known and does not change we could command line arguments in testcomplete 

 

KR

 

Vinnie 

sirping
Occasional Contributor

Hello @vinniew 

 

Thanks for your reply! 

No the file being used has a custom file extension (.fpc).

When I click on import the Windows Promt opens with the file explorer asks me to chose a file. Is there an elegant way to do this or do I need to Map the file explorer in TC to do this.

 

Thanks 

cancel
Showing results for 
Search instead for 
Did you mean: