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 / saravana
Hi gayatri,
Santosh has given the correct solution. whenever u make a
change the changes are saved in the Windows folder. Notepad
is nota separate application like WinAmp or Office.The
reason is due to OS..
Thanks & regards,
Saravana
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
If I change the property value at runtime is it effect is object repository?
On what document base Descriptive programming is written if build is not yet ready ?
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
What are the differences between quicktest professional (qtp) and winrunner?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How many add-ins comes by default with quicktest professional (qtp)?
Define object spy ?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
What are the methods of the TextStream object that are used for reading from a text file?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
How does quicktest professional identifies the object in the application?