Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waitproperty is not working
#1
Not Solved
Code:
Dialog("text:=XYZ").winbutton("text:=Export Data").Click
'on the time of exporting this buttons gets disabled until data is not exported in excel

Services.StartTransaction "Time taken in generate excel report"

Dialog("text:=Field Drive Indices Plot").winbutton("text:=Export Data","nativeclass:=Button").WaitProperty "enabled",1

Services.EndTransaction "Time taken in generate excel report"

Dialog("text:=XYZ").close

When i execute this code i have to wait until export data button is being enabled but it executes last step and error message comes "Object disabled"
Reply
#2
Not Solved

you can use..


Code:
Dialog("text:=Field Drive Indices Plot").winbutton("text:=Export Data","nativeclass:=Button").WaitProperty "enabled",True,5000
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Waitproperty or Checkproperty with micGreaterThan() Code typhoon23 1 1,990 08-23-2017, 05:02 PM
Last Post: Ankur
  WaitProperty does not refresh the object (WebNumber) cantorre 0 1,582 05-10-2017, 06:21 AM
Last Post: cantorre
  [UFT] WpfTable and WaitProperty with RowCount robertosalemi 0 1,971 11-23-2016, 10:55 PM
Last Post: robertosalemi
  Synchronization using waitproperty Nisha 1 2,332 10-29-2016, 09:20 AM
Last Post: supputuri
  SwfToolbar and WaitProperty: how get text robertosalemi 0 1,894 12-14-2015, 08:22 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 3 Guest(s)