Answer Posted / subhani
No = Inputbox("Enter a number to check whether it is Odd or Even")
If no mod 2 = 0 then
msgbox no & " is even."
else
msgbox no & " is odd."
end if
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
how to increasing the numbers in a given text box please write a vb script
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?
Explain the filter expression?
What is purpose of scripting.filesystemobject class in vbscript?
what is the difference between modular and data and keyword driven framework
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
i need to sort the data using qtp script for this how i need to write a qtp script
Which in-built function related to an array joins substrings into one string in the vbscript language?
How to access array data?
what is the standards used for writing the script in QTP
What are the rules to name variable in vbscript?
How will you get the smallest subscript of an array in vbscript?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?