Posted on January 8th, 2012 by admin
I found an issue “Object not visible” during using QTP automation: Browser(“Arris – Work Assure”).Page(“Arris – Work Assure”).Frame(“main”).WebButton(“Copy”).Click
The clause above is meant to click “Copy” button, however, when it comes to this clause, always pop up “Object not visible” error. By searching from online, I have done the following steps:
1) Got to Object Repository and find WebButton(“Copy”) object, then set its Type into button + Regular expression (Check this option), and add into Description properties, but error still happens.
2) Got to Object Repository and find WebButton(“Copy”) object, then set the value of “visible” to True, and add it into Description properties, but error still happens.
3) Found the following objects: Browser(“Arris – Work Assure”) ,Page(“Arris – Work Assure”) and Frame(“main”). Set all of them “visible” to be True, and add into Description properties, but error still happens.
Note that, all three steps above uses the following clauses to verify the value of Visible is true: msgbox Browser(“Arris – Work Assure”).Page(“Arris – Work Assure”).Frame(“main”).WebButton(“Copy”).getroproperty(“visible”)
4) Use the “Highlight in application” tool in “Object Repository” to highlight the objects mentioned above, but error still happens.
5) By further searching online, found that dual screens of computer affect QTP. I am using two monitors on my PC. Then I put QTP and IE browser running on the same monitor, the issue is resolved. Note that: Not only QTP and IE browser need to be run on the same screen, also need to run on the same screen as the Windows Start menu.
1 Comment »
Filed under: IT Technology
Posted on December 23rd, 2011 by admin
How to setup FTP server on Windows 2003
1) Go to Control Panel -> Add or Remove Programs -> Add/Remove Windows Components

2) Double click Application Server, you will find the following screenshot, make sure select File Transfer Protocol (FTP) service and click OK.

3) It may ask you providing Installation disk, follow the steps prompted and complete the installation.
4) Go to Administrative Tools -> Internet Information Services (IIS) Manager, extend FTP Sites.

5) Right click Default FTP Site, then click properties to open the following screenshot.

6) Make sure “Allow anonymous connections” is unchecked, otherwise, everyone can connect to FTP server.

7) Click the “Home Directory” tab, you will see the following screenshots:

8) Set up the “FTP site directory -> local path” to the directory that you want to put your shared files in, for example, c:\inetput\ftproot, in this case.
9) Open a browser, then type “ftp:\\ your server IP address”, it need you type the username and password for your server, then you can download the files from there.
No Comments »
Filed under: IT Technology
Posted on October 9th, 2011 by admin
I took some pictures about the red leaves on the trees in Hillsboro, Oregon.

Pheonix Inn

Near to Pheonix Inn

Around Tanasbourne shopping complex

Around Tanasbourne shopping complex

No Comments »
Filed under: Uncategorized
Posted on July 2nd, 2010 by admin
Last year November, I was on business trip to Beaverton, Oregon. My friends took me to Hood Canal, Washington, then I had two days wonderful fishing trip there. Luckily, I caught a beautiful Chum Salmon.
No Comments »
Filed under: Uncategorized
Posted on April 10th, 2009 by admin
The 1.8m long fish called Huangchunyu in the picture was caught in south east of China. It weighs 42 KG and worth 980,000 RMB aka 143,900 USD in the Chinese market. The fish’s swim bladder is an expensive traditional Chinese medicine. It is said that the swim bladder of the fish is more valuable than gold, 0.05 KG of the swim bladder is worth 30,000RMB (4405USD) in the market.

No Comments »
Filed under: China, fishing
Posted on March 17th, 2009 by admin
Last week, one of my Italian friends brought me a beautiful new Mocha coffee maker. So let me show you how to make a nice cup of coffee with it.

This is the nice shinny Mocha maker.

Disassemble the Mocha maker.

Put cold water into the bottom container. By the way, it is better to use cold water than hot water.

