Jump to content

Recommended Posts

Posted

Hi All,

I need to select a web element on a popup window which contain a specific text (Ex; EqualTo).

Window contain following texts

StartsWith

EndsWith

Contain

EqualTo

NotEqualTo

And HTML tags are as followed.

HTML tags are

<span class="rmText">StartsWith</span>

<span class="rmText">EndsWith</span>

<span class="rmText">Contain</span>post-90099-0-58709200-1424404962_thumb.p

<span class="rmText">EqualTo</span>

<span class="rmText">NotEqualTo</span>

How to select a web element which has "EqualTo" text?

Screenshot attach for more details.

 

....................

Thanks

Dev

 

  • Moderators
Posted

You could try >_IEEx Library and _IEEx_GetObjByString()

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Isn't that firefox? does that have to be done with autoit? If I were you, and I was just trying to automate things (i used autoit mostly to set up larger projects and keep them in order on windows), I'd save me the trouble of 'automating' some browser related task with a few extra megabytes and operation time with things that were designed specifically for that (if that's the case and u know JS, trust me), just use something like NodeJS with get the info u need or want to automate. If that wasn't enough, go another 10 megabytes and use slimerjs/phantomjs :)

If not, go with the above, what smoke_n said, IE works best with AutoIt as it's the best supported ofc.

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...