How to compare the two strings?

Answer Posted / amarendra kothuru

using strcomp(str1,str2,booleanvalue), we can compare two
strings
e.g: strcomp("abcd","ABCD",0) results 0 - avoids case
sensitive
strcomp("abcd","ABCD",1) results -1 follows case sensitive

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how you can replace string in qtp?

837


Explain quicktest professional testing process?

759


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1706


What are the differences between quicktest professional and winrunner?

790


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1767


Explain in brief about the qtp automation object model (aom).

757


Explain advantages and disadvantages of ddf?

818


Define Canvas view of UFT?

817


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

1738


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1728


Why do we use breakpoints in QTP?

827


What is throw object?

2048


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1866


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1805


Can U Explain about QTP tool from older version to latest version also its differences?

1756