Opened 16 years ago
Closed 16 years ago
#562 closed Bug (Fixed)
WinWait and similar functions fails if in TITLE parameter there is form caption and after that CLASS name description (in that order)
Reported by: | blackgilmor@… | Owned by: | Valik |
---|---|---|---|
Milestone: | 3.2.13.8 | Component: | AutoIt |
Version: | 3.2.12.0 | Severity: | None |
Keywords: | WinActice Title Class name check | Cc: | blackgilmor@… |
Description
WinWain function, and other similar, fails when in title parameter is typed "[TITLE:SomeName;CLASS:TfSomeName]" (in that order).
Class name parameter isn't checked so if there is any other opened form with caption "SomeName", or runs any application called "SomeName", function WinWait will finish with positive result, even if class name of that form/app is different than TfSomeName.
If WinWait parameters will be typed in different order:
"[CLASS:TfSomeName;TITLE:SomeName]"
there is no problem.
Test case:
I'm submiting very simple app with two forms: MainForm and SomeName form. SomeName form is being created, just after mouse click on button on MainForm. My app is named SomeName, so when you will be run my WrongTestScript.au3 you will get message box before mouse click on button on main form.
When you will be executing WellTestScript.au3, this message will appear only after mouse click on that button, which is correct.
Attachments (4)
Change History (5)
Changed 16 years ago by blackgilmor@…
comment:1 Changed 16 years ago by Valik
- Milestone set to 3.2.13.8
- Owner set to Valik
- Resolution set to Fixed
- Status changed from new to closed
Fixed in version: 3.2.13.8
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Test case: simple app and two AutoIT scripts, showing reported bud