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...

Hello Everybody,

How to maintain the page state in QTP.
My scenario is:
1. I opened a notepad file.

2. Entered some text in the notepad file.

3.And changed the font type and color of the notepad file.
And saved that.

4.Now next time when I will open the notepad it is showing
the changed font type and color, rather than the default
values.

Please provide the code.

Thanks,
Gaytri

Answer Posted / k.p.pradeep

Hi,

I think you must have understood the issue by now.

Actually, Notepad is a low-level text editing software
provided along wiht WIndows OS. I has very limited editing
facility. So once the font propeties of Notepad are
changed, it remains the same until it is changed again.
It changes is software-specific, not document-specific as
with MS Word.

So if you want that Notepad should display the original
state whenever you open it, record the previous font state
using QTP and set the recorded state back before performing
some action on Notepad.

Hope this clears your issue.

Regards,

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3652


What are the differences between qtp and winrunner?

940


i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)

1966


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1823


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

2016


Tell some commonly used Excel VBA functions?

1009


Discuss quicktest professional environment?

1024


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3313


How many tabs are available in debug viewer pane?

1058


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1748


How software automation specialist enter steps in the Expert View?

2079


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

2068


What are the features supported by UFT?

1029


any body can you help me what is the script to automate an comand promt

2433


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2628