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 should we write the script?

This is a discussion on how should we write the script? within the Testing Issues forums, part of the Software Testing category; can anyone explain how to write the script in qtp??? i'm totally new to this and being asked to write an script all i know is that we don't write ...

Go Back   Geeks Talk > Software Testing > Testing Issues
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 02-13-2007
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
abraham_ahmed is on a distinguished road
how should we write the script?

can anyone explain how to write the script in qtp???

i'm totally new to this and being asked to write an script all i know is that we don't write script, it generates by executing files.
Reply With Quote
The Following User Says Thank You to abraham_ahmed For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 02-14-2007
Contributing Member
 
Join Date: Feb 2006
Posts: 37
Thanks: 3
Thanked 7 Times in 6 Posts
dsharma is on a distinguished road
Re: how should we write the script?

We do record scripts in QTP but that is just the beginning of the play. Actual part that follows is enhancing the scripts using the expert view.
The strategy for automation may be taken as follows
  • Identify the flow of scripts
  • Start the Record and Playback feature
  • Enhance the scripts in the Expert view keeping in mind the following features
  • Re-usability - Using functions
  • Simplicity
  • Readability - Using appropriate comments
  • Defensive Programming - Using Recovery Scenario
  • Modularity - Using library files
Let me know if more extensive details are required...
Reply With Quote
  #3 (permalink)  
Old 02-14-2007
Expert Member
 
Join Date: Nov 2006
Location: Hyd-IND
Posts: 528
Thanks: 1
Thanked 63 Times in 50 Posts
sutnarcha is on a distinguished road
Re: how should we write the script?

We can either record the test case for the test tool to automatically write the script for us or we can write it our self for using Descriptive programming techniques.
__________________
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.

-sutnarcha-
Reply With Quote
  #4 (permalink)  
Old 02-14-2007
Junior Member
 
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
abraham_ahmed is on a distinguished road
Re: how should we write the script?

thanks for your help guys.!
Reply With Quote
  #5 (permalink)  
Old 02-15-2007
Junior Member
 
Join Date: Feb 2007
Location: India
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
dintakurthi is on a distinguished road
Re: how should we write the script?

Hi,
Its very easy write scripts in QTP. Fist of all let me know, for which functionality u have to write the script. Do u know VB.Script?
Quote:
Originally Posted by abraham_ahmed View Post
can anyone explain how to write the script in qtp???

i'm totally new to this and being asked to write an script all i know is that we don't write script, it generates by executing files.
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Issues

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
Write an SQL query JobHelper SQL 2 09-22-2008 09:35 AM
QTP - VB script aromalis QTP 7 10-11-2007 11:37 AM
Script Error sharifhere Unix/Linux 2 01-16-2007 07:38 AM
The Read/Write Web Lokesh M HTML & CSS 0 06-21-2006 12:58 AM
where to write sql query at runtime dssanjay WinRunner 1 06-03-2006 08:02 AM


All times are GMT -4. The time now is 09:52 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