Write VB script to test given number is Prime Number
Answer Posted / apoorva
bresult = False
Num = 907
For i = 2 To Num / 2
If Num Mod i = 0 Then
bresult = True
Exit For
End If
Next
If bresult = True Then
MsgBox "Prime"
Else
MsgBox "Not Prime"
End If
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How can you send user defined messages to test report?
What is recovery scenario in qtp?
What are the different types of recording modes in qtp? Which will be used when?
Without using gui map editor we can recognize the application in winrunner ?
What is the difference between a Function and Action in QTP?
what is the diffrence bw qtp architectute and qtp framework?
I want to do QTP Certification what is the pattern of Question paper.
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
What is throw object?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
please post the interview questions for QA position in FACTSET
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
what is run action?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]