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
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What is QTP testing process?
What are the key elements available in test result window?
What is difference between Recording time object identification and Run time (Execution) time.
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
I want to do QTP Certification what is the pattern of Question paper.
What are the benefits of qtp?
What is the Command used to start the QTP
What is a data driven test in qtp?
What is the default object synchronization timeout in qtp?
please post the interview questions for QA position in FACTSET
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
Explain qtp(quick test professional)?