How to call a function in QTP?Is there any method ?
Thanks ,
PRASANNA
Answer Posted / siva
there are twoways
call login( login is a function name) for this we have to
create a function in a notepad and we have to save it
with .vbs extension, then we have to go to settings-
resources-you the show he path of the vbs file) then it
will work perfect or else
executefile"pathof your vbs file"
ex: executefile"d:\\login"
i hopw you can understand
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain the concept of object repository and how quicktest professional recognises objects?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
What is the syntax to call one action in another?
Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?
Plz Explain AUTOMATION REFERENCE MODEL?
what is the frame work in J-meter?
What is the differences between image check point and bit map check point?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
Did the scripts need lot of maintenance? If yes, why?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
what is error and fault in terms of software quality?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
How do you do batch testing in wr & is it possible to do in qtp, if so explain?