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 difference between design time and run time data table?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
what is command for executing files?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
What is the difference between local and shared object repository in qtp?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
what is impact analysis on regression testing?
Explain the Different types of QTP test assets and their extensions?
Explain about Test Fusion Report of QTP?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What is action split and the purpose of using this in qtp?
What is test object?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.