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
What are the different types of checkpoints?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Does QTP record on Objects created on XWindows Environment?
To which environments does quicktest professional supports?
What is Curd testing?
What is the default add-ins in qtp?
When to use shared and local object repository?
What are the recording modes in wave event?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Explain the concept of object repository and how qtp recognises objects?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Explain runtime dynamic settings?
Write a script to verify font style and color of a windows object using descriptive programming