browse by category or date

Upon its release, I immediately downloaded and installed Google Chrome. After trying for a while, I found out that Java Applet is not yet supported. It was a big NO-NO since I frequently use DBS’ Internet Banking, which uses secure Java applet.

So today I give Chrome another try (for obvious reason, system reinstall). Apparently now Java plugin is supported by Google Chrome. You could download the JRE (Java Runtime Environment) HERE.

So I installed the beta JRE, restarted Chrome, then curiously visited DBS’ Internet banking site. When the page loaded, I noticed that the JRE icon is now loaded in Windows’ System Tray. But it seems the plugin doesn’t work as shown below

Then I used that old trick, something similar to banging your TV when the picture got blurry. I refreshed the page by pressing F5. Click continue, then Voila! It the login page is now displaying properly.

UPDATE (15 Oct 2008):
I can’t use the transfer functionality. The session was abruptly ended.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

Couple of weeks back, my colleague mentioned about Selenium. It is a tool to automate UI testing which utilizes heavily on Java script. I gave it a short try but stumbled with problem on retrieving values from table (I had not read the documentation that time). So I stopped and was pondering on how to resolve the problem. Due to busy with other projects, I didn’t continue my exploration with Selenium.

When I attended Microsoft’s Mix-It-Up Session, one of the speakers highlighted the capability of Visual Studio 2008 to generate automatic UI testing. It immediately reminded me of Selenium. So I asked a question about the problem similar to what I had with Selenium. I asked, “Is there anyway to make the UI Testing dynamic so that we can supply list of input values and the expected output values, then it will automatically generate all the asserts?”. The speaker did not answer my question, but he feedback to Microsoft Team that what I asked is something that would be very nice to have in Visual Studio 2008.

Selenium IDE

I haven’t get my hands dirty with Visual Studio 2008, so I can’t really confirm with what the speaker implied in his feedback to Microsoft *grin*.

Anyway, last weekend I have quite of free time. So I decided to look deeper into Selenium. This time I thread through carefully the Selenium documentation. I finally found what I was looking for. The function is called “storeTable (TableCellAddress, VariableName)”.

To generate the test script, I used Selenium Firefox Add-On. Then I modified manually the script to suit my needs using Notepad++. From here, it’s quite smooth sailing with Selenium.

Few things that I learned:

When open a pop-up window, you need to have the windowID. WindowID is the variable that holding the reference to that window.

var myWindowID = window.open("http://window.url");

After you select the window using SelectWindow, you need to call waitForPageToLoad before accessing any elements inside it. Fail to do this; your test case might throw exception.

As you could see, I am quite late into this. There are myriads of articles (sample) and blog posts (sample) about Selenium available in internet. Google is your best friend 😀

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant:

Today is the first of Ramadhan, a month in Muslim calendar where all healthy adult Muslim and Muslimah are required to fast. From dawn to dusk, we are prohibited from consuming foods and drinks.

For me, the biggest challenge is caffeine withdrawal. Usually at office I consume two cups of coffee, one in the morning and one after lunch. The caffeine helps me to keep alert and prevent drowsiness. So today was really bad, my eyes felt so heavy. I lost count how many times I ‘accidentally’ fell asleep.

I think tomorrow I should to drink coffee in the morning. As I mentioned before, caffeine will remain active in your body for at least for 4 hours.

Our house also have this roster duty to prepare food for Sahur (early meal before dawn). For me, the trick is to prepare all the raw ingredients the night before. So in the morning I can quickly cook them. It is also a safety measure, because you might injure yourself when you use knife when preparing the ingredients.

Apart from above technicalities, Ramadhan is a month for self reflection and introspection. The teaching is that whoever able to go through Ramadhan “successfully”, he or she will come out as a better person.

As a closing, I pray for all my Muslim brothers and sisters, and myself, hopefully all of us will be “successful” in our Ramadhan and come out as a better person.. Amien.

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Possibly relevant: