NTS News Center

Latest News in Engineering, Techology and Testing

Remote Access using RDP (Remote Desktop Protocol)

Remote Control Your Windows PCPreviously, we discussed using VNC to remotely control a test platform. Today, a quick introduction to Remote Desktop Protocol (RDP). Like VNC, RDP provides remote access to a platform, using an RDP server and RDP client, to control the keyboard and mouse of the platform as if you were sitting right in front of it. However, there are many differences between the two products:

  • While VNC is GPL’d software, RDP is Microsoft’s proprietary protocol. So, while both the VNC server and client have been ported to multiple platforms (Windows, Mac OS, Linux, etc.), the RDP Server is typically a Windows-based product.
  • Windows XP & Windows Vista ship with Remote Desktop Connection and Remote Assistance, both of which use the RDP protocol client & server protocols. While Mac OS X and Linux (Ubuntu, etc.) typically ship with VNC-based products.
  • Due to Microsoft’s low-level hooks in their software, RDP connections usually perform much better than VNC products.
  • Microsoft’s products use RSA Security’s RC4 cipher for encryption.

Which one is best? That’s up to you. Both offer many functions. If you’re using Windows platforms and you want the greatest performance, grab a copy of an RDP-based application like Remote Desktop Connection. If you’re cross-platforms, VNC may be a better tool for you. Either way, get your remote connections setup so you can get out of work on time!

Quick Tip – AutoCorrect in Microsoft Word

AutoCorrect Options in Word 2003AutoCorrect in Microsoft Word isn’t just for fixing commonly misspelled words, but can also be used to allow you to use “shorthand” in your typing. I know when I’m writing technical documents, I get tired of typing “Microsoft Windows XP Service Pack 3″ all the time, but don’t want to just type “XPSP3″ and look unprofessional. Sometimes it’s easier to just type a quick shorthand version of a word or phrase instead of the whole word or phrase.  If you want to speed up your work, create a few auto-corrections to help you along.

In Microsoft Word 2003, go to the ”Tools” menu, select “AutoCorrect Options…”, and then select the “AutoCorrect” tab.

In Microsoft Word 2007, click on the Office button, select “Word Options,” click “Proofing” in the left pane, click on the “AutoCorrect Options” button, and then select the “AutoCorrect” tab.

Here a few you can try:

Note that I typically end my AutoCorrect entries with a period (.) so that I can still use the acronym if needed (e.g., Word doesn’t AutoCorrect “MS” when I’m trying to type something else). If you use a period in your AutoCorrects, like I do, you may also want to create the same AutoCorrect with a greater than symbol (>). For example, “XPSP3>” so if you’re zipping along and you hold down the shift key too long while typing, you still get the same AutoCorrect entry when you hit “SHIFT-.” If you want to undo the AutoCorrect, you can just hit backspace when it pops up. Plus if you use Word as your email editor in Microsoft Outlook, your AutoCorrect shorthands will work there as well.

Just one more note — AutoText (at least in Word 2003) can also be helpful to type out long phrases. However, if you have many that start the same (e.g., “Microsoft Windows XP” vs. “Microsoft Windows Vista”), the AutoText entry won’t pop-up until you get to the “difference” in the phrase (e.g., “Microsoft Windows V” before “Microsoft Windows Vista” will pop-up).

AutoCorrect lets you create your own “shorthand.” So, what are you going to shorten today?

The Browser Parade Continues…

Web Browsers

We’ve previously discussed the various web browsers that are currently popular and should be covered when you’re testing your website. Just a quick update on the latest browser releases:

Don’t forget to test your website with the latest browsers as they come out! In particular, focus your attention on IE8. According to at least early estimates from Microsoft, a large number of websites (over 2400+) have problems with the new brower because it is MORE standards compliant, while many website expect the older LESS standards compliant browser.

Golden Unit Reference Logs for ZigBee

