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
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
In qtp, how you can get the last character from a string?
Is it possible to change the values of analog recording?
How is the Bitmap checkpoint different from Image checkpoint?
Key word driven framework
how to test Web application using QTP software
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
Approach for Installation,comaptibility,system testing
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
What are the different ways to invoke an application using QTP?
How to use Environment parameterization? Explain with an example.
when a test case is written how u test using qtp
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
If I give some thousand tests to execute in two days what do you do?