Get Edge version when run via Azure RemoteApp - microsoft-edge

For testing purposes I run Edge via the Azure RemoteApp. How can I check which Edge version (Engine, HTML) is run?

According to the official page:
Why can't I use a remote version of Microsoft Edge?
Due to RemoteApp limitations, we aren't currently able to offer a remote version of Microsoft Edge. Instead, RemoteIE loads a recent
version of the EdgeHTML rendering engine inside Internet Explorer.
We're working on adding a remote version of Microsoft Edge in the
future.
Source: https://dev.windows.com/en-us/microsoft-edge/tools/remote/
In case this information is outdated, I've also reached out to the Edge team via Twitter, so keep an eye on this tweet:
https://twitter.com/shahedC/status/702303693140393984

I work on Edge at Microsoft.
Shashed is correct. The answer is "it is not Edge". It is IE 11, with a switched out rendering engine (the old trident engine for the new Edge engine).
If you want to know which version of the Edge engine is being run, its as simple as checking the user agent string. As of today (02/24/2016), it is
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10514
Note the Edge/12.10514, that means it is Edge v12. The current shipping version on Windows 10 is Edge 13 (note there has been some confusion on Edge's versions previously).

You can simply open the F12 Developer Tools, go to console and type navigator.userAgent to get the UA string. See the screenshot:
As the other guys already mentioned you could also download a free VM to test with a more current version of MS Edge.

Related

How to detect Windows 11 using Delphi 10.3.3

I use TOSVersion.ToString function (uses SysUtils) to detect Windows version. However this is what I get in Windows11:
Windows 10 (Version 10.0, Build 21996, 64-bit Edition)
Is there any reliable way to detect Windows 11? I'm using Delphi 10.3.3.
UPDATE: Windows 11 is officially released and I tried again.
Here is what I get:
Windows 10 (Version 10.0, Build 22000, 64-bit Edition)
As Remy pointed out: using the WinAPI you risk of being in some compatibility mode, resulting in getting a version reported that is lower than the actual.
One alternative is to check the file version of expected files, i.e.
%windir%\system32\ntoskrnl.exe or
%windir%\explorer.exe
using GetFileVersionInfo() and VerQueryValue() - the HiWord(dwFileVersionLS)
should be 22000 or higher (according to Windows NT build/release number).
Another is to look in the Registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ at the text values CurrentBuild and CurrentBuildNumber, checking if the highest of both is 22000 or higher.
David already wrote a detailled answer in Checking Windows version on W10 with even more alternatives, although concentrating on the high/low version numbers, not the build. But WMI might help.
(This only works in retrospective with confirmed knowledge.) Check which API exports are available: the idea is that specific functions were introduced with specific Windows releases/versions, so if importing fails for one you know you're on a version below. An outdated example and an outdated list of minimum versions per function will give you an idea. Now you "only" have to find out which new functions are introduced with Windows 11.
Those are all not bulletproof, but you could combine them and then draw conclusions. And after all that you can still try your approach to parse texts instead of relying on numbers only. It also shows how easily you can manipulate your system into reporting different versions as per which method is used.
Official major version number for Windows 11 is 10.
The official build number for the public preview of Windows 11 is
10.0.22000.168
Earlier builds:
10.0.22000.71
10.0.22000.65
10.0.22000.51
Microsoft Windows 11 FAQ
If you want to detect Preview versions, earliest build number was 10.0.22000.51 Windows 11 version history
TOSVersion relies on some hard coded names and logic to return OS name. You will have to implement your own detection, copy and modify TOSVersion record or make wrapper around it, where you can use existing logic for older versions and implement check based on Windows 11 build number to detect Windows 11.
For other general issues and approaches in detecting OS version you can refer to AmigoJack's answer
Except the very weak, atleast for me, solution of considering Windows 10 builds greater than 22000, such as Windows 11, the only solution I found which is actually working is the WMIs Win32_OperatingSystem class - Caption property.
On my dev Win10 machine, it gives the following string: Microsoft Windows 10 Pro.
On my another dev machine, with Win11 installed, the same function gives: Microsoft Windows 11 Pro.
The difference is in string values - "10" vs "11"- but this is at least something far better than the "build greater than" solution.
C# and C++ work well.
The simplest way is to get the version of Kernel32.dll and if Major Version is 10 and Build Version is >= 22000 then you have Windows 11.
See my code here: How can I find the Windows product name in Windows 11?

Create Windows 95, 98, 2000, XP NT, 7, 10

I come across the following link - https://github.com/felixrieseberg/windows95
Running windows 95 as Electron APP
Is it possible to create any existing application as portable or cross-platform using electron like above?
Can we use Windows 7 or 10 like above without Oracle Virtual Box or VM in an existing Windows 8 machine ?
Need more details on how it is possible to bring an application via electron
Thanks.
If I'm hearing you right, you're wondering if you can put a whole OS into a JS VM running in Electron - and then run your app on top of that.
Please don't do that. Electron is a fantastic cross-platform solution, but my project windows95 was mostly an educational experiment showcasing how powerful modern JavaScript and Electron can be.
This project uses another project called v86, which is capable of virtualising a x86 platform and display its output on a HTML element. Electron is browser-based so that is why this works.
But there are some limitations: It virtualises the x86 platform, which is pretty old by now, and when you have a look at the specification, it says it is at a Pentium-1 state. The demo links on the project's GitHub ReadMe also do not contain any "modern" OS because v86 does not support SSE(2). And since Microsoft requires its users to have a SSE2-compatible CPU* it is not possible to run anything like Windows 7 or newer (Linux may work, anyway).
OSses which support this kind of (deprecated) hardware, may work. As you can see from the "Compatibility" section of the project's ReadMe, some Linux versions and Windows XP "work" but older software, like OS/2, and even newer stuff, like Android, don't (really). So you can't say that everything will work as expected because the execution environment is really limited.
Now to answer your first point, no, I don't think that you can wrap every existing app into an Electron application and run it on new hardware. It may work with old software (which do not require SSE, if you use v86, and that would require a lot of hackery on the v86 side because it is designed to run OSses), but don't quote me on that.
* The section in question reads (at the time of writing) like this:
A Stop error occurs on computers that don't support Streaming Single Instructions Multiple Data (SIMD) Extensions 2 (SSE2).
Upgrade your machines with a processor that supports SSE2 or virtualize those machines.
(emphasis mine, source: https://support.microsoft.com/en-us/help/4088875/windows-7-update-kb4088875)

Is the webkit rendering engine same for safari in ios & mac os\ PC? Like wise is the blink rendering engine same for chrome in android and PC?

To be more secific, here is my dilemma.
I am planning to start UI test automation of an m.com site.
Option 1 that have been put forward is to use commercial tools (quite costly) that runs these test cases on the device. In addition to tool cost i also need to procure devices
Option 2 is to use open source tools like webdriver, change the user agent for browsers like firefox, chrome and safari and run the test cases on a PC. (This is quite cost effective).
I prefer option 2 but here are my doubts
1) Is the webkit rendering engine same for ios and mac?
2) Is the blink rendering engine same for PC Chrome and android Chrome?
3) Will changing the user agent, but using the same browser and running the test cases (eg: change user agent of safari in PC to that of ios, but render in safari) give me the same results as that of testing on the device?
Safari- browser in iOS and Mac uses Webkit as its layout/rendering engine
PC Chrome, Android Chrome uses Blink from April 2013 onwards
Having said that, iOS, Android browsers are compliant to standard HTML,JS, CSS syntax and standards, apart from that each browser may have their specific extensions or bleeding edge features, which may not be yet standardized.
Your testing is based on standard features, you need not worry much about the browser difference now.
Also, If you want to save headache of managing multiple browser, platform, you can try saucelabs.com (cloud based service selenium,test automation service)

