Search for text in page -> Then condition use

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Search for text in page -> Then condition use

by helpot80 on Tue Jan 12, 2010 1:45 pm

Hello,

Basically, I want the macro which will search for say "This is a test" in the webpage and if this text exists then macro will continue otherwise it will go to line say LINE 20.

Is this possible, if yes, can someone give me exact code which I will need to use?

Thanks
helpot80
 
Posts: 17
Joined: Tue Jan 12, 2010 7:22 am

Re: Search for text in page -> Then condition use

by helpot80 on Tue Jan 12, 2010 9:53 pm

Is it impossible with iMacro?

I guess I will have to use some script, so if someone can help me there, then it would be great.
helpot80
 
Posts: 17
Joined: Tue Jan 12, 2010 7:22 am

Re: Search for text in page -> Then condition use

by Daniel, Tech Support on Fri Feb 05, 2010 5:29 am

Hello,

I apologize for coming back to you only after a long period of time. Yes, you are right, you need to use a scripting language like JavaScript, which will run iMacros and use conditional statements like IF to control the macro flow.
Please see this link for more information:
http://wiki.imacros.net/conditionals
Daniel, iOpus Support
Daniel, Tech Support
 
Posts: 1483
Joined: Tue Jan 26, 2010 4:35 am


Return to General Support & Discussions

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 5 guests

-->