Geeks Talk

Prepare for your Next Interview




An example of QTP scripts

This is a discussion on An example of QTP scripts within the QTP forums, part of the Software Testing category; I have basic understanding on QTP, vbscript and javascript. But i m not knowing where the scripting is used because record, run, data table parameter, wait property, syncro, if and ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-03-2008
Junior Member
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sksubhanandan is on a distinguished road
An example of QTP scripts

I have basic understanding on QTP, vbscript and javascript. But i m not knowing where the scripting is used because record, run, data table parameter, wait property, syncro, if and loop statments can be directly added...where scripting is coming in picture? what is use of it? How it is used?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-04-2008
Expert Member
 
Join Date: Jan 2007
Location: India
Posts: 180
Thanks: 3
Thanked 13 Times in 13 Posts
NawabShaikh is on a distinguished road
Re: An example of QTP scripts

1. when ever you are doing validations in your test you need to fetch data from the Object's in varying fashion as per your requirement...for eg:if your requirement to test the IE Window for some application that has title bar appended by the Account ID that is unique for an Individual, for testing that you need to parse the text of the title there comes SCRIPTING.

2. In specific case when-ever there are custom controls that are not identified uniquely by QTP we need to write Functions that do parsing of the Data and provide the requirement.

3. In Case there are some keyboard enabled events in your test, you are required to perform shell programming to trigger those event(shell scripts).

4. VBScript functions are used to filter the data that appears in the application for test purpose.

5. Regular Expressions are used to setup some parameterize checkpoints that are in case not Feasible with the QTP inbuilt Checkpoints.

6. In case you want to interact with the OTA of QTP or some integrated tools API's are processed and supported by VBScript..

Lot's more to be added...Thank's for starting this thread..hope there will be more addition's to the above list.

Regards,
Nawab
Reply With Quote
The Following User Says Thank You to NawabShaikh For This Useful Post:
  #3 (permalink)  
Old 03-04-2008
Banned
 
Join Date: Oct 2007
Location: Hyderabad
Posts: 176
Thanks: 2
Thanked 11 Times in 11 Posts
quality_quantity is on a distinguished road
Re: An example of QTP scripts

Try this my dear

http://www.redbubble.com/people/Mowog

http://Ian_Fraser.imagekind.com


rgds
PRATAP
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
ETL Scripts without using any tools mailtos.ravi Data Warehousing 0 02-16-2008 02:36 AM
QTP scripts Shwe30 QTP 19 12-11-2007 08:09 AM
Winrunner scripts shwetaabz WinRunner 3 10-20-2007 03:55 AM
How to use a QTP scripts in WinRunner SowmyaManjunath Get Together 7 02-28-2007 02:11 AM
What are Test scripts mermathon Testing Issues 1 10-05-2006 02:58 AM


All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved