Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to capture moveing text ?
08-05-2009, 11:43 AM
Post: #1
How to capture moveing text ?

HI..

I have a one string in web application , which is moving from right to left . Now i want to capture this string ? Is this possible to catpure this string using QTP? Is is possible to create a checkpoint ?


Thanks In Advance
Find all posts by this user
Quote this message in a reply
08-05-2009, 11:59 AM
Post: #2
RE: How to capture moveing text ?
Yes.. You can capture the string and create text checkpoint... Use object spy to know the properties of the string.
Find all posts by this user
Quote this message in a reply
08-05-2009, 02:36 PM
Post: #3
RE: How to capture moveing text ?
(08-05-2009 11:59 AM)QTPian Wrote:  Yes.. You can capture the string and create text checkpoint... Use object spy to know the properties of the string.


I agree that we can use text check point
But the problem is that string is moving ? his x,y cordination are changing ?
so while i play back the test so it will be pass or failed. ?
Find all posts by this user
Quote this message in a reply
08-05-2009, 02:57 PM
Post: #4
RE: How to capture moveing text ?
Insert a standard check point for the moving string and check for the inner text value. Let me know if this helps you..
Find all posts by this user
Quote this message in a reply
10-10-2009, 05:34 PM
Post: #5
RE: How to capture moveing text ?
Hi All,

Don't use the check points , it may cause performance issue.
write the if condition to check the text existence then use GetRo property to get the text.
Find all posts by this user
Quote this message in a reply
10-11-2009, 02:42 AM
Post: #6
RE: How to capture moveing text ?
Hi All,

To Capture a text any object the best way is by doning GetROProperty. Don't use check points, it may lead to problems.
Find all posts by this user
Quote this message in a reply
11-18-2009, 07:10 PM
Post: #7
RE: How to capture moveing text ?
Hey All,

Maybe I am misunderstanding the question, but isn't this a great candidate for descriptive programming? Get the properties of the object and then build your object without using the x,y axis as an identifying property.

Talk to you,
Qatestbrian
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)