Forum Discussion
Once you have disconnected from the remote desktop, you don't have access to TestComplete any more. You're getting what the system has left, which is the clipboard.
What are you trying to accomplish by disconnecting from the remote desktop? Why not finish saving the picture in TestComplete and then disconnect after that?
- nimishbhuta6 years agoFrequent ContributorBasically,I am creating custom excel report and storing the screenshot of the failure and some important passed one.
In the disconnected mode,it is taking the screenshot but partially.
Regards,
Nimish- AlexKaras6 years agoChampion Level 3
Hi,
Note, that the mentioned tscon command does not close your UI session, but switches it to admin console one which can have different screen resolution than yours. I am not sure about the details, but can imagine the situation, when the size of the browser window remains the same and thus, on the lower screen resolution, part of the window appears out of desktop viewport, thus is not captured and creates impression of partial screenshot.
Does this look like the reason?
Another note: As you are working with web browser and if you are not interested in browser's window itself, you may consider .PagePicture() method instead. This method takes screenshot of complete web page scrolling it automatically.
- nimishbhuta6 years agoFrequent Contributor
Hi,
I tried with the PagePicture method but the result is the same it shows partial image. As, I am using tscon it command it shows desktop console of that virtual machine, so not sure if it has become low resolution.
I have attached the file to show how the images looks with connected mode and disconnected mode.
Related Content
Recent Discussions
- 17 hours ago
- 19 hours ago
- 21 hours ago