Adding messages to log file - RFT

Most of the RFT (Rational Functional Tester) users in the initial stages will get question in mind when they see the auto-generated log after executing their Functional script ... i.e
How to add more information/messages to log ? How to change logs ?
Its so simple. RFT provides the following functions to customize your final log file after executing the functional script.
We know that the logs can maintained in different ways in RFT say TestManager Log, HTML Log, or Text Log etc. What eve the kinda log we are using we can add our general messages or test status results say PASS / FAIL to the log file.
RFT provides the following functions to add more messages
Function name - Usage Example
logInfo - logInfo("Login button is clicked. - PASS");
logTestResult - Ex : 1
logTestResult("Text buffer comparison",TextField_text.equals(urloginName));
Ex : 2
logTestResult("Text buffer comparison", true);

logError - logError("Exception e = "+e.toString());
logWarning - logWarning("Your warning message goes here.");

Read more

RFT8.1 Download Installation tutorials samples

This post is basically to help the software testers who are interested to start using the RFT-Rational functional tester as the automation tool for their needs to automate their test efforts.
So basically the first and foremost thing to start with is,
where can I get the RFT latest installer to download ?
It is Free for IBMers to use for their work purpose. Read the full rules and regulations to use.
You go to Xtreme leverege site and start downloading the installers mentioned below.
It is only for IBMers to download. Need their intranet credentials to download.
The following are the required packages for installation along with their part numbers.
IBM Rational Functional Tester V8.1Multiplatform Multilingual eAssembly (Core) (CR93MML)
IBM Rational Functional Tester V8.1 Multilingual Multiplatform Part 1 (CZ3KXML)
IBM Rational Functional Tester V8.1 Multilingual Multiplatform Part 2 (CZ3KYML)
IBM Rational Functional Tester V8.1 Setup Multilingual Multiplatform Part (CZ3KWML)
IBM Rational Functional Tester V8.1 Multiplatform Multilingual Activation Kit (CZ3KVML)
Quick Start Guide for IBM Rational Functional Tester V8.1 Multilingual Multiplatform - READ ME FIRST (CZ3KUML)
The important Reading material to install and use the RFT is well explained in the following link.
It contains Installtion steps,Testing,Using,tours,Tutorials, Samples and trouble shooting as well here.
Information center for the RFT:
Product Information:

Read more

No protocol specified Can't open display: cygwin

Displaying Remote Clients

Displaying remote X clients with Cygwin/X is nearly identical to displaying remote X clients with any other X Server. You may use the secure ssh method, or the unsecure telnet method (not recommended).
Secure ssh

On your Windows machine:

1.Make sure you have the openssh package installed.
2.Launch Cygwin/X
3.Run the following in an X terminal:

Username@CygwinHost ~
$ ssh -Y -l username remote_hostname_or_ip_address

4.Enter your password when prompted by ssh.
5.Your ssh session should now show you a shell prompt for your remote machine.
6.You can now launch remote X clients in your ssh session, for example, xterm& will launch an xterm running on your remote host that will display on your Cygwin/X screen.
7.Launch other remote clients in the same manner. I recommend starting the remote clients in the background, by appending & to the command name, so that you don't have to open several ssh sessions.

Unsecure Telnet

On your Windows machine:

1.Make sure you have the inetutils package installed.
2.Launch Cygwin/X
3.In an X terminal type /usr/bin/xhost remote_hostname_or_ip_address
4.In an X terminal type /usr/bin/telnet remote_hostname_or_ip_address. Use the explicit path to ensure that Cygwin's telnet is run instead of Microsoft's telnet; Microsoft's telnet will crash on startup when run from Cygwin/X.
5.Login to your remote machine via your telnet session
6.In your telnet session type, DISPLAY=windows_hostname_or_ip_address:0.0
7.In your telnet session type, export DISPLAY
8.You can now launch remote X clients in your telnet session, for example, xterm& will launch an xterm running on your remote host that will display on your Cygwin/X screen.
9.Launch other remote clients in the same manner; I recommend starting the remote clients in the background, by appending & to the command name, so that you don't have to open several telnet sessions.

Problems and Solutions : 

