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: 387, Answers: 66)
Asked on March 12, 2014 2:44 pm
56 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: 17, Answers: 807)
Answered on March 12, 2014 2:44 pm
0
That works really well. Thanks.
( at March 12, 2014 2:45 pm)
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top