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 / arun
Please try
Environment("a")=10
Environment("b")=20
msgbox (cint(Environment("a"))+cint(Environment("b")))
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
When you open QTP, how many sheets you can see?
How to use transactions in qtp?
what is supply chain management?
How to save your test using quicktest professional (qtp)?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How will you report the bug and explain the defect tracking sheet you handled?
What are the two types of repositories available, explain them?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
What is a recovery scenario?