When there is a problem in DISPLAYING GUIs at client side
Try to check the simple things mentioned below
1. Always the server should allow the X11 forwarding.
   To check this confirm the below (Below example is from AIX 5.3 )

   bash-3.00# cat /usr/local/etc/sshd_config | grep X11
   X11Forwarding yes
   X11DisplayOffset 10
   X11UseLocalhost yes
For linux based systems
nc184120:~ # cat /etc/ssh/sshd_config | grep X11
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
In case the above settings were freshly created please do restart the sshd service like below
    bash-3.00# stopsrc -s sshd;startsrc -s sshd
    0513-044 The sshd Subsystem was requested to stop.
    0513-059 The sshd Subsystem has been started. Subsystem PID is 278682.    
    bash-3.00# lssrc -s sshd
    Subsystem         Group            PID          Status
    sshd             tcpip            278682       active
2. Check your client like putty like tool enabled X11 forwarding and is set to proper tunnel for the running xmanager tool

3. If your xmanager tool is running on your client machine with port 0.0 your putty x11 forwarding should be set to localhost:0.0

Read more

Swine flu H1N1 Symptoms and Precautions

I myself got terrified with the flu spreading news in India and totally worried about this. Was searching for H1N1 symptoms and precautionary measures to fight against this and got some useful information in net as well as through friends mails all those information I'm collating together and putting it here for all of our use.Yesterday, a friend who listened wanted me to write down briefly what I advised so that he could tell others in similar words.

Note : Please realize that this tips and information is not an official advice, especially the one about face masks or N95.

will face masks and N95 respirators protect us from H1N1 ?
The hype in media about the utility of face masks and N95 respirators as a tool for general
protection against H1N1 can't be deplored enough.

Most N95 respirators are designed to filter 95% particulates of 0.3µ, while the size of H1N1 virus is about 0.1µ. Hence, dependence on N95 to protect against H1N1 is like protecting against rain with an umbrella made of mosquito net.

H1N1 Symptoms:
  • Fever, moderately high, but unlike seasonal flu, can be absent in some cases too
  • Non productive Cough
  • Runny or stuffy nose
  • Sore throat
  • Body ache
  • Headache
  • Chills
  • Fatigue/tiredness that can be extreme
  • Nausea/diarrhoea
  • Signs of a more serious swine flu infection might include pneumonia and respiratory failure

H1N1 Precautions :
Tamiflu does not kill but prevents H1N1 from further proliferation till the virus limits itself in about 1-2 weeks (its natural cycle). H1N1, like other Influenza A viruses, only infects the upper
respiratory tract and proliferates (only) there. The only portals of entry are the nostrils and mouth/ throat. In a global epidemic of this nature, it's almost impossible not coming into contact with H1N1 in spite of all precautions. Contact with H1N1 is not so much of a
problem as proliferation is.

While you are still healthy and not showing any symptoms of H1N1 infection, in order to prevent proliferation, aggravation of symptoms and development of secondary infections, some very simple steps - not fully highlighted in most official communications - can be practiced (instead of focusing on how to stock N95 or Tamiflu):

1. Frequent hand-washing (well highlighted in all official communications).

2. "Hands-off-the-face" approach. Resist all temptations to touch any part of face (unless you want to eat, bathe or slap).

