I am a newbie in UFT automation, and I am facing this scenario.
Scenario: I am accessing an application on a remote machine. And I am trying to automate this application. I have HP UFT installed on my local machine, not on the remote machine.
I want to know if it is possible to automate on the remote machine from my local machine? Could you please point me to some reliable articles so I can it up from there?
I have read articles about setting up DCOM settings and access rights along with some registry settings, but with all suggesting to have UFT installed on the remote machine.
Note: I cannot get UFT installed on the remote machine, as it is a third-party machine.
Thanks in advance.
Yes That is right.
You can't Execute your QTP script on Remote Computer if QTP is not installed in Remote Machine.
Cause When you will try to execute the Following line,
Set qtApp = CreateObject("QuickTest.Application", "RemoteComputerName")
It won't happen. As To run QTP script you need to have QTP where your AUT is present.
If it's not QTPscript (Like Normal VbScript etc) then it's possible using WshController object.
But that's not your requirement though.
:)
Related
I want to do jprofiling of our remote tomcat server from local machine.
In our linux box we dont have Jprofiler installed or downloaded.
Please suggest if we can do remote profiling without installing Jprofiler in the remote machine.
Thanks in advance.
In JProfiler, invoke
Session->Integration Wizards->New Server Integration
choose the remote option and select the Tomcat server, then follow the steps in the integration wizard.
I have my application(AUT) on a VM and the QTP is installed my local machine with Seat license. When I try to record QTP is not recognising anything in VM, including login. How to solve this problem and whats the script to connect to VM?
As far as I know, it is not possible to connect to an application running on a VM with QTP running on the local machine. In order to make this work, install QTP on the VM and run it purely inside the virtual machine.
Hello all I have a backed up about 30 servers using disk2vhd and now I have built my first of many hyper-v severs I did not realize this is all command line I did download CoreConfigurator and that does have some functionality I have been looking for. My question is how do I get the VHD files to run a Vitual Machines? its all command line I tried via vbs to mount the VHD's and I have not been able to any help on this would be great!
Thanks!
If you are using servercore, You maybe can do everything from the command line but I always prefer to have one computer running a Non server core version of windows 2008 to be the management server. You will load up Hyper-V manager on the non server core box and manage your Hyper-V server.
To have no "management" servers or desktops on your network will be a big pain IMO for management.
Using Hyper-V Manager you can quickly load the VHD's as VM's.
So load up Hyper-V Manager on a desktop PC on your localnet, and use its connect option to connect to your servercore. (Make sure your firewall settings are ok on servercore using coreconfig)
I have to run a batch job which sits in the windows server from my unix box.
Or from my local machine.
The win server has a userName/Pwd .
How do i programmatically connect to the windows machine and run the batch?
(The batch will change some file permissions in that machine)
Please let me know if there is a better way of handling this situation
A lot of this depends on how you authenticate on the windows machine, the network relation you have to it from your local and unix machine and what level of permission you will need to run the task ons the remote batch file.
I can say that in Windows, you could start by possibly creating a script that stores the username and password needed to connect to the remote machine in a variable, and in that script have it connect to the machine over a network and run the batch as that user.
How woudl you connect to the remote windows server? is it on a LAN or VPN type environment, do you connect with ssh or do you normally map it over the network?>
We have a couple production servers that are configured to only allow access via RDP. There are no acessible shares. The dev team have no say in changing this setup but we want to automate code deployments to these machines. Presently we have to set Remote Desktop to share a local drive with the server, then RDP to the server and manually copy the deployment.
Any one know of a way to tunnel over RDP and drop files to a given directory on the remote host from the command line? The instructions will need to be included in an MSBuild configuration.
If you can get WS-MAN set up, PowerShell remoting and/or pmodem might be your ticket? https://web.archive.org/web/20180429054125/http://www.nivot.org/blog/2009/11/default