ZigBee Golden UnitMany of you who are trying to get your ZigBee product (Platform, Smart Energy, MSP or other) ready for certification might be confused with all the documents to read – the specifications, the appendices, errata, etc. All you want is to run the tests and make sure the behavior is what it’s expected to be before you go to get your product certified. In ZigBee, like in many other standards, the easiest way to do that is to emulate the Golden Unit (GU) behavior. They are, after all, the reference and they are what the tests run against so why not just do as they do?

Unfortunately, the GU’s might be a little hard to obtain. The manufacturers rarely give them out, and when they do, it’s usually at a pretty hefty price. Fear not! The Alliance has made available, through authorized test labs, the logs for those GUs. What does this mean to you? Well, now you can get these logs and just compare them to what you are observing on your own devices. Since the tests for ZigBee are conducted over the air, if you ensure that the behaviors are similar, your chances of success in certification will be pretty high. From there on, all that will be left to do is correct a few small glitches, if any, once you start your official certification testing.

Remote Access using VNC

Control Your ComputerIt’s 6 p.m. and that automated test script is still running on your test platform. It’s time to go home, but if the test stops for some reason when you’ve left for the night, you’ll have to start all over in the morning. What do you do? Well, if you’ve planned ahead, you can remotely access your test platform using any of a number of remote access/remote control software products.

One of the oldest and most popular remote control programs is VNC. VNC (Virtual Network Computing) provide two small applications, the server (which runs on the target machine) and the viewer (which runs on your local platform), which transmit the keyboard and mouse input from the viewer and return the display from the server as if you were sitting in front of the computer. There are several benefits to VNC:

  • It is is GPL’d software, many versions of which are available for free, including RealVNC, TightVNC, and UltraVNC.
  • It’s been ported to a wide variety of platforms, from Windows to the iPhone and everything in between.
  • Many operating systems use VNC protocols for their remote control (such as Mac OS X’s Remote Desktop and Ubuntu’s Remote Desktop), so you don’t even need to install the server on those platforms
  • VNC Viewer doesn’t require an installation, so you can run it from a USB stick. Plus many VNC servers provide a web interface as well so you should be able to get access from any web browser

However, VNC is not by definition a secure protocol (don’t forget to at least set a password), and is best used through a VPN or SSH connection for security purposes.  In addition, it will also typically require you to open a port in your firewall for access, usually port 5900.

But the benefit of being able to see/control your platform remotely can’t be measured.

Linux – Getting Your Feet Wet

LinuxIf you’re looking to expand your abilities/capabilities as a test engineer, Linux is a good way to become more familiar with Unix-based operating systems. Even if you don’t have an extra computer sitting idle to install Linux on, you can setup and install complete working copies of many Linux distributions (distros) without messing up your current Windows installation.

The easiest way to try out a Linux OS is to download a LiveCD. Many popular distros, including Ubuntu, provide downloadable CD images that can be downloaded, burned, booted up, and used to try out an operating system. Unfortunately, most of these LiveCDs don’t offer the ability to really customize or save your changes to the OS, and they suffer from slow performance due to the limitations of the CD. But you can at least learn a little about the OS, GUI, CLI, etc. Running a LiveCD is kind of like putting your big toe in the water.

If you’d like another easy way to try out different distros of Linux, you can also install VMware Player (free) and download one of the many pre-built virtual machines from the Virtual Appliance Marketplace, including openSUSE, Damn Small Linux, Ubuntu, Fedora, and Mandriva. Then all you need to do is run the VMware Player and select a virtual appliance to run. There is a performance hit running the operating systems in a virtual machine, but it’s very easy to get started – all you really have to do is download the VM you want to run. Everything is already setup and configured. Plus you’ll have the ability to save changes and gain a more detailed understanding of running Linux.

