Why to buy water at bus/railway station?

Posted On June 22, 2010

Filed under Life

Comments Dropped leave a response

It had became a regular habit of everyone to buy water bottles whenever you travel and the worst part of this is that there will be rupee or two rupees extra to the MRP price. If we observe closely in the same bus/railway station, you will definitely see a tap with a label “Pure Drinking Water” where water comes rarely from that tap.

My worry is not about the tap where water is not coming at all (and the reason for water not coming has to be asked to those ministers who are elected by the people in our democratic country) but my worry is all about that tap where water comes from the tap fortunately.

100% of the educated people will never drink water which is coming from these taps and the reasons are well known. Now, my thought after seeing an advertisement on Television about the water purifiers is why cannot the Government use these water purifiers in all the available bus/railway stations.

The advantage is that every common people can drink a pure and safe drinking water. Also, you do not need to buy the natural resource which should be available freely to every one on the earth.

On a concluding note, I need not remind that, Government is for the people and by the people and these purifiers are for the people only!

What do you say?

( I am not working as a sales person of any water purifier company :D )

Siebel Automation Interview Questions

Posted On June 21, 2010

Filed under QTP

Comments Dropped leave a response

Please find the below questions which I feel can be asked when you attend any interview on Siebel Automation.

Click Here:

Thank you all….

Posted On June 18, 2010

Filed under Life

Comments Dropped one response

Thanks to every soul on this beautiful planet for wishing me with all your wonderful wishes. Let’s celebrate the joy of living. Cheers to the life. :D

Aaata 5 banned by human rights commision

Posted On June 16, 2010

Filed under Life

Comments Dropped leave a response

I welcome the decision of banning the kid’s reality show ‘Aaata-5′ by the human rights commission. I have been a regular watcher of this Aaata series from Aaata-1. I was impressed the way ‘Omkar’ took the show, but when it comes of ‘Aaata-5′, the felt that kids was made to work the hardest possible way and not to say about the bad choice of songs.

Wish ‘Omkar’ come up with more worth watching programs.

Count of open IE browsers — QTP

Posted On June 12, 2010

Filed under QTP

Comments Dropped leave a response

Here is a small piece of code, which gives the number of existing internet explorers.

bcount = Get_ApplicationCount(“iexplore.exe”)
If bcount >0 Then
Print “There are” & chr(32) & bcount & “open Internet Explorer browsers”
set objBrowser = Description.Create()
objBrowser(“micclass”).value =”Browser”
objBrowser(“CreationTime”).value=bcount-1
Print Browser(objBrowser).GetROProperty(“Title”)
Else
Print “There are no open Internet Explorer browsers”
End If

Public Function Get_ApplicationCount( byval sApplicationExe)
Dim strComputer
Dim objWMIService
Dim colProcesses
Dim objProcess
strComputer=”.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2″)
Set colProcesses = objWMIService.ExecQuery (“Select * from Win32_Process Where Name = ” & “‘” & sApplicationExe & “‘” & ” “)
Get_ApplicationCount = colProcesses.count
Set objWMIService = Nothing
Set colProcesses=Nothing
End Function

Comment it– QTP

Posted On June 12, 2010

Filed under QTP

Comments Dropped leave a response

Rem statement is used for commenting your code in QTP.

As per the QTP help file:
Rem comment
-or-
‘ comment
The comment argument is the text of any comment you want to include. After the Rem keyword, a space is required before comment.

Remarks
As shown in the syntax section, you can use an apostrophe (‘) instead of the Rem keyword. If the Rem keyword follows other statements on a line, it must be separated from the statements by a colon. However, when you use an apostrophe, the colon is not required after other statements.

I tried using the Rem statement without using the colon and it worked fine. I am using QTP 10.0.

Dim MyStr0,MyStr1, MyStr2
MyStr0=”Mr” : Rem Comment after a statement separated by a colon.
MyStr1 = “Pavan” Rem Comment after a statement not separated by a colon.
MyStr2 = “learning QTP” ‘ This is also a comment; no colon used
Rem Comment on a line with no code; no colon is needed.
Msgbox MyStr0
Msgbox MyStr1
Msgbox MyStr2

Find the broken link– QTP

Posted On June 12, 2010

Filed under QTP

Comments Dropped leave a response

Do you want to know whether a particular link is broken or a valid link?
Try this piece of code…

Set myservice=Nothing
Set myservice=CreateObject(“Microsoft.XMLHTTP”)
myservice.open “GET”, url, False
myservice.send ” “

If myservice.status399 Then
Print “Invalid Request” & chr(32) & myservice.status & chr(32) & url & chr(32) & myservice.responseText
Else
Print “Valid Request” & chr(32) & myservice.status & chr(32) & url & chr(32) & myservice.responseText
End If

How to access Document Object Model(DOM) through QTP

Posted On June 12, 2010

Filed under QTP

Comments Dropped leave a response

Please find the below few lines which gives an idea of accessing the document object model of a browser.

Set MyPageObj= Browser(“YourBrowser”).Page(“YourBrowser”).object

For Each Item in MyPageObj.all
Print “TagName:” & chr(32) & Item.TagName
Print “InnerText:” & chr(32) & Item.InnerText
Print “Value:” & chr(32) & Item.innerHTML
Print “Title:” & chr(32) & Item.Title
Print “id:” & chr(32) & Item.id
Print “==============================================”
Next

What’s your status—- Orkut says "error"

Posted On June 1, 2010

Filed under Life

Comments Dropped leave a response

You may be knowing Orkut- The famous social networking site, on which today I have observed that my status is shown as “Error”. How about yours?

B.Tech Freshers(E.C.E / E.E.E) needed for testing project

Posted On May 28, 2010

Filed under IT Testing

Comments Dropped leave a response

If you know someone who is a
2009/2010 B.Tech with Electronics related specialization pass out and has excellent communication skills there is an urgent open requirement.

You will be tested on:
1) Good knowledge on electronics and its related technologies.
2) Good communication skills.
3) Flair to learn and implement new ideas quickly.
4) Numerical ability.

Please forward your resume immediately to PAVANTURLAPATI@GMAIL.COM

Next Page »
Follow

Get every new post delivered to your Inbox.