Currently Browsing

Posts Tagged ‘ Windows ’

VirtualBox and some issues with it

Do you wonder about a bug free program which can handle virtual machines? Easy to use and it contains all those little shine elements you love to use? Sounds good, but it is barely possible.
I will not talk about perfect program, nor I found one which is, but about one which is open source and it contains many-many brilliant things which can be used. Is it bug free? Don’t be ridiculous, but it has nowadays a really mature version of it. Personally I loved to use versions like 4.3.30 if I am not wrong, but the last stable version is 5.0.10. The 5.0+ versions giving more visual satisfaction, also new functionalities as well.
I could talk about it all day, how to use, what to not use, about some configuration etc, but my goal is to give you some solution when you got a dead and with using it.
I am using Windows OS and I faced a lot of times the following issues:

  • Cannot register the DVD image ‘C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso’ {210a7bb3-0082-40cb-acb9-8a6d6cb9a2c0} because a CD/DVD image ‘C:\ProgramFiles\Oracle\VirtualBox\VBoxGuestAdditions.iso’ with UUID {e63728f6-bbfd-4a77-87ee-a90618ce4863} already exists.
    Error window
    What actually happened? Using virtual machines consummates a lot of empty space, so I have created a virtual machine, copied it to an external hard drive, copied back to the pc (it works faster from the primary hard disc than from an external hard drive), tried to use the Machine/Add+ option to add an existing virtual machine, than I got the error message.

Genymotion review

Genymotion is an Android tablet and phone emulator from the company Genymobile. It is available for Mac OS, Windows (x64/x86) and Linux platforms.

The description on the product page describing it as “Fast, simple and powerful” certainly fits it well. It boasts considerable speed, leaving its competitors in the dust. It boasts quite a number of pre-configured devices including Samsung Galaxy, Google Nexus, and Sony Xperia series of phones. You can also make a custom phone or tablet to suit your needs. The paid version offers additional powerful functions.

How to use Windows registry value from Selenium WebDriver

The WindowsUtils class provides various methods to interact with the registry on the Windows operating system. While running tests on the Windows operating system and Internet Explorer, the test might need to read and modify IE settings or there may be a need to get some settings related to the web server or database from the registry in tests, or if you simply want to store and read values from registry. The WindowsUtils class comes handy in these situations.

Read a Windows registry value

We need to import the org.openqa.selenium.os.WindowsUtils class and use the readStringRegistryValue() method for reading a registry value that is represented as a String.