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

Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.

2 Answers  


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

0 Answers  


what is error and fault in terms of software quality?

0 Answers   TCS,


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


can u please explain what r the challenges u faced in ur automation testing

2 Answers   Genpact,






what is the difference between call to copy action and call to an existing action

5 Answers  


QTP supports both client server and Web applications. Does it support Plug-in?

0 Answers  


Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks

1 Answers  


Please explain about unicode compatibility in QTP. how we can able to use it. Please help me

1 Answers  


HOW DO U CALL A ACTION IN QTP?

2 Answers   BirlaSoft,


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

0 Answers   TCS,


Hi, I have 50 test cases for automation, Based on which criteria we can decide for these test cases we have to use Descriptive programming and remaining for general coding? Thanks In Advance..Kavitha

2 Answers  


Categories