How can we return a value from User Defined Function ? For
Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b)
and i am addding those 2 and storing in to another var (c).
Now i want to pass that var(c) to another function (fun2).
What will be the script?

Answer Posted / ganesh

Hi Mr. Krishna,
I worked on this code.
its working right ??

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Someone who protect my excel file, m using ms office 2007 and windows 7 operating system, pls help me, how can i unprotect sheet

1894


How can you convert QTP 8.2 scripts to QTP 9.2. Please give some inputs ASAP.

2393


I have deducted tds on pay slip for employees ist month tell me how to deposit this amt to govt. by bank or any form is available fill the same and deposit the govt. department. Pls explain me which form to be used for deposit the same with due date.

2847


How applet differ from Swings in java ?

1574


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1844






Why we use Action Script(Multimedia Flash) rather than using other scripting languages (JAVA,VB...etc) ?

2361


how do invoke OS task through ANT?

2105


I have installed QTP version 9.0. I have installed Mozilla firefox version 2.0. But QTP "Record and Run settings" in WEB tab shows FIREFOX 1.5 in drop down to run session begins. So QTP does not record anything which I type in firefox. How can i recognise firefox 2.0 and how can i update browser version in QTP?

1774


a="10.20.30.1" replace 1 with 45 in python using reg ex

981


how can i type the text message in compose box in yahoo mail using descriptive programming in QTP?

1727


Difference between the SAP MDM vs IBM MDM in approach, the tools used , ease in handling/implementing.

6248


how do u define in ur build.xml If I need to execute a task before executing my task?

1766


can I name the build.xml with any name? if so how can I invoke ?

2000


How do you insert record into scripting using siebel crm

5055


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1617