Check for button's presence and Escaping *

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
MattBell7
Posts: 627
Joined: Thu Nov 26, 2009 11:07 am
Location: United Kingdom

Check for button's presence and Escaping *

Post by MattBell7 » Mon Jun 14, 2010 10:46 am

2 questions for the price of one, bargain!!!

1. Is there anyway to check for a buttons presence on a page without actually clicking on it? (this applies to links as well)

2. Is there anyway to check for a * on a page, rather than it always acting as a wildcard.

Thanks.

Code Samples:
1.

Code: Select all

'check for cancel button
TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:* ATTR=NAME:cancel  
'check for link
TAG POS=1 TYPE=A ATTR=TXT:View<SP>limitations
2.

Code: Select all

'check for mandatory text
TAG POS=1 TYPE=P ATTR=TXT:Required<SP>fields<SP>are<SP>marked<SP>by<SP>*
'check for field
TAG POS=1 TYPE=LABEL ATTR=TXT:required<SP>*<SP>First<SP>Name:
coolcocky
Posts: 21
Joined: Tue Sep 01, 2009 8:45 pm

Re: Check for button's presence and Escaping *

Post by coolcocky » Fri Jun 18, 2010 7:47 pm

hi,

use can use EXTRACT to extract data within the <a html tag

regards
Tom, Tech Support
Posts: 3527
Joined: Mon May 31, 2010 4:59 pm

Re: Check for button's presence and Escaping *

Post by Tom, Tech Support » Tue Jun 22, 2010 8:59 am

Hello,

For more info regarding the second question, see the following post:

http://forum.imacros.net/viewtopic.php?f=7&t=9779
Regards,

Tom, iMacros Support
Post Reply