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
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Shall we add Local Repository to shared object repository,if yes,how we add
What are the views available in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
What are the advantages of Object Repository?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
Define object spy ?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
how to evalute defects in QTP script?
Why do we use breakpoints in QTP?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Does quicktest professional (qtp) is unicode compatible?
Does Low-level recording capture mouse movements?