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


Please Help Members By Posting Answers For Below Questions

I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)

1708


What are the types of object repositories? Which one is you using?

868


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1678


Will down time for server and content maintenance/upgrades be allowed? how much?

844


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

762


What are the different types of functions available in qtp and explain ?

792


What is text/text area checkpoint?

808


Can I change properties of a test object?

866


How is a Step generator used in UFT?

897


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1746


can any one say that where we can download the QTP trail version ??????????

1543


What are the advantages of Object Repository?

816


How many types of object repository in qtp?

836


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1517


How would you directly trigger javascript in a test?

1674