How can we test existence of a particular word in scentence
using QTP tool.

Thanks in Advance!!!!!

Answer Posted / kalyan

Using strcomp method we can check the string.

In web application string will be recognized as web element.

In window based application string will recognized as static.

first of all we have to capture the actual string which we
need to test. Then assign this to one variable. And allready
we have expected string. Assign this string to one variable.
then compare to strings with one more variable with help of
strcomp method.

If any clarifications mail to me. I will give detail
explanation with example. mskalyan.smile@gmail.com

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many maximum number of virtual users we can create?

1684


Explain different recording modes?

676


What are the types of object repositories? Which one is you are using?

722


Explain how to use QTP to check broken links on a page?

677


what is actually contain test report? can anybody post the test report

1567






Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1617


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1600


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

699


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1596


What are the advantages of parameterization ?

694


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

1800


How to customize qtp?

684


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3535


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1451


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

959