Exforsys

Online Training

QTP Script

This is a discussion on QTP Script within the Software Testing forums, part of the Testing category; How can we write script for dynamically changing values in qtp. note: without using Regular Expressinons. For eg: in my ...


Go Back   Exforsys > Testing > Software Testing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-26-2007, 04:53 AM
Junior Member
 
Join Date: Oct 2007
Posts: 3
nani4urs is on a distinguished road
Smile QTP Script

How can we write script for dynamically changing values in qtp.
note: without using Regular Expressinons.

For eg: in my application there is a link like Festival.

This link can change dynamically like Christmas, Diwali, and Dussera….

But actually I stored in OR with link name as festival.

So wt we do to identify the link.

Without using Regular expressions how can we do?

Is there any solution for these one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 01:35 PM
sangee
 
Join Date: Jul 2007
Posts: 8
sangeetharavi is on a distinguished road
Hi,

I think u can use descriptive programing for this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-26-2008, 10:52 AM
kalyansantosh's Avatar
Member
 
Join Date: Feb 2007
Location: Hyderabad
Posts: 91
kalyansantosh is on a distinguished road
Send a message via Yahoo to kalyansantosh
Post Script

Send the scenario (Properties also)
i will write a script.
__________________
Kalyansantosh
Sr QA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-04-2008, 01:04 PM
Junior Member
 
Join Date: Feb 2008
Posts: 2
rajusushma is on a distinguished road
Hi kalyan my email id is sushmadevi77@yahoo.com please email me how to write test plan and what document i should write before starting write test plan.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-03-2008, 01:36 PM
Junior Member
 
Join Date: Jul 2008
Posts: 9
Noorjahan is on a distinguished road
Descriptive programming is the way
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-04-2008, 01:47 PM
Junior Member
 
Join Date: Apr 2008
Posts: 8
sukanya_QTP is on a distinguished road
use descriptive programming to create link dynamically

Quote:
Originally Posted by nani4urs View Post
How can we write script for dynamically changing values in qtp.
note: without using Regular Expressinons.
For eg: in my application there is a link like Festival.
This link can change dynamically like Christmas, Diwali, and Dussera….
But actually I stored in OR with link name as festival.
So wt we do to identify the link.
Without using Regular expressions how can we do?
Is there any solution for these one.

use descriptive programming to create link dynamically ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-05-2008, 07:32 AM
Junior Member
 
Join Date: Sep 2008
Posts: 2
jyotikrushna is on a distinguished road
answer for ur question

Hi.

don't worry u can use descriptive programming here. below is ur answer

msgbox=Browser("browsername").Page("page name").Link("name:=festival,html tag:=A").tostring

before execute this plz check the available properties and methods of that link by using object spy.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

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

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Request for interview question for Testing (QA) wildkid98 Testing Tutorials 17 04-23-2008 04:24 AM
How to Schedule My Script Ralph Shell Programming 1 06-12-2007 09:49 AM
Tutorial on Silk Test spriya279 Testing Tutorials 2 02-15-2007 06:31 PM
Unix - Frequently Asked Questions (3/7) [Frequent posting] Ted Timar Tech FAQ 0 05-11-2004 06:50 AM
[FAQ] FileMaker Pro - database for Macintosh and Windows Martin Trautmann Tech FAQ 0 04-17-2004 07:26 AM


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


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.