devchaminda Posted February 20, 2015 Posted February 20, 2015 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> <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 SmOke_N Posted February 20, 2015 Moderators Posted February 20, 2015 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.
Chance Posted February 20, 2015 Posted February 20, 2015 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now