How to solve QTP “Object not visible” issue.

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.

How to setup FTP server on Windows 2003

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.

 

Red leaves in Hillsboro, Oregon

I took some pictures about the red leaves on the trees in Hillsboro, Oregon.

Pheonix Inn

Pheonix Inn

 

Pheonix Inn 2

Near to Pheonix Inn

Around Tanasbourne shopping complex

 

Around Tanasbourne shopping complex

 

 

Fishing in Hood Canal, Washington.

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.

A fish worth more than 10 thousand Dollars.

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.

u3439p1t1d17543368f21dt20090403141110

How to use Mocha maker to make Mocha coffee.

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.

img_18771

This is the nice shinny Mocha maker.

img_1875

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.

img_1894

Put the filter cup into the bottom container.

img_1895

Put nice coffee powder into the filter cup.

img_1897

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

img_1898

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

img_1899

Put the whole maker on the oven.

img_1901

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.

Catch big fish by hands only.

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!

20093371522

Catch a marlin from the boat.

20093371452

It is a big marlin fish!

20093371543

Fight with the marlin fish

20093371420

Jump from helicopter after saw a fish.

A Fishman Robbed By a Fox

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

Yahoo’s Surrender to Google.

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):

yahoos2goolge

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.

The Best Shopping Place in The Shopping Heaven.

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, Stanford 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.