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 do you call the window testdirector-testlab?

1 Answers  


What is data driver in qtp?

0 Answers  


What is iteration? How it is related to Test Results in QTP?

2 Answers  


Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?

1 Answers  


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

0 Answers  


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

0 Answers   ABC, scintel,


How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.

2 Answers   Wipro,


how to test one edit box using dotnet addin for Web Applications? write script?

2 Answers   NTT Data,


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

0 Answers  


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

0 Answers  


How you can replace string in qtp?

0 Answers  


Categories