What will be the output of the statements below?
On error Resume Next
Sum 100/0
if Sum= 0 Then
msgbox "Pass"
else
msgbox "Fail"
End If
Answer Posted / udham singh
if the statement is sum = 100/0
then the answer is
"Pass"
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference in testing a client-server application and a web application?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
Is it possible to call from one action to another action in qtp?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
How does qtp identify gui object?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
How to test background color and dynamic images during run time can you put the check point for moving objects?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
Is QTP supports Unix. If yes, then how the test automation is done?
How many add-ins comes by default with qtp?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
what is defenetion of kiran can u tell me plz CVS, SVN
what is vmodel?advantages and disadvantages of vmodel?
Whats the realtime QTP testing process
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?