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 |
wt is automation framework? give explonation?
How will you find the current time of the remote machine using QTP script?
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
How do u fetch data from a database ?
What is difference between version 6.5 and 8.2 in QTP?
difference between recording methods and recording modes in QTP
Any limitation to XML Checkpoints?
how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
What is the regular expression for Yahoo mail Inbox?
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.
What are the five challenges you faced in QTP?
Explain step generator in qtp?