How to detect the last tab ?

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
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
att
Posts: 24
Joined: Tue Aug 19, 2008 2:22 pm

How to detect the last tab ?

Post by att » Wed Feb 18, 2009 5:32 pm

Is there an error code to detect the last tab (either in iim or script)
Thanks for your help.
Btw, I did search ! :)
How to configure Cisco Routers
www.ittrainingexpert.info
att
Posts: 24
Joined: Tue Aug 19, 2008 2:22 pm

Re: How to detect the last tab ?

Post by att » Fri Feb 20, 2009 3:12 am

Is this possible ? :)
How to configure Cisco Routers
www.ittrainingexpert.info
BrianR
Posts: 126
Joined: Wed Jun 11, 2008 4:13 pm

Re: How to detect the last tab ?

Post by BrianR » Wed Feb 25, 2009 2:41 pm

There isn't an easy way to detect the last tab.

If the pages are similar, you could have a macro to go to the tab, extract some common element.
If the page return either the data or #EANF#, then the TAB was valid.

If the data is Blank, then the tab does not exist.

Its a poor workaround, but it should help.

Brian
Post Reply