How to compare the two strings?

Answers were Sorted based on User's Feedback



How to compare the two strings?..

Answer / 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

How to compare the two strings?..

Answer / naag

correct, it gives correct result. thanks bro...

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More QTP Interview Questions

Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?

1 Answers  


write script for how to add function library in QTP

2 Answers   Aspire,


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


How to do the Mouse Operations in QTP. How to aacess an Image in a web application to save it on my desktop. To my Knwoledge that can be done by mouse right click on the Image and selecting 'Save the Image'option. Or Is there any alternate way to do this..

1 Answers  


What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.

1 Answers  






Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

0 Answers  


How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP

1 Answers  


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

0 Answers  


what are the metrics in general we use in testing

1 Answers   Tanla Solutions,


How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error

1 Answers  


Explain the check points in QTP?

2 Answers  


In what situations QTP will not recognize the Objects?

6 Answers   Wipro,


Categories