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 test results for qtp ?
which type of testing process are you following in ur company? how to recognize a qtp page?
How to find array size in qtp?
can any body give the banking domain concepts/links
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
how to test use the quality control .how to verify the image verification
what is clean sweep?
What is data driver in qtp? Where we use it?
what type of run time errors you get while you ar edoing rpg program?
What are the differences between table and db checkpoints?
Hai anyone please "Explain about Framework in QTP?"
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
what is object and child object.. explain ..if possible give some example for better understanding ..
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.