How can I set up a OpenVMS VM environment

I am looking to set up a VM running openVMS if there is a free version or possibly freeVMS? I essentially want to set up a VMS environment with the EVE and EDI editors.
I run a Mac so I'd like to set it up on that, I could sort out a PC if necessary but I'd rather not.
Any help would be much appreciated.
Thanks
James
If you are not going to use OpenVMS commercially you can get free licenses from here. They will also provide you with access to downloadable media once you register.
The only free emulator I'm aware of that runs on OS X is the VAX emulator in SIMH. See the SIMH github project.
There are various Alpha emulators; most assume a Windows host, though I think there is now one that runs on Linux.
You can use a virtual machine running Windows XP on MAC OS X, and install PersonalAlpha (by Stromasys) in there. All you need then are the OpenVMS Hobbyist Licenses and media to install from.
BTW, these are the free Alpha emulators running on Windows I know about:
PersonalAlpha by Stromasys
FreeAXP by Migration Specialties
For linux:
AXPNCE by Stromasys
Commercial Alpha (and VAX) emulators:
vtAlpha by AVTware. This is basically a modified Linux with an Alpha emulator. They have no plans for a free version for non-commercial use.
Avanti and AvantiFlex by Migration Specialties.
Charon AXP products by Stromasys

Dreamweaver data source won't work after the first try on Mac OS X

I have a problem with the Adobe Dreamweaver CS5 version 11.
I am running Mac OS X Leopard.
One fine day I found out about Adobe Dreamweaver's quick (& dirty) automated back-end programming.
I defined a data source and it worked as advertised. I setup a lot of pages and it was all fuzzy and romantic.
Next day I found out that I can't define Record-sets any more. I even tried setting up new data sources but all I get is this message:
This error message is obviously a great help... but I still thought I would consult my friends at stackoverflow!!
cheers!
Marci
Update #1
I just found out I get the same message even when I am trying to connect to a mysql database on the localhost! (I have the latest MAMP installed on my Mac Pro)

Resources