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. |
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....
|
|||||||
|
|||
|
Re: Text & Text Area Checkpoint
Quote:
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. |
|
|||
|
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.
|
|
|||
|
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 |
|
|||
|
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. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
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 |