How i can use and create Library functions in QTP and what
is the proces .
Answers were Sorted based on User's Feedback
Answer / jay prakash
Creating library is nothing but writing some .vbs files and
assosiating it with the main script.
The .vbs files can contain the variable declaration,
functions&Procedures etc. Which (Variables and
Functions&Procedures) can be directly referred from your
QTP Scripts.
Steps are:
1. Create us .vbs files.
2. From QTP (I am talking wrt QTP 9.2) File->Settings
Select resource tab.
3. Associate the libs by browsing to the .vbs file path.
Your script is ready with the Library function. It is
benificial in the case you can use the same library for
different scripts. reusabilitu and maintainance is very
easy.
Please let me know if it satisfies your query.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / krishnateja muppalla
Library functions are nothing but reusable functions. You can create all reusable functions in a library (.vbs file) based on your project requirement. When ever you want particular function, you can call from current script.
Associating library function to our mail script you can see from above answer.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Run a Test using QTP?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
types of output value in details.
What are the main attributes of test automation?
Explain abt the File System Object in QTP with ex
How do we retrieve the content from a text box in a web page
what sort of things what u put in Bug Report ?
What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??
3 Answers DST Global Solutions,
Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???
Can any one send me the QTP Basic Coding Samples?
If you have given 1000 manual test scripts, what test you will do? and how?
what is the criteria for choosing test cases for automation? Ex: if you have some 300 test cases, then how many you choose for automation. what is criteria of selecting?
3 Answers Aricent, Delhi University, TCS,