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 |
Can we directly automate testscripts accrdoing to requirements
2 Answers CitiGroup, Novartis,
write a qtp script to see time in windows command prompt? its urgent....
Hi, When I click on a hyperlink a secondary pop-window will open. In that pop-up window there will be 'N' number of records arranged in with paging option in datagrid table. Each rows contains two columns, one is text and the other is a radio button. I will pass the first column value and based in it the tool have to select the corresponding radio button in that row. Please someone help me how to handle this as am new to QTP.
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
How to check and display a particular word from a paragraph?
How to see entire results at the same timeafter the batch run.. Cannot see the entire results at a time. Is there a easier way view everthing at same,as our batch file very large
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
c language is thre but what is the purpose of c++, java is there but what is the purpose of Advanced java ....why these are all versions are coming...whta is the problem?
how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
what is Business Process Testing plz explain?
Explain sub procedure of vbscript.
How to analyzing test results using quicktest professional?