Once that was done, the following python script sets a high and low voltage to physical pin 11. Note: the physical pin 11 corresponds to GPIO 17. The physical pin 6 corresponds to Ground. For additional details and diagrams refer to: http://elinux.org/RPi_Low-level_peripherals.

I came across this link http://penguintutor.com/linux/raspberrypi-headless and followed the advise of trying to find out the dhcp address.

I connected the rpi via an ethernet cable to my wireless router and booted the rpi.

Then using ipconfig gives the Default Gateway of my wireless router, x.x.x.1. Then I noticed the IP address of my laptop, from which I run Putty: it is under IP Address: x.x.x.4. Since I connected the ethernet cable for the rpi next to the cable of the laptop, to the right, I tried x.x.x.5 and it worked!

Recently we needed to go for private insurance. We found out that the HMO and POS were in general less costly, followed by PPO and finally came the Indemnity.

Below it is a simplified example to illustrate the differences and relationship between deductible and out of pocket max.

A couple of important pointers:

1. There are several web pages that point out to the importance of looking into the Lifetime Maximum per insured. The one we selected shows $4,000,000+

2. Annual Deductible. “The amount a member must pay for medical services before their health plan begins to pay for covered services. Some services are exempt from the annual deductible” http://www.fuzeqna.com/pebb/consumer/kbdetail.asp?kbid=533. For example, say the plan charges 35% for Hospital Admission after deductible. and the deductible is $6000 / family. If the Hospital cost is $12,000 then the cost on the member is 12000 – 6000 = 6000 (to meet the deductible) + 2100 (2100 = 35%*6000). Total cost to the member $8,100.

3. Annual Out of Pocket: “The max total you pay out of pocket for most covered services in a calendar year. After you reach that maximum, the plan will pay for most covered services at 100%”. For example. Say the insurance out of pocket max is $11,000. In the above example the member paid already $8,100. If another charge comes along the member will need to pay $2,900 (11000-8100) and since the member hit the max out of pocket the insurance will pay after-wards.

The first major advantage is the availability of the Test Recorder. This Test Recorder is able to get the names or id’s (and other properties) of the IExplorer. The Test Recorder is available from: http://watintestrecord.sourceforge.net/ A big plus is that it can generate source code in VB.NET. (The beta 2 version is not generating C# code at the moment)

Note: the note in red in the above capture: “Scripting to VB.Net and copying to clipboard.”

I have a video that shows the recording process and the code generated using the Test Recorder:

Notice that the example is done with Visual Studio 2003. Since I used Visual Studio Express 2005 there is a minor difference: when adding the Reference to the Project, I needed to click on the Browse tab.

During this exercise I came across the need to address the log-in button in Yahoo but it was not obvious how to invoke it. Then I ran the recorder, compiled the script to VB.Net Console and then copied the results to the console. The button I needed was: Button btn_save = window.Button(Find.ByName(“save”));

Since I am using the C# version I coded the call to the button as:

ie.Button(Find.ByName(“.save”)).Click();

Notes:

1. A useful tool to find out the names, id’s, etc of IExplorer fields is the ie developer toolbar.

Using Pylot – an open source python package.

Version recommended: 1.24. Although the results below show version 1.22, a defect in version 1.22 caused the reports to fail if the web site experienced a time-out. This has been corrected in ver 1.24.

The following sample run has been done using the following Test parameters:

number of agents: 1

test duration in seconds: 60

rampup in seconds: 0

interval in milliseconds: 500

test case xml: c:\tmp\testcase.xml

log messages : False

The process can be started with the graphical user interface, which is invoked with the –g at the end of the python command:

C:\Tmp\pylot_1.22\pylot_1.22>python run.py -g. Notice that the test case is specified in the file test cases.xml, which is located in the pylot_1.22\pylot_1.22 folder.

Appendix:

Other sample discussions:

To find out if your hardware is robust enough to handle a certain number of users simultaneously accessing the application, you want to do a stress test. A stress test progressively increases the load of the application to discover the different breaking points -ref: http://java.sys-con.com/node/782824/mobile

The test results should answer the following questions:

