Wait timeout problem
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2019
07:45 PM
11-10-2019
07:45 PM
Wait timeout problem
I need to look for pariculer window and if not visible click something.
Wrote following code in python...........
runAll.RefreshMappingInfo() Options.Run.Timeout=100 if not runAll.WaitAliasChild("Payrun_PayItems", -1).Exists: runAll.tvMain.wChildView[0].wChildView[0].ClickCell(0, 0) else: if not runAll.Payrun_PayItems.WaitProperty("VisibleOnScreen",True,0): runAll.tvMain.wChildView[0].wChildView[0].ClickCell(0, 0) Options.Run.Timeout=10000
I was suppose to waite in brown line for 100 milli sec ..but waiting for 30 sec
suppose to immidiatedly responce at green line but waite for around 15 sec
what is the problem...?
when debugging I could immidetely see values are there
this is a delphi desctop application.....
Solved! Go to Solution.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2019
09:23 PM
11-10-2019
09:23 PM
Try to disable option Tools|Options| Engines|NameMapping|Search for visible objects first.
I think it could help.
