Micro Focus QTP (UFT) Forums
QTP setting related question - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: QTP setting related question (/Thread-QTP-setting-related-question)



QTP setting related question - prodipto - 03-03-2011

one interview question asked to me by my current company's people that if smobody changed the setting for qtp which you set already for a test , how do you restore your pervious setting (not qtp original setting ) ?
is there any way .
plz ans me .thanks in advance


RE: QTP setting related question - basanth27 - 03-03-2011

What settings specifically? Did you ask back the interviewer this question?
It could be test settings , run settings, record and playback settings..just another black hole.
Always remember, hunting the hunter saves being hunted.


RE: QTP setting related question - tdevick - 03-03-2011

In QTP, go into Tools->Options and click "Generate Script" and save it somewhere. This script has all the settings for your current QTP environment. Here a few example lines from my script:
Code:
App.Options.DisableVORecognition = False
App.Options.AutoGenerateWith = False
App.Options.WithGenerationLevel = 2
App.Options.TimeToActivateWinAfterPoint = 500
App.Options.SaveLoadAndMonitorData = False
App.Options.Run.RunMode = "Normal"

If they're all part of the same test, you can save these values in variables and then at the end of the test set these values to the variable values you stored originally.


RE: QTP setting related question - prodipto - 03-04-2011

Thanks ...thats the answer I wanted.Thanks a lot



You are right also.I should have asked also.Thanks for your help.I will remember in future.I must say its a good forum.