Testing Windows Phone or Windows Mobile

If you want to project your Windows Phone screen to a Microsoft Windows desktop machine and then control the phone from that desktop, you can with the Microsoft Project My Screen app.

This configuration requires that you run a virtual network computing (VNC) server or Remote Desktop Protocol (RDP) on the Windows desktop machine you want to use to control your phone. Note that mobile-specific commands either work differently or are not applicable because you are using the Project My Screen App and not the actual device as shown below.

  • Swipe: SwipeUp and SwipeDown work correctly, but SwipeLeft and SwipeRight do not. To swipe left and right, we recommend using the Drag and Drop commands.
  • TypeText: Because keyboard inputs are not passed to the mobile device, TypeText can be used to control the desktop, but not the mobile device. To enter text onto the mobile device, you must interact with the soft keyboard. We provide example handler scripts (TypeWindowsPhone and DialWindows10Phone) in the WindowsPhonesWithProjectMyScreen suite for you to download on the Eggplant Functional downloads page. They're listed on this page under Helper Suites.
  • Rotate & Pinch: Rotate, PinchIn and PinchOut commands will not work.

要件

Following are the requirements for this configuration:

  • Use the versions of the Windows operating systems on the Windows desktop machine with the Windows Phone versions as specified below:
    • For use with Windows 8.1 Phone: Windows 8.1 or higher
    • For use with Windows 10 Mobile: Windows 10
  • Keep the Windows Phone connected the desktop machine with a USB cable at all times.
  • Install the Microsoft Project My Screen app on the Windows desktop machine.
  • Install a VNC server or use RDP on the Windows desktop machine for connections. We recommend using RealVNC Server.

Instructions to Control the Phone from Eggplant Functional

Follow these instructions to configure the Windows Phone, Windows desktop machine, Microsoft Project My Screen app, and Eggplant Functional products to work in this scenario:

  1. Download the Microsoft Project My Screen app to the Windows desktop machine.
  2. Configure the screen resolution you want and then you must keep it constant. You must keep the resolution constant because the device screen is scaled by the Project My Screen app. If the resolution changes, it causes image searches to fail in Eggplant Functional. If you are using a VNC server, you configure the screen resolution on the Windows desktop machine. If you are using RDP, you configure the screen resolution in the Eggplant Functional Connection Properties.
  3. Without the Windows Phone connected to the Windows desktop machine, launch the Microsoft Project My Screen app on the desktop machine. You should see a screen like the one shown below. This is the Project My Screen application in Full Screen mode.
  4.  

    Microsoft Project My Screen in Full screen mode

    Microsoft Project My Screen app in Full Screen mode

  5. Connect the Windows Phone to the Windows desktop machine with a USB cable.
  6. On the Windows Phone, tap yes when prompted to allow screen projection You should now see the screen of the device displayed on the Windows desktop machine, as shown below:
  7.  

    Microsoft Project My Screen dislpaying phone

    Microsoft Project My Screen app projecting a Windows Phone

  8. In Eggplant Functional, create a connection for the Windows desktop machine and add it to the Connection list. On the New Connection dialog box, enter the connection information, including the IP address and port configured in the VNC server (or RDP) on the Windows desktop machine, and click Save. See Using the Eggplant Functional Connection List for detailed information about creating a connection. Once you connect to this Windows desktop machine, the Windows Phone can display through Microsoft Project My Screen app, as shown below. This configuration is ready to use.
  9. Windows phone displaying in eggPlant Functional via Microsoft Project My Screen

    Projected Windows Phone displaying in the Eggplant Functional Viewer

  10. Send the mouse events you want to use on your phone to the desktop computer. The Microsoft Project My Screen app passes them to the Windows Phone.

As described in the beginning of this article, some mobile commands are not applicable and you cannot use the TypeText command to send text to the device. To enter text with this configuration, you must interact with the soft keyboard. We provide example handler scripts (TypeWindowsPhone and DialWindows10Phone) in the WindowsPhonesWithProjectMyScreen suite for you to download on the Eggplant Functional downloads page. They're listed on this page under Helper Suites.

 

This topic was last updated on 2月 01, 2019, at 11:13:23 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant