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
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
Why script error occur in between recording in qtp?
How many ways we can parameterize data in quicktest professional?
What is the keyword view and expert view in qtp?
UFT 12.02 which ALM version will support
Explain the check points in quicktest professional (qtp)?
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
Is it possible to change the property value at runtime? How it is possible?
Approach for Installation,comaptibility,system testing
How to recognise the webelement and verifying that webelement is enabled?
Explain quicktest professional (qtp) testing process?
How you can write contexts to text file in qtp?
What is the difference between qtp and selenium?
Explain hybrid framework with advantages and disadvantages?