Not able to retieve property value in UFT with TOProperty

  • Questions
  • Not able to retieve property value in UFT with TOProperty
Question ID: 108326
0
0

In my script, I’m trying to get the ‘name’ property of a button object in UFT. My statement is not returning the value…it’s just blank.

Marked as spam
Posted by (Questions: 89, Answers: 4)
Asked on April 27, 2018 11:13 pm
15 views
Answers (1)
0
Private answer

Instead of using GetTOProperty, you need to use GetROProperty for the statement. This will get the run time property of the object.

Marked as spam
Posted by (Questions: 227, Answers: 22)
Answered on April 27, 2018 11:14 pm
EyeOnTesting