In my QTP script I have a word in notepad that ends in a
question mark, for example... "father?" As part of my
script I want to delete the question mark. How do you
delete a character in notepad?
Answer Posted / satya
U can do it with SFO script[I am not sure of Syntax or
exact code,just approach I m Mentioning Below]-
Set oObj=createObject("Script.FyleSystemObject")
oFile=oObj.openTextFile("YourPath")
Do Until EndOfSream
oStr=oObj.readLine
if InStr(oStr,"?")>0 Then
RePlace(oSter,"?","")
Loop
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Discuss the QTP Environment?
Can we create user defined functions in qtp?
What are the ordinal identifiers in web page?
what type of run time errors you get while you ar edoing rpg program?
How to open a new test using quicktest professional?
Is QTP supports Unix. If yes, then how the test automation is done?
Hi,All How to create a link in excel sheet using qtp
What are test settings and global settings?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
how to idetfy which test cases are automated?who will deside that plz tell me
Describe how Smart Identification is used
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
With what extension you can save the list of tests in a file to run in test batch runner?
What is an object repository?