* How many users can the application handle while maintaining an acceptable response time?

* What is the load threshold above which the server begins to generate errors and/or refuse connections?

* Does the server remain functional under high load or does it crash?

To do a stress test, testers should ramp up the load, starting from normal and up to the maximum predicted limit, and monitor the response times and error rates. A sudden change indicates that a threshold has been passed.

It has a set of functionality that can be readily deployed, i.e., a utility that provides the windows’ names, mouse coordinates, etc. The caption is shown below:

To start a program we issue the command: Run(“C:\Program Files\Internet Explorer\iexplore.exe”)

Since automation is accomplished using the windows’ names, the window name is used:

WinWaitActive(“Google – Windows Internet Explorer”)

The script is shown at the end.

Brief description of the script:

Two functions have been defined: login() and go2inbox().

The login function waits until the Yahoo! Mail window is active and then sends keystrokes (user id, tab, password, tab, enter) in order to access the email provider.

The go2inbox also waits until the Yahoo! Mail window is active and then it controls the mouse and directs it to the coordinates specified with:

MouseClick(“left”,45,505,1) –Notice that the IExplore window must be maximized.

Notes:

Handling the active windows takes the following into consideration:

1. If some windows have similar title but not exactly the same, and still they need to be considered as the same (Yahoo! Mail is common for login and for inbox. But the exact names differ. Auto It provides a way to use a substring of the name)

2. If tabbing doesn’t work in a certain window, mouse click is the alternative.

3. When browsing some window the info doesn’t appear immediately. It is advisable to use the sleep function with a time of 5 seconds to ensure the needed control is available.

; Wait for the IExplorer to become active – it is titled “Google – Windows Internet Explorer” on English systems
WinWaitActive(“Google – Windows Internet Explorer”)
Sleep(1000)
send(“{tab 11}”) ;to be in the url location

Sleep(2000)
Send(“mail.yahoo.com{Enter}”) ;type the yahoo mail url

login() ;if the yahoo user has signed out, then login will sign in.
copymail function
go2inbox()

Python script used to send requests to a web server. You can specify the number of requests in the function testIt, changing the upper limit in the range from 5 to the desired number. Each request is sent every .1 sec.

Furthermore, uninstalling it appears to have an impact in IIS, wherefore IIS needed to be uninstalled, reinstalled.

Here are the steps followed, part of them found ‘googling’ for Sharepoint Services x64 uninstallation / IIS uninstallation.

1. Remove SharepointServices using add/remove programs.
2. Go to C:\Windows\SYSMSI\SSEE\MSSQL.2005\MSQL\DATA and manually
remove all sharepoint internal databases
(google_article)
3. Remove IIS
4. Reboot the machine
5. run aspnet_regiis –ir (notice that if you run
aspnet_regiis -i in the x64 system it not only doesn't work but
the message that appears seems to imply the need to look for
another application that does the same task.)
6. Go to add/remove > Microsoft .net2.0 Framework service pack 1
> CHANGE.
7. Go to IIS Manager, Web Service Extension - ASP.NET v2.0.50727
set it to Allow
8. Reinstall Sharepoint. Notice that the default web site is
disabled. Enable it and thus the process ends.
After going through the above steps the installation worked reliably.

The past month I was assigned the task of automating the installation of a software package that uses msi files and then setup dialog windows.
Python (download_Python) has excelent libraries for this task:Python Windows Automation

There is a great video that demonstrates the usage of the pywinauto: pywinauto_video

Follow the instructions in the page to download it (download_Pywinauto) and install it.
The above program will allow you to open and identify windows and control buttons using the application class, that can be found in the file application.py
Notice there that the combo boxes are controlled using its name. Internally the tool finds the window’s handle.
For some applications the window’s fields are hard to handle. This is because the fields don’t have unique names.
The way to handle this situation is to tab around the page until you land in the right field.
To this end download the Sendkeys tool, also in the page (download_Sendkeys). Make sure that you select the ‘Binaries’ download. Select the version that corresponds to the python version you have installed.
Once you have installed these two tools you can start controlling the windows and its contents.
Omar Flores