how to connect to vm - virtual-machine

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.

Related

Connecting Oracle guest on VirtualBox to a macOS Host

I use oracle DB Developer on VirtualBox to create databases using SQLDeveloper. I use VirtualBox since I can't download SQL Developer on MacBook. I'm writing a Java code on eclipse with an SQL connection on the host machine. How can I connect establish a connection between the guest machine and the host machine?
I've tried to do the port forward option through VB's network adapter setting. When I tried localhost:8000, the page wasn't accessible. I'm honestly not sure if this is even a valid solution for my problem.
Anyone has a suggestion on how to connect my host machine to the database on the guest machine?

How to do jprofiling in local machine without installing or downloading jprofiler in remote machine

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.

Run UFT script from Local Machine on Remote Machine

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.
:)

Can I copy files to a VM when I used ESX?

I use ESX infrastructure and installed VM Tools on my VM.
When I used VM Workstation I could copy files and text between my computer to the VM that run on it.
Can I do the same when the VM placed on ESX server and not on my computer? (With VM Tools for example?)
Thanks!
Yes you can do it.
If you can't you need to check isolation properties of VM.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026437

Disk2vhd Hyper-V server question

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)