If you’d like to really get a good idea of how a popular distro like Ubuntu (or one of it’s flavors, like Kubuntu or Xubuntu) actually runs on your computer, you can download Wubi which provides an easy Windows based installer. It installs Linux like a normal application in Windows, configures a boot manager, and sets up a virtual hard drive for you to use. The great thing is you don’t have to worry about hard drive partitions or complicated setups. And, when you are done using the software, you can simply uninstall from within Windows and it will erase the virtual hard drive file and free that space back up almost instantly. It’s really a good way to jump into Linux without the configuration hassles, but with almost full-speed performance, and the ability to quickly revert back to Windows.

How To Securely Erase A Hard Drive

How to securely erase a hard drive - the hard wayWhen you’re doing lots of quality assurance testing for other companies, security becomes an important component. No one wants to lose business because they accidentally leak product information, even after the testing is complete. To make sure you’re erasing your hard drive securely, you can try Darik’s Boot & Nuke (DBAN). DBAN provides a self-booting disc which allows you to securely delete everything off of a hard drive, and makes the data unrecoverable including to current forensic analysis methods. DBAN is a free download, although they also offer a commercially supported version (EBAN) which includes the necessary support for compliance with SarBox, HIPAA, and FISMA.

The same software also works for those of us who want to clear our hard drives before recycling or selling our computers. Don’t want the new buyer to get our bank or credit card info.

Snippy! Snappy! Screen Captures

Screencapture ToolWhen you’re testing a product, you often may want to highlight a particular bug or issue with a quick screenshot. Of course, 90% of the time, you just need to show a small part of the screen. Snippy is a handy tool to grab part of a screen in Windows XP. Just click on the icon in your systray and circle the area on the screen. The image will be saved to the clipboard where you can drop it into an email or document. It’s free, it’s simple, and you don’t even need to install it so it keeps the test system relatively clean.

You can also grab a copy of Cropper which provides a nicer user-interface to allow you to grab sections of your screen, saves the area in many different formats, and works in Windows Vista. If you’re running Windows Vista, you can also use the built-in Snipping Tool. All three offer more features/capabilities than PrintScreen…

What Web Browsers Should I Test With?

Web BrowsersIn a previous post, we discussed the importance of testing your website with older web browsers. MaximumPC has a very informative article on the latest browsers of today and tomorrow (for Windows primarily) which makes a good starting place if you want to be comprehensive in the compatibility testing you perform. Here’s a summary of the list, along with the January 2009 stats for each from W3Schools:

Stable/Current Releases

Upcoming/Beta Releases

And don’t forget, you can use BrowserShots to generate quick screenshots of your website for review. All of the above browsers, except for Opera 10, are among the browsers that you can get screenshots of.

The start-up coffee run is coming to an end

No more going for coffee while waiting for your computer to startup

Sometimes all we need from our computer is email and the internet. I know many mornings I grow tired of waiting for my computer to load up the operating system along with all the support files (drivers, DLLs, Systray applications, etc.), just so I can check the weather before I take my dogs outside. However, that long wait will be a thing of the past very shortly.

Several vendors over the last year have released (or are working on) Instant-On operating systems which will provide just the basic foundations to allow the user to access their email, surf the web, and maybe chat with Skype. Instant-On OS’s aren’t designed to replace full operating systems, like Windows or MacOS X or Linux. Rather, they’re designed to provide quick access, some while the full operating system is loading in the background. The technology started a few years ago with Phoenix Technologies’ HyperSpace embedded operating system, and has just accelerated over the last few years with competitors such as Splashtop, gOS Cloud, Xandros Presto!, JoliCloud, Moblin, and MSI Winki. Rumor has it that Microsoft is even considering an Instant-On feature for Windows 7.

Why? It just makes sense – our computers may be able to do everything but walk the dog, but they take a while to startup. And although many of us like to keep our computers on or in standby/hibernation, that takes a fair amount of electricity. With all the push for smart energy, it’s the solution to a problem – Do I leave my computer on draining power or turn it off and get stuck waiting 5-10 minutes for it to startup? With some of these products offering 15 second startups, you’ll have no more waiting and no more energy drain!

And you’ll have to find some other time to go get your coffee.