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
Explain the types of properties that quick test learns while recording?
Have you used xml check point in your project? How?
can anyone tell me from where i can download qtp demo or crack version
How can you identify the browser and its information using QTP script?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
What is the parameterization? Give one example?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
What is the difference in testing a client-server application and a web application?
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
Can any suggest me what is exposure testing?
Explain the concept of object repository & how qtp recognizes objects?
What are the views available in qtp?
How can we conduct U-I Testing by using QTP??????
What is throw object?