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

In notepad after writing some text and then saving that
file as .txt again open the notepad change the font
size,font type,etc and write some text and save
Now onwards ur notepad will display the text settings as
mentioned in the previous settings until u again change
those settings,It is the nature of the Windows Operating
Syytem
For Example,If a text is written on notepad and saved on
system1
and again a text is written on notepad asn saved on system2

Now copy text file on system1 to system2 either by using
network or mail any way,but the text will dispaly the
current settings of notepad and vieversa in case of system2

So,Qtp also maintains current page state of that particular
system as the Windows Operating Sytem maintains

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I change object description or check point values in qtp?

552


what type of run time errors you get while you ar edoing rpg program?

1506


What is contained in the object repository?

609


how many maximum number of virtual users we can create?

1563


What is the extension of qtp local repository?

568






how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1423


Mention the test steps of qtp.

536


Explain types of descriptive programming?

587


How you can write contexts to text file in qtp?

587


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?

2174


What is expert view and keyword view?

621


Key word driven framework

1682


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1509


What are the recording modes in qtp?

577


Tell some commonly used Excel VBA functions?

589