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
How can I change object description or check point values in qtp?
what type of run time errors you get while you ar edoing rpg program?
What is contained in the object repository?
how many maximum number of virtual users we can create?
What is the extension of qtp local repository?
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 :)
Mention the test steps of qtp.
Explain types of descriptive programming?
How you can write contexts to text file in qtp?
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?
What is expert view and keyword view?
Key word driven framework
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?
What are the recording modes in qtp?
Tell some commonly used Excel VBA functions?