I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm?
Answer Posted / reddz
try this way
k=cint(environment.value("a"))+cint(environment.Value("b"))
msgbox k
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
How to record application running on the Virtual machine?
What is regular expression?
What is the diff between image and bitmap check point?
To which environments does quicktest professional supports?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is the architecture of your project? Can any one answer for this question plz........
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Explain different types of checkpoints?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
How to give a call to another action from one action?