how can i replace any text from the qtp script with some
anothere text



how can i replace any text from the qtp script with some anothere text..

Answer / aiswaryan

'Replace(expression, find, replacewith)
reptext=replace("Good Morning", "Morning", "Evening")
msgbox reptext

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the difference between Mandatory and BaseFilter Properies..Anybody please answer me..Thanks in Advance

3 Answers   BirlaSoft,


How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared

4 Answers   Tavant Technologies,


what are the different types of framesworks in QTP?what is the keyword driven framework?

2 Answers   Mindlance,


what is the difference between development and testing

1 Answers  


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

0 Answers  






what is the Debug view?

1 Answers  


How to find given string is palindrome or not without using strreverse() function?

2 Answers  


Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this

4 Answers   L&T,


Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?

1 Answers   Cigniti Technologies,


what is the difference between link and hyperlink?

2 Answers  


How do u connect database through QTP tell me both Ms Access and SQL

2 Answers   Livetek,


How many add-ins comes by default with quicktest professional?

0 Answers  


Categories