Can someone show me how to show a screenshot of a file that just got created, much more to show proof the file was created.
I have a run script routine created to tell me if the file was created but I would like to capture a screenshot of the file as well or if its not possible can it be appended to the result log instead.
The test is done with the Keyword test but if adding a routine is easier by own mean please give me an example.
The end goal is to save the proof the file was created if someone wants to recheck it later.
Solved! Go to Solution.
You have two solutions, one by Explorer, one by cmd.
Explorer
Cmd
In both that will slowdown your test execution and implies files and rights access.
If it happens frequently, keep the Explorer or Cmd instance opened to reduce time/action.
How to manipulate Explorer and Cmd ? take a glance at the TestComplete samples
Un sourire et ça repart
You have two solutions, one by Explorer, one by cmd.
Explorer
Cmd
In both that will slowdown your test execution and implies files and rights access.
If it happens frequently, keep the Explorer or Cmd instance opened to reduce time/action.
How to manipulate Explorer and Cmd ? take a glance at the TestComplete samples
Un sourire et ça repart
Hi,
If textual evidence is enough, you may consider the approach mentioned here (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/console/working-with-stdin-and-s...) - it will not require getting and screenshotting of additional windows.
Thank you a lot Alex and BenoitB. Great suggestions.
Hi @Ned , please mark the suggestion that works for you best as a solution
These solution will work for me, but will I try to do Benoit's direction first.
Thank you a lot Alex and BenoitB. Both are great suggestions
Great! I'll go ahead and mark this reply as a solution for now then
User | Count |
---|---|
14 | |
10 | |
7 | |
2 | |
1 |
Subject | Author | Latest Post |
---|---|---|