HPE mobile center server configuration - hp-uft

I need to install the HPE Mobile Center Connector on my local pc without any server just for a trial with UFT. can anyone advice what should i give in the Mobile center IP Address? since server port is by default: 8080

If you want to test mobile with UFT you need to have a mobile center server installed.
The Mobile Center Connector is not used by UFT, it's just a way to connect mobile devices to the MC server without physically connecting the device to the server machine. You should think of the connector as a way to extend the MC server. UFT connects to the server and can see all devices connected to the server (either physically or via connector) so if you don't have a server machine the connector has no meaning.
You can install the MC sever on a virtual machine if this helps.

You can install MC all in one which includes server + connector. It's supported for both Windows & Linux.
There is a trial version so you can test it with UFT.

If you want to try out Mobile testing with UFT, there is a free resource that you can use:
https://marketplace.microfocus.com/appdelivery/content/uft-mobile-add-in-for-local-device
More info from Micro Focus marketplace:
"This “add-in” acts as a connector between UFT and the mobile devices connected directly to the UFT machine. In just a few steps, UFT users can start designing and running mobile app and web tests on one local mobile device at a time without purchasing an additional license. Whether you work in Retail, Telecom, Finance, or other adjacent industries, the UFT Mobile Add-in for Local Devices is a great fit for testers who need to:
Execute their omnichannel content strategy using the same script for desktop and mobile web content
Support mobile testing in organisations that do not have a lab management solution in place
Run mobile tests without needing a new tool for mobile only"

Related

Facing issue while trying to record a mobile native application using Loadrunner with VPN

I'm facing an issue while trying to record a mobile native application using Loadrunner (Remote application via Loadrunner proxy).
I am using a client provided laptop / mobile devices for testing.
Initially, I was not able to record the mobile app via LR proxy using the client's laptop, but I was able to do the recording using my personal laptop. After raising tickets and having multiple sessions with the helpdesk team, we figured out that we are able to record the mobile app by disabling the VPN on the client laptop, but fail when the VPN is enabled (as the IP address is being changed to the VPN network).
Disabling the VPN is against the client security policy and I don't even have the admin rights to disable it.
As suggested by the helpdesk team, I have tried installing pulse secure and connecting the mobile device to the VPN (so that the mobile and laptop would be under the same client network), but it failed to record.
Network team wouldn't work on the issue as it is not related to network elements (routers, switches and firewalls, etc.), but to the user end-point.
I am not able to do recording with Jmeter or capture traffic using Fiddler as well with the VPN being connected in the laptop. All of the mentioned tools were able to do the recording from my personal laptop.
We are now stuck without any option to proceed further.
Please comment if anyone has faced the issue or has insights on the next steps that I need to approach this.

Thingworx client for windows 10

I want to gather some information from a windows 10 machine over the internet using the thingworx platform.
Here's a scenario:
Admin logs into thingworx app
Exisiting or new computer (windows 10 ) is added (serial number computer)
Thingworx platform creates a thing based on a created template
User receives application key which will be entered on a client which is installed on the computer
Client is started based on event and sends data to thingworx platform
Communication is secured
Is there a best practice or even a client available / open source or Licence based which relieves the headache of security etc.?
Yes, alwaysOn is used mostly as web socket protocol for communication between devices & ThingWorx platform. Apart from these one case also use MQTT.
If you want to use for Demo/Academic Purpose then use Thingworx Academic Simulator. I have been using it for Testing many scenarios.
Download Link - http://apps.ptc.com/schools/software/ThingWorxAcademicSimulatorSetup.exe

Why is remote SmartCard not found when using RDP

