srinivasareddy


{ City } hyderabad
< Country > india
* Profession *
User No # 68298
Total Questions Posted # 0
Total Answers Posted # 4

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 14
Users Marked my Answers as Wrong # 4
Questions / { srinivasareddy }
Questions Answers Category Views Company eMail




Answers / { srinivasareddy }

Question { IBM, 10098 }

how to find the fifth highest salary?


Answer

SELECT MIN(SAL) FROM(SELECT TOP 5 * FROM EMP ORDER BY SAL
DESC) AS MIN_SAL

Is This Answer Correct ?    1 Yes 2 No

Question { Thomson Reuters, 14452 }

write script to open Gmail.com, and to write script for
entering username and password and show whether the result
as pass or fail


Answer

'---------------------------------------------opening gmail
login page------------------------------------------------
systemutil.Run "iexplore.exe","www.gmail.com",,,3
wait(20)
If Browser("name:=Gmail: Email from
Google").Page("title:=Gmail: Email from
Google").WebEdit("name:=Email","html id:=Email").exist Then
Reporter.ReportEvent micPass,"Login page","Gmail Login
Page Succesfully Opened"
Browser("name:=Gmail: Email from
Google").Page("title:=Gmail: Email from
Google").WebEdit("name:=Email","html id:=Email").set
"balagisrinu.reddy"
Browser("name:=Gmail: Email from
Google").Page("title:=Gmail: Email from
Google").WebEdit("name:=Passwd","html id:=Passwd").set
"00000000"
Browser("name:=Gmail: Email from
Google").Page("title:=Gmail: Email from
Google").WebButton("name:=Sign in","html id:=signIn").Submit
else
Reporter.ReportEvent micFail,"Login page","Gmail Login Page
Not Opened Succesfully "
ExitTestIteration
End If
'--------------------------------------------------------------------------------------------------------------------------------------------
'------------------------------------------------validating
the my mail id opened--------------------------------------
'Browser("name:=Gmail - Inbox").Page("title:=Gmail -
Inbox").Link("text:=Compose Mail","name:=Compose
Mail").highlight
wait(20)
If Browser("name:=Gmail - Inbox").Page("title:=Gmail -
Inbox").Link("text:=Compose Mail","name:=Compose
Mail").exist Then
Reporter.ReportEvent micPass,"Sign in","login is successfully"
else
Reporter.ReportEvent micPass,"Sign in","login is Not
successfull"
ExitTestIteration
End If
'-----------------------------------------------------------------------------------------------------------------------------------------------------

Is This Answer Correct ?    8 Yes 1 No


Question { 4095 }

Hi..friends can anybody write the script for this question...
Am having some 20 nos of links in a web application, i want
to click some 5,13 & 17th links. So please....can anybody
give the answer....???

-->Hani<--


Answer

thats ok
but we must use index other wise it will not work

Is This Answer Correct ?    1 Yes 0 No

Question { 4877 }

what is baic requierment of yahoo mail?
what is baic requierment of atm?
what is baic requierment of coffee machine?


Answer

BASIC REQUIREMENT OF YAHOO MAIL "A MAN WITH NAME AND REF
MAIL ID"
BASIC REQ. OF ATM "ATM CARD WITH PASSWORD"
BASIC REQ OF COFF MACHINEE "MILK POWDER AND WATER AND CURRENT"

Is This Answer Correct ?    4 Yes 1 No