h u call the function

Answer Posted / siva

I can tell the ways of how to call the function
First prepare test for any application then
go to==>note pad==>save with extension of .VBS then
EX:=function function name()
""ur test""
End function

then Associate this function to QTP
How to associate==>file==>settings==>Resources==>add ur file

then call to ur function

function name()

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1543


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1820


What are the five challenges you faced in QTP?

2838


Step 3&4 are repeated until an the object in recognised uniquely.

1626


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

3411






Did QTP prove efficient for your project? Yes or No, explain?

6222


What is the use of Debug Viewer?

1566


You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?

1440


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1736


Why bpt?

695


What are the general steps involved in the data driven framework?

637


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

729


can anyone tell me from where i can download qtp demo or crack version

1705


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1593


Write a script to customize the test results in PDF and HTML format.

2177