Need to Email ALM report from Virtual Machine - virtual-machine

Test Execution is done from VMs - each VM has UFT and ALM installed. I would like to send ALM report after a test set execution is completed.
The limitation is that there is no outlook available on VM nor access to a shared path.
Basically the report should be sent at the end of execution without manual intervention.
Notes/Limitations:
Outlook/Shared drive not available on VM (virtual machine)
UFT/ALM is installed on VM
Local system has outlook and ALM but not UFT
As naive as it sounds, but is there a way where control is passed back to local machine from VM ?
I would appreciate any ideas/solution or even alternative to achieve this

ALM has E-mail sending capabilities if the Server is properly configured. Please note it is the HPE ALM Server that can send out the emails and not the client you use to interact with the Server.
Make sure the server can acccess and SMTP Mail Server SMTP Mail Server
afterwards just configure your test sets under the Automation / Execution tab about emails

Related

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

Executing a ping from a remote server

Using VS 2015 and VB.net.
I have a web application and I want to execute a ping from a remote server. The server is running windows Server R2 2012.
The server has a router connected to it that goes to sleep periodically and at the moment we log in to the server and start a ping to the router to wake it up. The web application will be accessed by various users and on a button click the ping would start. The web application is hosted on our web server (not the remote server) and the ping must come from the remote server as the IP address of the router is local to the remote server and not visible to ping from anywhere else.
From my application I want to do this in code but I don't know where to start (been searching for a while).
I am not asking for the code I just want to know what I should be looking at.
using a scheduled task as #Nkosi pointed in his comment is not a bad idea, but the most professional and stable way is to write a windows Service that will handle this task. a service is different than a process, its always runs on the background and NT User is not have to be logged in. you can setup timers to schedule the pinging inside the service application. Creating a Windows Service Application

Can the Lotus Designer 8.5.3 FP6 client run on Windows Server 2012 Standard VM

The overall picture that I am trying to achieve is for me and three other people to connect remotely to a client's network and use Lotus Designer 8.5.3 FP6 to access the client's Domino servers. We will each have our own logons to the client's Citrix environment which runs a Windows 7 desktop, then using Remote Desktop concurrently connect to PC(s) within the client's network to run Lotus Designer from there. (Lotus Designer is not available on the Citrix desktop.)
The issue is that the client is wanting to avoid having four separate physical PCs set up waiting for us to log in. They have Windows Server 2012 Standard virtual machines available.
First question: Can the Lotus Designer client 8.5.3 FP6 run on Windows Server 2012 Standard VM? I know that it is not officially supported, but is there any reason why it wouldn't work?
If it can run, then the second question: Is it possible for all four people to use remote desktop to concurrently log in to one Windows Server 2012 Standard VM, which has a separate instance of Lotus Designer 8.5.3 FP6 installed per user? (and of course run the separate instances of Designer concurrently) Or would we need four separate Windows Server 2102 Standard VMs?
Thanks for any light that can be shed on these questions.
First of all: Designer 8.5.3FP6 will run on Windows Server 2012 although not officially supported.
To start the designer concurrently you need to "fake" a multiuser- installation:
Before installing create an extra drive, e.g. by using "subst".
You might need to do this twice, once for the user himself, once in an elevated prompt, so that installer can access it.
e.g. subst D: C:\NotesUserA
Then you install program and data directory into D:
After that you copy C:\NotesUserA\IBM\Notes to C:\NotesUserB\IBM\Notes, C:\NotesUserC\IBM\Notes, and so on.
In loginscript make sure, that for every user the right Folder is mapped as "D:".
That way it should be possible to start Notes concurrently in different sessions.

SSIS & Business Objects SDK Error: File Repository Server Input is Down

Has anyone accomplished pushing files to a BOE server using SSIS? I am trying to develop a SQL Server 2008 SSIS package that will push report (Excel) files to our Business Objects Enterprise (BO XI 3.1) server. Via a Script Task, I am using the Business Objects .NET SDK components to authenticate and connect to the BOE Server.
I have a copy of the package deployed to a local instance of SQL Server 2008 running on my Windows XP desktop. The package executes successfully (via a SQL Agent Job) and delivers the file to the designated location on the BOE server.
When I deploy the package to our development SQL server (SQL Server 2008 on Windows Server 2008 64-bit) and attempt to execute the package via a SQL Agent job, I receive the error message "File Repository Server Input is down" when the script task attempts to "Commit" the file to the BOE server. The package is able to open a session with the BOE Server, create a new info object, but fails on the infoStore.Commit command.
I have another SSIS package that executes successfully from our development SQL server - it communicates with the BOE server and searches for user sessions. It does not communicate with the Input File Repository - that seems to be the key distinction.
I have found limited information related to this error that indicates firewalls and ports between the SQL Server and BOE server may be the cause. I have reviewed the BOE Administrator's Guide to no avail (most likely due to my lack of understanding related to firewalls and ports). Both servers are within the same subnet and neither server has the firewall turned on. The ports for the BOE CMS servers and the Input/Output File Repository servers have been set to static port ids. Our network guy indicates there should be nothing preventing communication between the servers based on firewall or port settings.
Any help would be greatly appreciated!
Have you tried all the usual 'run as 32 bit' solutions? I guess yuor SDK is a 32 bit one, not a 64 bit one.
http://www.bidn.com/blogs/ShawnHarrison/ssis/2362/ssis-basics-running-a-package-in-32-bit-mode
However the fact the the SDK works for different services implies that it runs OK in 64 bit. So if you want to troubleshoot ports, I found this link http://scn.sap.com/thread/2027785 which indicates that the BOE ports are 6400 to 6411. To check that a given port is open, you go to a DOS prompt and type
TELNET hostname port
So if your BOE server is BOESERVER then you'd try this:
TELNET BOESERVER 6400
to test port 6400. You should get a black screen to indicate it's connected.
However, again, the fact that you seem to be able to connect and operate but not commit implies there is not a port problem as you can connect, just can't commit.
Are there any logs in the BOE side to give you a better idea of the issue?
A resolution to this issue has been identified and verified. The Windows AD account used by the proxy the SQL Agent job uses to execute the SSIS package did not have sufficient privileges on the network. Our DBA gave the account local Windows administrator privileges on the SQL server and this resolved the "File Repository Server Input is down" error I was receiving.
Thanks to those who responded and gave me other ideas to investigate.

Copy files to a remote server via RDP using a script

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