Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Thanks A Lot to all of you...:)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1733


Does QTP record on Objects created on XWindows Environment?

2144


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

1785


Why do we use breakpoints in QTP?

1000


Can we record an application running on a remote machine using qtp?

1118


What is Port testing. Whhen will you perform?

1887


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1701


Give the syntax to import/export xls into qtp.

1002


Explain the types of object repositorys in qtp?

1028


Why bpt?

997


What is checkpoints for quicktest professional?

956


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

979


What do you to script when objects are removed from application?

1021


How do you perform Regreession Testing?

1925


What is checkpoint in qtp?

976