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
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What are the differences between qtp and winrunner?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
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
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Tell some commonly used Excel VBA functions?
Discuss quicktest professional environment?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
How many tabs are available in debug viewer pane?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
How software automation specialist enter steps in the Expert View?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
What are the features supported by UFT?
any body can you help me what is the script to automate an comand promt
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?