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.

Text & Text Area Checkpoint

This is a discussion on Text & Text Area Checkpoint within the QTP forums, part of the Software Testing category; Hi, Pls tell me difference between the Text checkpoint and Text Area Checkpoint?????? Thanks in Advance....

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 01-01-2008
Contributing Member
 
Join Date: Oct 2007
Location: India
Posts: 36
Thanks: 4
Thanked 3 Times in 3 Posts
ramyamca1984 is on a distinguished road
Thumbs up Text & Text Area Checkpoint

Hi,

Pls tell me difference between the Text checkpoint and Text Area Checkpoint??????


Thanks in Advance.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-22-2008
Junior Member
 
Join Date: Jan 2008
Location: US
Posts: 22
Thanks: 1
Thanked 1 Time in 1 Post
MaluR is on a distinguished road
Re: Text & Text Area Checkpoint

Quote:
Originally Posted by ramyamca1984 View Post
Hi,

Pls tell me difference between the Text checkpoint and Text Area Checkpoint??????


Thanks in Advance.
Hi ,
Text Area Checkpoint- Enables you to check that a text string appears within a defined area in a Windows application, according to specified criteria

Text Checkpoint - Enables you to check that the text is displayed in a screen, window, or Web page.When checking text, QuickTest tries to retrieve the text directly from the test object.
Reply With Quote
  #3 (permalink)  
Old 01-22-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 54 Times in 36 Posts
Anshoo_Arora is on a distinguished road
Re: Text & Text Area Checkpoint

I'm not sure if this is correct, but I believe that an entire Text area would be a WebElement. So for a Text Area, at least in my opinion, it is the most convenient if not best, to use a Standard Checkpoint. As for its definition, its to check if the particular WebElement at hand exists when page loads.
Reply With Quote
  #4 (permalink)  
Old 01-31-2008
Junior Member
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
punam_5 is on a distinguished road
QTP text checkpoints

Hi All,

M learning QTP using trial version. I want to apply text checkpoints on FlightReservation application like whatever option I'll select in depart from list box should appear on FlightConfirmation Page.
I have tried to store the selected "Depart from" location option in the variable but I didnt able to solve this. Help appreciated.


Thanks
Poonam Agrawal
Reply With Quote
  #5 (permalink)  
Old 01-31-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 54 Times in 36 Posts
Anshoo_Arora is on a distinguished road
Re: QTP text checkpoints

(Try a standard checkpoint instead. It should work.) <- previous answer

Ok, maybe I didn't read your question carefully. Please disregard my previous answer. So, are you saying that when you select a Departing City, you want to be able to somehow verify that it is the city the Application registered. Well, you can select the city, go to the Itinerary Booked page, and capture the WebElement from the WebTable which has the Departing City listed, along with time. You can use a simple script to retrieve the data from that particular Cell, or use a Standard Checkpoing (with Regular Expressions) to capture the same.

This is a working script to retrieve the data stored in that particular cell:

strDptConf = Browser("micclass:=Browser").Page("micclass:=Page").WebTable("innertext:= Flight Confirmation.*","index:=0").GetCellData(3,1)
Print strDptConf

Last edited by Anshoo_Arora; 01-31-2008 at 11:32 PM.
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
save some text data in SQL Abhimanyus SQL 3 12-17-2008 09:19 AM
text id tables kmkgupta SAP R/3 0 12-21-2007 02:51 AM
I want to test all labels text praveenchandupatla QTP 0 07-24-2007 04:32 AM
Full Text Searching vcyogi SQL Server 2 06-08-2007 09:41 AM
Text effects in php gansmore PHP 0 04-02-2007 07:39 AM


All times are GMT -4. The time now is 11:07 AM.


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