0

enter image description here

While trying to identify the Logon buttons Class and Instance using the autoit finder tool, it returns the same class and Advanced Mode, Name, ID, Text, for the Help, Logon and Cancel.

Only thing that differs is Position, and the visible texts.

And also i cannot use mouse click based on the position.

So, ControlClick Coords also doesn't work. Is there any way that i can click on the Logon button?

Note: I have also tried with the Autoit recorder, and that too dint work

4
  • can u share the html? Commented May 18, 2016 at 14:05
  • @noor This is a windows dialog, thats why i came for autoit. Commented May 18, 2016 at 14:09
  • have u tried using robot by clicking on that position...actually to work on it, u have to give us some information....like html, csspath or xpath ....if no information is available, than it will be tough to give solution Commented May 18, 2016 at 14:23
  • @noor This is a windows dialog, so there will be no xpath css html available, you would be aware. And its totally relates to autoit. AutoIt related queries please! Commented May 19, 2016 at 6:42

1 Answer 1

1

2 options:

  1. You mentioned that you can't click on the position. I don't know why this sholdn't work, but you can get the Windowposition with WinGetPos() and calculate the position of the button and klick it with MouseClick().

  2. Why don't you use button commands. Enter text to the first box by using Send() and then give buttoncommands like TAB and ENTER like this:

Send("Login[TAB]PW[TAB][TAB][TAB][ENTER]")

Hope something works for you!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.