3. Gargle twice a day with warm salt water (use Listerine if you don't trust salt). H1N1 takes 2-3 days after initial infection in the throat/ nasal cavity to proliferate and show characteristic symptoms. Simple gargling prevents proliferation. In a way, gargling with salt water has the same effect on a healthy individual that Tamiflu has on an infected one. Don't underestimate this simple, inexpensive and powerful preventative method.

4. Similar to 3 above, clean your nostrils at least once every day with warm salt water. Not everybody may be good at Jala Neti or Sutra Neti (very good Yoga asanas to clean nasal cavities), but blowing the nose hard once a day and swabbing both nostrils with cotton buds
dipped in warm salt water is very effective in bringing down viral population.

5. Boost your natural immunity with foods that are rich in Vitamin C (Amla and other citrus fruits). If you have to supplement with Vitamin C tablets, make sure that it also has Zinc to boost absorption.

6. Drink as much of warm liquids as you can. Drinking warm liquids has the same effect as gargling, but in the reverse direction. They wash off proliferating viruses from the throat into the stomach where they cannot survive, proliferate or do any harm.

All these are simple ways to prevent, within means of most households, and certainly much less painful than to wait in long queues outside public hospitals.

"Health is wealth"
References : [1][2]
New H1N1 Screening Centers

H1N1 Screening Centers

New H1N1 Screening Centers


Mallya Hospital

No.2 Vittal Mallya Road, Bangalore - 560001

Ph: 080-22277979

Manipal Hospital

Old Airport Road, Bangalore - 560 017

Ph: 080-2502 4444 / 3344

St Martha's Hospital

No.5, Nrupathunga Road, Bangalore-560001

Ph: 080-22275081 / 22275082 / 22275083 / 22275084

Mallige Medical Centre

31/32, Crescent Road, Bangalore- 560 001 India.

Ph: 080-22203333, 41138883

St John's Medical College and Hospital

Sarjapur Road, Bangalore – 560 034

Ph: 080-22065000

Ambedkar Hospital

Bangalore, Karnataka 560045

Ph: 080-25463442

Vydehi Hospital

#82, Nallurahalli, Near BMTC 18th Depot, Whitefield,
Bangalore - 560 066 Karnataka

Ph: 080-28412956,28413381/2/3/4/5

Citi Hospital

20th Main ,West of Chord Road, 2nd Block
Rajaji Nagar, Bangalore -560010

Ph: 080-23131777, 080-23131778, 080-23131779

M S Ramaiah Medical College and Hospital

M. S. Ramaiah Medical College
MSR Nagar, MSRIT Post, Bangalore - 560054

Ph: 080-2360 5190/23601742/23601743/23605408

Pristine Hospital

#877, Modi Hospital Road,
II Stage Extension, West of chord Road,
Bangalore - 560 086.

Ph: 080 - 41354444 (30 lines), 51270776 / 7

Mahabodhi Mallige hospital

T. Mariappa Road, I Block, Jayanagar, Bangalore- 560 011

Ph: 080-26565678

What is swine flu?

Swine influenza, or ‘swine flu’, is a highly contagious acute respiratory disease of pigs, caused by one of several swine influenza A viruses that cause regular outbreaks in pigs. Morbidity tends to be high and mortality low (1-4%). The virus is spread among pigs by aerosols, direct and indirect contact, and asymptomatic carrier pigs. Outbreaks in pigs occur year round, with an increased incidence in autumn and winter in temperate zones. Many countries routinely vaccinate swine populations against swine influenza. Swine influenza viruses are most commonly of the H1N1 subtype, but other subtypes are also circulating in pigs (e.g., H1N2, H3N1, H3N2). Pigs can also be infected with avian influenza viruses and human seasonal influenza viruses as well as swine influenza viruses.

The H3N2 swine virus was thought to have been originally introduced into pigs by humans. Sometimes pigs can be infected with more than one type of virus at a time, which can allow the genes from these viruses to mix. Pigs are therefore also called as “mixing vessels”, resulting in an Hide allinfluenza virus containing genes from a number of sources, called a ‘reassortant’ virus. Although swine influenza viruses are normally species specific and only infect pigs, they do sometimes cross the species barrier to cause disease in humans.

So far, the recent outbreak due to the new strain of influenza virus A (H1N1) has had cases reported from North America, Mexico, Spain and UK. Suspect cases have been reported from New Zealand and France and these are being investigated.

How does it spread?

It spreads in the same way as seasonal influenza – through direct contact (being within one metre of an infected person) or indirect contact (touching a contaminated surface). People usually get swine influenza from infected pigs, however, some human cases lack contact history with pigs or environments where pigs have been located. Human-to-human transmission has occurred in some instances but was limited to close contacts and closed groups of people.

What are the clinical symptoms?

Generally clinical symptoms are similar to seasonal influenza but reported clinical presentation ranges broadly from asymptomatic infection to severe pneumonia resulting in death. Patients experience high fever, cough, and sore throat, symptoms similar to typical influenza, with some patients experiencing diarrhoea and vomiting. The cases can rapidly progress to severe and unusual pneumonia.

Read more

Popular Posts

Enter your email address:

Buffs ...


Powered by WidgetsForFree