Make sure water level reach to the safety valve. The valve is the yellow metal on the right.

Put the filter cup into the bottom container.

Put nice coffee powder into the filter cup.

Put the rubber ring and the filter onto the bottom of the top container.

Then put the top container and the bottom container together, and screw them tightly.

Put the whole maker on the oven.

Around several minutes, you will hear water boiling. Until noise disappears, if you open the cover, you will see coffee inside the top container, but it is better not to open the cover, just pour the coffee into a cup.
Now, let’s sit down and enjoy a cup of nice coffee.
No Comments »
Filed under: Life
Posted on March 8th, 2009 by admin
Do you dare to catch a big sea predator by just hands? You may not, but there are always brave men in the world.
A New Zealand man like to catch big fish by just hands. Sometimes he even jumps from helicopter to hunt the fish when he is seeing big fish close to the surface. It is really an amazing skill!

Catch a marlin from the boat.

It is a big marlin fish!

Fight with the marlin fish

Jump from helicopter after saw a fish.
No Comments »
Filed under: fishing
Posted on February 23rd, 2009 by admin
A fishman was fishing and happy to see a fish on the hook, but a fox suddenly robbed the fish away.

The fishman was happy to see a fish on the hook

A fox love to see this too.

“Sorry I have to bring this home”, the fox said

Emm, it is delicious!
Resource: http://huhe.blogspot.com
No Comments »
Filed under: fishing
Posted on February 20th, 2009 by admin
Today, one of my colleagues told me that he searched a query something like “ts on girls pibs” by Yahoo and got the following result (see the picture):

Click to see larger picture
Obviously, Yahoo cannot find the appropriate result for this query, but interesting thing is that the first result suggestion is Google. This seems to mean that I, Yahoo, cannot find the results for you, please go to the Google home.
1 Comment »
Filed under: IT Technology, Web Technology
Posted on February 18th, 2009 by admin
As is well known, Hong Kong is a shopping heaven in the world. You can find everything you are longing for with very good price here, especially consumer electronics, clothes and make up products, since Hong Kong has no sales tax. Last year I went to Hong Kong and bought a HP laptop which was 300 Euros cheap than in Ireland, not only cheap, I also got many gifts from this buying, such as, a bag, a mp3, a card reader, a word processing software(although it is useless) etc. By the way, there are many good areas for shopping at Hong Kong, such as Tsim Sha Tsui, Causeway Bay, Mongkok etc, but I think Mongkok is the best places to go if you want to do a big shopping. The shop that I bought the laptop is a store named 3C which is located in the Mongkok Computer Centre. You can even bargain with the sales man. If you don’t want to bargain and want to buy good electrical products from a reliable seller, I would like to recommend Fortress which is one of the biggest retailers of electrical appliances in Hong Kong.
Mongkok is a relatively old style area compare to others in Hong Kong. It is said that Mongkok has the highest population density in the world. There are several featured streets in Mongkok area, such as, Ladies’ Street, Sai Yeung Choi Street South etc. You can find any popular electrical goods in Sai Yeung Choi Street South, and if you want to buy good and cheep clothes and cosmetic products, Ladies’ Street is the place to go. So please bear in mind, if you got chance to Hong Kong, you are sure to take a look at Mongkok. Here is two good websites about Mongkok: Mongkok, Photo Tour of Mongkok. If you want to stay here for nights, there are several good hotels around the area, such as, Metropark Hotel Mongkok, Langham Place Hotel, Mongkok. But please be advised, you need to book your accommodation firstly since Mongkok is very popular area. Sometimes, it is hard to find vacancies in these hotels. To save some cost, you can check a website named hotelscombined.com to find a good rate for a hotel before you decide to book it, as this website can compare 30 major hotel booking websites.
And the last advice but not the least is that if you happen to be in Hong Kong, don’t forget to try the delicious Cantonese food.
No Comments »
Filed under: China, Eastern Culture