How to find exactly number on web page

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
nemanja
Newbie
Posts: 3
Joined: Wed Jun 13, 2007 8:27 pm

How to find exactly number on web page

Post by nemanja » Sun Jul 29, 2007 4:47 pm

i need help if someone can write me code that script find exactly number 0 on web page, not 100, 20 or any other number i need exactly 0 and when he find him to Dblclick him (i know part with clicking :D )

Tnx.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Jul 30, 2007 12:53 am

Just a quick thought about an approach .......

Set focus to the web page.
You could do a search on the web page for " 0 ".
Check for color change if found.
Move mouse to the position for that color change.
Double click the mouse
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

nemanja
Newbie
Posts: 3
Joined: Wed Jun 13, 2007 8:27 pm

Post by nemanja » Mon Jul 30, 2007 5:36 pm

I ca do search for wab page for 0 but as i told you i have lots of numbers with 0 and i dont need them and in firefox search with "" dont work as in google ^^

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Jul 30, 2007 6:47 pm

I can search in Firefox for " 0 " with success.

Note the spaces in front and after the "0". Search for "space zero space".
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts