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
How to break the object spy ?
In what occasion we can specify global sheet and action sheet?
What are the methods of the TextStream object that are used for reading from a text file?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
what is vmodel?advantages and disadvantages of vmodel?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
what type of automation is follwed in the project?
How to creating an output value using quicktest professional (qtp)?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
In qtp, explain what is qrs file?
How many tabs are available in debug viewer pane?
how to explain a claims and insurance project?
How do know the number of browsers opened?
What environment does qtp run in?
how did u use automating testing tools in ur job?