![]() |
How to capture moveing text ? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions) +--- Thread: How to capture moveing text ? (/Thread-How-to-capture-moveing-text) |
How to capture moveing text ? - njnirmal - 08-05-2009 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 RE: How to capture moveing text ? - QTPian - 08-05-2009 Yes.. You can capture the string and create text checkpoint... Use object spy to know the properties of the string. RE: How to capture moveing text ? - njnirmal - 08-05-2009 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. ? RE: How to capture moveing text ? - QTPian - 08-05-2009 Insert a standard check point for the moving string and check for the inner text value. Let me know if this helps you.. RE: How to capture moveing text ? - yadagiri - 10-10-2009 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. RE: How to capture moveing text ? - teegalarajender - 10-11-2009 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. RE: How to capture moveing text ? - qatestbrian - 11-18-2009 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 |