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 How to write the vbscript in web based applications in qtp? within the QTP forums, part of the Software Testing category; hai all, i could write the script client based applictions,but i have no idea in web based applications script in qtp.how to write...
|
|||||||
|
|||
|
How to write the vbscript in web based applications in qtp?
hai all,
i could write the script client based applictions,but i have no idea in web based applications script in qtp.how to write |
| Sponsored Links |
|
|||
|
Re: How to write the vbscript in web based applications in qtp?
Hi,
Follow the same approach you used in creating scripts for Client-Server Applications. Learn the Objects as part of your Object Repository and script using the functional navigational flow. Incase of runtime Objects use Descriptive Programming. Differences 1) The Way the Objects are recognised would be different. In sense Objects would more or less pertain to Web Objects. Hence you would have WebEdit, Links etc. 2) Web- based Approach scripting would more or less follow the DOM approach - Document Model Approach. In this each Object would have a Parent Object which could be the Window or Browser Object. Further on Objects go down the Hierarchy So the scropting syntax is like - Browser("").Page("').Link("").Click You could also write VbScript functions like Invoking Excel, Browsers etc and include them as library files in QTP. Save the files as .VBS and include them. Cheers....
__________________
Regards, V.Umesh Krishnan QA Consultant |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regarding the convrsion of Vbscript files into .exe form | naveen.kamisetty | QTP | 2 | 10-15-2008 07:02 AM |
| VBscript tutorial 4 QTP | QuickTestMichael | QTP | 1 | 07-24-2008 05:40 PM |
| Validations on struts based applications | Lokesh M | Java | 2 | 11-19-2007 03:44 AM |
| Applets based on BC | karangula | Seibel | 1 | 10-08-2007 10:42 AM |
| Challenges in Testing Web Based Applications | Lokesh M | Web Testing | 0 | 06-10-2006 07:57 AM |