Can we add the function library directly from scripting in
qtp instead of adding from resource tab?

Answer Posted / nath .t

through script we can do

executefile "give the path"
Ex: executefile "d:\functionlibrary.vbs"

another way we can add to our script is AOM(Automated
object model)

first of all create Quick Test object than we can add with
that object.

Ex:
qtApp.Test.Settings.Resources.Add "Path of the library file"

like this we can add.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process of synchronizing qtp and aut?

574


How to get popup error message.

1030


How many types of actions are there in quicktest professional?

516


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1525


How to use the object spy in quicktest professional 8.0 version?

548






When Recovery scenario actually starts while testing the application?

1549


What is the qtp testing process?

604


Explain the difference between call to action and copy action?

525


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1441


What is the virtual object?

649


For which type of projects the iterative model is not suitable?

1437


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

1906


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1715


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

595


What is the use of text output value in quicktest professional (qtp)?

604