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
Did the scripts need lot of maintenance? If yes, why?
What are the types of environment variables in qtp?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How you can find length of array in qtp?
How to break the object spy ?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How did you resolve conflicts present in Object Repository?
What are the types of data tables in qtp?
Explain the views in the QTP GUI?
Explain quicktest professional testing process?
How is a Step generator used in UFT?
Can we record an application running on a remote machine using qtp?
How to handle dynamic objects in quicktest professional?
How many types of actions are there in quicktest professional?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?