Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question / Object doesn't support this property (Exist)
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
The line
SwfWindow("MyScreen").SwfLabel("Project Code:").Exist
returns a boolean value i.e.,"true" or "false" .Hence we are supposed to either assign the above statement to a variable or use it in a conditional statement.The two codes shown below demonstrates the usage
Code:
strChk=SwfWindow("MyScreen").SwfLabel("Project Code:").Exist
msgbox strChk
or
Code:
If SwfWindow("MyScreen").SwfLabel("Project Code:").Exist  Then
     msgbox "item Exists"
End If
Hope this clarifies your query
Regards,
Ravi
Reply


Messages In This Thread
RE: Question / Object doesn't support this property (Exist) - by ravi.gajul - 12-15-2011, 09:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  File Chooser on Chrome doesn't work - UFT 15.0.1 Nenna Rosa 1 3,666 10-31-2020, 01:16 PM
Last Post: Ankur
  Exist and Visible Are True When Objects Aren't There - Is there A Better Way? zunebuggy 3 3,146 04-24-2018, 02:12 PM
Last Post: Ankur
  Time Delay issue with Exist mv8167 11 24,828 06-19-2017, 02:56 PM
Last Post: grosorg
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,626 11-22-2016, 12:43 PM
Last Post: Ankur
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,583 02-02-2015, 05:22 PM
Last Post: teja2730

Forum Jump:


Users browsing this thread: 2 Guest(s)