Geeks Talk

Prepare for your Next Interview




Standard Checkpoint

This is a discussion on Standard Checkpoint within the QTP forums, part of the Software Testing category; Hi all, I have a problem in standard checkpoint. I have a script which use a parameterizing & a checkpoint. In which it compares a value in one column to ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-20-2007
Junior Member
 
Join Date: Jul 2007
Location: pune
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
pravinspatil is on a distinguished road
Standard Checkpoint

Hi all,
I have a problem in standard checkpoint.
I have a script which use a parameterizing & a checkpoint.
In which it compares a value in one column to the output values. I do not want to compare all cells. It compare all cells. I want to check those cell which having values only.

Can any one tell me, hoe to use script for that? can i have to use any conditional statement there?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-20-2007
Expert Member
 
Join Date: Oct 2007
Location: Mumbai
Posts: 347
Thanks: 4
Thanked 54 Times in 44 Posts
bizzzzzare is on a distinguished road
Re: Standard Checkpoint

Hi Pravin,

Could you be more specific as to where is the column value that you are comparing your output values with. This would help in providing an acccurate solution.

Meanwhile Assuming that you are working with any table, I would suggest that instead of using a checkpoint, you could script the following manner to compare your output values against the values in the Column.

Assumptions
Output Variable = StrText
RowCnt = 1
Colcnt=The required Column number in the Table

for i = 0 to Range(RowCnt,ColCnt)
Reply With Quote
  #3 (permalink)  
Old 11-21-2007
Contributing Member
 
Join Date: Nov 2007
Location: In my Home
Posts: 49
Thanks: 0
Thanked 9 Times in 4 Posts
Sycho is on a distinguished road
Re: Standard Checkpoint

You can use Set Current Row method of DT Sheet Object using conditional statment.
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Checkpoint failed Lokesh M QTP 4 06-13-2008 01:48 PM
XML Checkpoint and Accessibility Checkpoint Lokesh M QTP 1 02-28-2008 06:34 AM
Can QTP while create a checkpoint during runtime Geek_Guest QTP 6 12-26-2007 11:06 AM
Database Checkpoint dynamic query spore QTP 2 09-24-2007 05:03 AM
Webpage / Frame Checkpoint Lokesh M QTP 4 12-11-2006 02:00 PM


All times are GMT -4. The time now is 01:38 PM.


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