Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / ratikanta

Word="father?"
Set Fso=Createobject("scripting.filesystemobject")
Set Fs=Fso.opentextfie("path")
X=Fs.Readline
mydata=split(X," ")
If mydata=word Then
str=Replace(mydata,"?","")
EndIf
msgbox str

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various types of Actions in UFT?

1115


How do you capture tooltip using QTP?

1142


can any one say that where we can download the QTP trail version ??????????

1805


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

2158


How can you write the scripts that operate on different objects depending on run-time information?

2650


how do i know how to use tools

2053


What are the different types of recovery operation?

1079


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

2050


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

2049


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2382


give me an example where u used good judgement and logic in solving a problem

3908


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

2233


Difference between test object and run time object?

1059


Suppose I want fail that check point? How can you do that?

1146


How do you test DLL files using automation Tool QTP?

3290