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
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
How to associate shared object repository to test in qtp?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to test background color and dynamic images during run time can you put the check point for moving objects?
I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing
How to open a new test using quicktest professional (qtp)?
What is an optional step in qtp ?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
What is expert view in qtp?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
what kind of frame work you used in your last project?
Explain the check points in quicktest professional (qtp)?
How to create runtime property for an object?