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 |
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
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.
If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing.
How to handle recovery scenario for a application crash.write script for this.
How to add synchronisation points in qtp?
Explain the differences between table and db checkpoints?
suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt
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 customize qtp?
4. what is the use of Text output value in Qtp?
How to find the number the number of Links, Brolken Links in a webpage?