can a Function return more than one value..??? if so please
give me the code for that.
Answer Posted / bantanahal haribabu
function exmp(a,b)
dim myarray(2)
myarray(0)=a+b
myarray(1)=a*b
exmp=myarray
end function
val=exmp(2,3)
msgbox isarray(val)
for i=o to ubound(val)
msgbox val(i)
next
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
how to create flat file datasubmission in qtp
how u will evaluate the tool for test automation?
What is the short cut keys for the following?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
Explain how to use QTP to check broken links on a page?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How you create new action in qtp?
Which functionalities of QTP used in banking project?
What is the difference between the design-time and run-time data tables?
How to Test the mainframe application?
What is the limitation to XML Checkpoints?
How to remove the associated function library?
How to handle dynamic objects in quicktest professional?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.