Where we write the FUNCTIONS, in Expert view (or) in any
textfiles like Notepad and save it in Library functions
folder? How to cal that functions to our script? How to
save that functions to Function generator?
Answers were Sorted based on User's Feedback
Answer / abhesheke
it very easy dude
i will tell u
assume i have written a function in notepad and save it with
.vbs extension
"assume this is the function written in notepad"
function Testing
msgbox("welcome to testing world")
end Function
now add this to the library
navigation is test->setting->resources (add this file there)
and in ur expert view just write the function name i.e
Testing run the script it will work
i hope u understood dude any doubt ping me
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / a.thirumalareddy@gmail.com
we can save that library files in our local folder and by using "executefile" method we can directly associate those files
for e.g executefile "path of the library file"
Is This Answer Correct ? | 0 Yes | 0 No |
Explain script generated at the time of setting runtime property?
Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)
What are the common defects found in your project? (in qtp interview)
Both static and dynamic arrays are handled by the vb script. Is it true?
Explain Checking XML....
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
In Descriptive programing if i use this below code will it work for login window or flight Res Window. Shud i add the properties like attached text=login and text=Agent Name in the object repository and define a new object first. Pls tell me the procedure in clear inorder to execute this script. Dialog("title:=Login").WinEdit("attached text:=Agent Name:").set"agent123" Dialog("title:=Login").WinEdit("attached text:=Password:").set"mercury" Dialog("attached text:=Login").winbutton("text:=OK").click
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What is the latest version of qtp?
How does quicktest professional identifies the object in the application?
How QTP recognize the object??how to add objcts into object repository??