I'm using Windows Server 2008 R2 which runs a VB6.0 application that uses a smartcard locally.
I then connect to this machine remotely using Remote Desktop Connection (6.3). However now the application shows the following error (SmartCard):
0x8010001d The Smart card resource manager is not running.
Research so far:
I don't want to use redirection as the card is on the remote machine already.
Using RDP the way I am trying to use it for is wrong and tightVNC is more appropriate (This does fix the issue)
Unsure - SCardEstablishContext API is returning that error because it gets an Access Denied error when trying to open an event called "Global\Microsoft Smart Card Resource Manager Started" with OpenEvent API. The default security for that event on Vista and Windows 7 specifies that only SYSTEM, LOCAL SERVICE and INTERACTIVE users have access to it. NETWORK SERVICE or non-interactive users won’t be able to access the event.
Why is the SmartCard not being recognised?
Any Information would be appreciated.
NOTE: The smartcard works fine when the application is on Windows Server 2008 R2 - however only fails when connecting remotely.
It is not possible, you can't use the locally plugged smartcard of the server you RDP into, as your session is redirected to the client then only the clients smartcard is accessible in the rdp session.
Microsoft made it like this for security reasons.
But there is a turn around, like sharing the device (smartcard reader, Usb token, Usb devices ) using software or hardware :
softawre examples (i only found paid solutions), see link
or hardware using a Device server but it doesn't work through WAN only LAN.
Use VNC instead of RDP
TLDR: Use VNC as a Windows Service
If you insist on using RPD, then you'll have to patch your RDP DLLs. If you don't want to do this, then instead use ANY OTHER PROTOCOL other than RDP. If it's a vmware VM, then just use the vcenter console. If it's an Azure VM where you don't GET a console, then just install VNC-server-softer on the server that has the Smart Cards and then access from somewhere else via VNC-client. "TightVNC" (https://community.chocolatey.org/packages/tightvnc) worked nicely for me.
There are two ways to run TightVNC server:
TightVNC Server (Service Mode) -- Connecting with VNC-client will take you to the Windows logon screen.
TightVNC Server (Application Mode)
You will need to run TightVNC as a Windows Service. Then you will start a NEW session. Otherwise you'll just be on top of the existing RDP session and still not see remote Smart Cards.
Long Version
If you RDP into a remote server, then that remote server's Smart Cards will be hidden. That behavior is baked into RDP and it is BY DESIGN.
You can optionally take your LOCAL Smart Cards along into the RDP session. (Via mstsc.exe's "Local Resources" tab and then checking "Smart cards".) But these are the Smart Cards connected LOCALLY to your laptop. And NOT the Smart Cards connected to the remote server.
So if you use RDP, then you have option to either see no Smart Cards at all (neither local, nor remote) or just see your LOCAL Smart Cards. To see the REMOTE Smart Cards is NOT possible via RDP.
This is by design inside RDP. And if you want to change it, then you have to manually patch some .DLL files. And somebody has actually done this. See this question here:
How to Access Remote USB Smartcard during RDP
Before you create your Remote Desktop session, click on "Show options". Under the "Local Resources" tab there is a "Local devices and resources" panel. Click the "More" button.
Click on "Smart Cards". No complete the remote desktop session.

Windows Store App, VPN, RAS Api

Our windows store app allows user to manage (create or dial) VPN profiles.
For this functionality we use
RAS Api (create and dial VPN profile)
RAS Api
Wlan Api (listen to wifi networks) - will be changed to classes with Windows.Networking.Connectivity in windows8
Wlan Api
We face following troubles for Windows Store application:
RAS API functions don't work properly under windows store application template (as example RasEnumDevices return error code 5 - Access Denied).
However it works good from desktop application launched on windows 8.
Question: how we could get RAS API to work under window store applications? If that is absolutely impossible - is there any other way to create VPN connection in app developed for Windows Store?
All user's VPN profiles stored by Windows OS in "..\Microsoft\Network\Connections\Pbk\rasphone.pbk", file could be found on file system manually, but we don't have access to this file via API, either we can't access it directrly. Current workarround uses own created PBK file located in users profile folder.
Question: how we could get access to system VPN connections stored in OS.
Thanks.
Hotspot Shield VPN for Windows offers private browsing to ensure the privacy of your web session.
Check it out here: http://www.anchorfree.com/hotspot-shield-VPN-download-windows.php

Why can't I connect to a site on my local network with WP7 via Wifi?

I am working on a WP7 application that retrieves data from a web service. The web service was written by a co-worker and is hosted on a server connected to the office network. The app works just fine in the emulator. However, when I run the app on the actual phone (HTC Surround) it can't connect to the web service. If I try to open a website hosted on the same server that doesn't work either. However I can connect to other websites just fine.
One thing to note is - I don't have a SIM card in the phone, so the only available data connection is via WiFi, which connects to the office network (the same network that the service is hosted on).
I'm able to hit this website just fine from my laptop (on the wired office network), via an Android phone using WiFi, and via an Android phone using 4G.
What could be going on here? Alternatively - how can I debug this issue?
Thanks
I'd start debugging it by using Connectify.me (or something similar) to re-broadcast the wifi network you're having problems with, start Fiddler up and analyze what happens when the device's browser connects to some external site vs the site hosted on your network.

Resources