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

What does ".mst" stands for? (abc.mst)

3 Answers   Infosys,


Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")

2 Answers  


What kind of errors can b handled in QTP in real time scenario?

2 Answers   AZTEC,


How to create scenario selector

0 Answers  


can we call a test in another test?

3 Answers   iFocus,






What are the advantages of a Hybrid framework?

0 Answers  


How to use Regular Expressions in QTP

1 Answers  


What is post recovery scenario?

0 Answers  


What are the views available in quicktest professional (qtp)?

0 Answers  


What are parameterizing tests?

0 Answers  


What is the main difference between desriptive programming and generic functions

2 Answers   HCL,


Explain about the quicktest professional (qtp) automation object model?

0 Answers  


Categories