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

Answer Posted / aiswaryan

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp? Which will be used when?

554


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1635


When ‘option explicit’ keyword is used in qtp?

750


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

23940


What are the differences between qtp and winrunner?

537






how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1590


What is the use of running the scripts in Hidden-mode in UFT?

688


what r the main attributes of test automation?

1481


How many types of Automation frameworks are there in UFT? Describe them.

562


Where to use function or action?

671


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1829


What is throw object?

1747


Explain the benefits of quick test pro(qtp)?

573


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2441


What is the difference between analog and low level recording?

626