I work as an automation tester. Recently got a new task on validating the files opened in PuTTy server. But I do not have any idea how to proceed on this. I am wondering if there is a possibility to establish a connection between RFT and the PuTTy server.
If there is any other way, kindly suggest.
RFT comes with an Extension for Terminal Based application. Using that extension you can connect to your server. RFT provides automation for this Extension, which means that once you are connected to the host using this extension you can use RFT recorder to read the content of the screen.
You may want to look at this article to see how it works.
Related
I have my robotframework setup on my PC.
I would like to connect to a remote windows client, have it open a browser and access a URL.
Verify that the pages has loaded.
Pretty basic but since I am new to RF, I wanted to know how that would work.
For Linux machines, I would use the SSHLibrary and just execute commands (wget) but for the windows machine, I need to use the browsers.
Do I need RF installed on the destination client RDP?
Do I need the webdrivers for each browser on the client RDP?
How would I go about logging in the Windows machine through RDP?
After Logging in with RDP, I run the same "open broswer" with broswer and URL?
Thanks!!!
The use case you describe - a browser to be opened & controlled on a remote machine, is precisely what Selenium solves.
Though in day-to-day work or debugging we are usually starting a local browser, SE is preliminary designed for remote execution. So head to www.selenium.dev, and focus on the Grid - that's the component you are after.
I'm that approach, answers to your specific questions:
no, you need Robot Framework and selenium library on the local machine, and only selenium & webdriver on the remote.
you don't need the drivers on the client - the selenium library is all you communicate with in your code; you need them installed in the remote only.
on the local you will get the logs of the webdriver commands execution; actual browser manipulation logs are only on the remote and the hub (but these are really debugging ones, everything high-level for the functional execution is local).
you don't really log into RDP with this approach (RDP is totally out of the picture here), and yes - your code is the same as running on local browser - Open Browser, Get Text, etc - but, executed on a remote machine.
If you want to see why 1) and 2), head to the answer over here (shameless plug 🙂)
My Python code as well as my Python environment are on a remote server. I can access this server from my thin client via SSH. I'd like to use Pycharm or VS Code for remote editing. In order to use smart code navigation and autocompletion the IDE should also access the remote Python interpreter. I am aware of plugins for SSH remote editing but I haven't seen any integrations of remote interpreters. Any suggestions would be greatly appreciated.
PyCharm Professional has support for remote interpreters. The code base though needs to be local.
I am working in different kind of UI Automation and need to explore Citrix automation, can anybody suggest any live example for citrix automation so that i can give it a try and explore.
Thanks,
Install UiPath CE.
Get access to another computer via Remote Desktop. Maybe boot one up via AWS or Azure.
Try to automate a program on the remote machine from your own machine via UiPath (which is installed on your own machine).
And as Poof commented, only Image (i.e. Click Image) and Hotkeys are usable. But if you use the Citrix Recording option, that should remove any activities that is not usable :)
Which options do we have to do automated UI testing on remote computers connected via RDP, if I don't want to install anything on the remote computer?
My only idea is to open the rdp session always in the same way and use recorded mouse and key strokes, but there are some disadvantages, e.g. I assume it's slow?
Anyways, do you know any open source or proprietary tools I can use? Best would be that I have to install nothing on the remote machine and play the record on my local machine.
Starting with UFT 11.50 (previously known as QTP) there is support for image based testing.
You can have one machine with UFT installed and replay on other machines via RDP using Insight UFT's image based automation solution.
eggPlant Functional allows you to automate the UI of any app on Windows machines using an RDP connection. It's pretty fast assuming you are connecting over a decent network, and you don't need to install anything additional on the target machine.
How can I run a non-console graphic session without RDP session on windows? For example, if I want to create my own remote desktop server with another protocol?
Yes, the term to do what you are looking for is Remote Desktop Protocol Provider Interfaces. That MSDN link will walk you through the process of writing your own provider.
It will be a lot of work, but if you want to make your own provider it can be done. If you explain more about why you want to do this we may be able to provide better solutions.