How to turn Smart ID on/off during run?

  • Questions
  • How to turn Smart ID on/off during run?
Question ID: 105327
1
0

In QTP/UFT, what would I do if I wanted to have Smart Identification turned on for part of my test but off for the rest of it??

Marked as spam
Posted by (Questions: 380, Answers: 57)
Asked on March 12, 2014 2:44 pm
9 views
Answers (1)
1
Private answer

You can use this code to enable or disable smart identification during test runs:

'Disable
Setting(''DisableReplayUsingAlgorithm'') = 1
'or using AOM code
CreateObject(''QuickTest.Application'').Test.Settings.Run.DisableSmartIdentification = True

'Enable
Setting(''DisableReplayUsingAlgorithm'') = 0
'or using AOM code
CreateObject(''QuickTest.Application'').Test.Settings.Run.DisableSmartIdentification = False

Marked as spam
Posted by (Questions: 16, Answers: 801)
Answered on March 12, 2014 2:44 pm
That works really well. Thanks.
( at March 12, 2014 2:45 pm)