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
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
When ‘option explicit’ keyword is used in qtp?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
how u will evaluate the tool for test automation?
How qtp identifies objects?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
What are the various types of Actions in UFT?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Explain the differences between table and db checkpoints?
On what document base Descriptive programming is written if build is not yet ready ?
What are the ordinal identifiers in web page?
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.
Write a script to verify font style and color of a windows object using descriptive programming
Have you done batch testing in qtp? If yes how you are doing?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!