Geeks Talk

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.

How to write the vbscript in web based applications in qtp?

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...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 12-20-2007
Junior Member
 
Join Date: Nov 2007
Location: bangalore
Posts: 29
Thanks: 11
Thanked 6 Times in 2 Posts
srinu.tenali is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-20-2007
Junior Member
 
Join Date: Dec 2007
Location: Pune
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Prachi Patil is on a distinguished road
Re: How to write the vbscript in web based applications in qtp?

Can you tell me what is MIS in accouting? How to prepare monthly MIS of company?
Reply With Quote
  #3 (permalink)  
Old 12-20-2007
Expert Member
 
Join Date: Oct 2007
Location: Mumbai
Posts: 354
Thanks: 4
Thanked 58 Times in 47 Posts
bizzzzzare will become famous soon enough
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
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


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


All times are GMT -4. The time now is 10:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved