Jump to content

Recommended Posts

Posted

As I am very new to this language, kindly suggest me how to click at a particular thing if we are only having it’s “class” in the source code and not the “object” or “id”? 

Like we have GetobjectById or GetObjectByName, do we have something for class?

Please suggest me a method to access it.

Thanks in advance.

Posted

There are different ways depending on your objecttype. See FAQ 31 for different solutions based on classtype from Windows, Java, UIA, WebDriver

On Windows controls we have index property that can help to get n-th object of certain class.

For HTML you have to calculate yourself or iterate the collections you get

https://www.autoitscript.com/autoit3/docs/libfunctions/IE Management.htm

Study all functions with get or collection in them

  • 2 weeks later...
Posted

Thanks guys for your time and help

I tried a lot but it's not being successful. Suppose I am having  the url as "www.xyz.com" and the class is "timerdf1", what should be the code to just click on this?

Thanks again in advance.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...