Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Function libraries??? within the QTP forums, part of the Software Testing category; hi friends.. I have to automate web based application and prepare script for entire site will you please let me know how to script and add in to QTP???? I ...
|
|||||||
|
|||
|
Function libraries???
hi friends..
I have to automate web based application and prepare script for entire site will you please let me know how to script and add in to QTP???? I have QTP 9.0 with me Waiting for your reply Thanks Deepasree |
| The Following User Says Thank You to deepasree For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Function libraries???
EO: go for function libraries only when there are multiple instances of a control.
1. Create test validation functions, utility test functions, regular exp mapping functions , exception handling functions..... And save them in a vbs. 2. Upload the vbs for all ur scripts via the resource setting. Regards, nawab Last edited by NawabShaikh; 10-10-2008 at 06:01 AM. Reason: Format |
|
|||
|
Re: Function libraries???
Hi nawab,
Really i can't get this "Create test validation functions" u mean assigning validation to the particular field??? 2. what is the use of utility test function??? why it should be called??? 3. regular expression mapping function??? 4.exception handling functions??? u mean recovery screnario??? Do you have any sample codes for all these functions specified above if it is so then please post it in the forum.. I am waiting for your reply???? Thanks Deepasree |
|
|||
|
Re: Function libraries???
Create Validation Function: What Testing U want to do on that GUI Control(as stated in ur Requirement Specification)
Utility test function: there might be some xls , DB or complex Search pattern that are very lenghty to be copied in every script..they can be associated in the VBS regular expression mapping function: Instead of If Else u might require to have a RegEx Function say for date validation ...Date format might be same across the application. exception handling: can be recovery scenarios else explicit functions with detailed Reports in case of anomaly. Sample Code ..Sorry these are architecture level details and hence I can't get Sample code..well its scatterd in the forum.. Regards, Nawab |
|
|||
|
Re: Function libraries???
hi nawab,
"Create Validation Function: What Testing U want to do on that GUI Control(as stated in ur Requirement Specification)" I need clarification ????Already we test the application manually and then we conduct regression with QTP that's do we need negative validation here(while preparing script) Thanks Deepasree |
|
|||
|
(Requirement Specification is the bottom line)
1. In case if u have priorities defined in ur testing u have to design scripts accordingly 1.1 Failures might result reporting 1.2 aborting action 1.3 aborting test 1.4 aborting run hence u need to handle these situations...they have to be embeded in ur Function/Script so that u have a graceful exit. hence I have specified Exception Handling as it might serve 1.1 purpose. These are Strategic issues..please refer to Test Strategy Doc of ur Project and also consult Test Lead as they might have a workaround ![]() Regards, Nawab Last edited by NawabShaikh; 10-10-2008 at 09:18 AM. Reason: Addition |
|
|||
|
Re: Function libraries???
Quote:
when you have written the functional library file store it as .VBs file and Write the code manually execute file ""give the path of the file. or you need to load the modefied vbs file every time you when you updated. When u write the stetement Execute File "" Each time you execute the Script, New VBS file will be upladed. Thank you, Moses Arnold 281-844-5533 |
|
|||
|
Re: Function libraries???
What is the different between filename.vbs and filename.qfl?
I have bunch of functions (not visual basic, instead they are repeatable actions such as to fill customer information or to verify create user messaged etc.) in a file which extension is "qfl". I beleive this file was created by function generator (not so sure). |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AJAX Made Easy - Google Hosting Ajax Libraries | Lokesh M | AJAX & XML | 0 | 06-28-2008 05:22 PM |
| Project functional libraries | kishchilukuri | QTP | 1 | 04-29-2008 06:32 PM |
| throwexception from function to function | JobHelper | VB.NET | 1 | 06-25-2007 07:24 AM |
| pl/sql function | gujjar | Oracle Certification | 3 | 02-22-2007 10:47 AM |
| TSL Function | sutnarcha | WinRunner | 1 | 12-20-2006 05:40 AM |