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

Hi Santosh,

I think you are not getting my query. Actually what is
happening:
1. Suppose I opened a notepad file and wrote some text, now
here by default font type is courier and size is:10 and
changed the font type and size i.e. i changed the font type
to Curlz MT and size 14 and saved that file and closed that.
2. Now next time when i am opening the new notepad file and
writing some text there, then text is displayed in Curlz MT
and font is 14.

Now what I want here that when after saving the changed
font type and size, next time when i am opening new notepad
file then it should show font type as "Courier" and size
as "10".

I want to capture that original state i.e. when i will
capture the empty notepad file..is it possible that all the
properties of that page is capture automatically? Or I have
to capture each and every property of the notepad.

Thanks,
Gaytri

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1490


What is the synchronization point in qtp?

558


Name the properties you would use for identifying a browser and page when using descriptive programming?

517


what is the advantages and disadvantages of using functions instead of re usable actions

1419


What is the recovery scenario in qtp?

566






what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

1544


How many types of status are there?

582


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

1554


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1573


Is it possible to switch between recording modes during a test creation?

588


What is the file extension of the code file and object repository file in QTP?

592


How to use reporter.report event in qtp ?

549


What are the key points to create a framework in QTP for oracle forms?

1802


What is TOM in QTP?

1802


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1805