I have a few automated tests (Java based webdriver) that cause my application under test to generate a pdf and download it. Next, the test picks up the file and parses it to make sure the content in the pdf was created in the expected manner. When I run these tests on my local network, I download the files into a folder that is accessible to all machines within our network so that whatever machine kicked off the test can also find the file for parsing. When I run these tests on CBT, I don't have that luxury. Is there a way to send the downloaded file back through the tunnel to my local network for parsing? I'm not seeing anything in the API to support that functionality.
Solved! Go to Solution.
Unfortunately, it's impossible to get a file from CBT. So, such a test cannot be executed in CBT.
Not sure about webdriver (I understand it as Selenium), but documentation for TestComplete says that it is possible from CBT to work with resources from the local network via http:// and file:/// protocols (https://support.smartbear.com/testcomplete/docs/working-with/integration/cbt/preparing/tests-with-lo...).
Also, there is description how to open (multiple) CBT tunnels using Java/NodeJS (https://support.smartbear.com/testcomplete/docs/working-with/integration/cbt/local-connections.html, last section of the topic).
Far not sure, but maybe the above will inspire you with some good ideas...
Yep, it's Selenium. I've been playing around with some of the ideas mentioned in your links. I think I should be able to use the file:/// method to get a workaround going. Thanks for the input!
If you don't mind, I'll appreciate it if you update this thread with the results (either positive or not) for the benefit of others...