SWEA creates HtmlAnchor control for <A> tag. It is possible that the link is not <A> tag. You can use SWEA DOM navigator to inspect the DOM tree. If "Preview Control Selection" is checked SWEA editor will not create a control automatically. Instead the DOM tree will be navigated to the selected HTML element.> Date: Tue, 16 Sep 2008 08:06:46 -0700> Subject: Web page text> From: klinena...@gmail.com> To: swexplorerautomation@googlegroups.com> > > There is text on a webpage that when clicked is a link but it cant be> added as an Anchor with SWexplorer. It just keeps coming up as> HtmlContent every time> _________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
It explains why HtmlContent control was created. For the control you can record Invoke actions (Click, MouseClick) by using SWDesigner Invoke tab.
Date: Tue, 16 Sep 2008 13:24:48 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
It says its a <TD> tag<TDclass=classNavTrackerFixedMenuItemCell style = "BACKGROUND-COLOR:#00ff00" noWrap colSpan=2>Eligibility and Benefits Inquiry</TD>_______________________________________________________________ __
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...
SWEA supports frames and iframes. Can you highlight the frame elements?
Date: Tue, 16 Sep 2008 15:45:06 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
Now ive come to a page where there is a frame with text on it and it cant added to project view_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...
Have you tried to automate any other page with frames? Is it possible to reproduce the problem?
Date: Tue, 16 Sep 2008 16:30:25 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
I can highlight it but it wont turn green_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
Have you tried to use SWEA DOM navigator to create control? Do you see the frame in the DOM navigator?
Date: Tue, 16 Sep 2008 16:43:18 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
Im not sure that the problem is with the fact that it has frames i guess SWEA cant find the HTML for the text that i need._________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Ive replicated the problem and i think the problem is that SWexplorer cant activate the scene. I was able to grab text as an htmlcontent then when i searched another patient it wouldnt let me select text anymore. It worked about 3 times then wouldnt work after that
Have you tried to log the identification messages from explorerManager error handler? If a scene was not activated SWEA will fire the Error event handler. The identification messages can help to troubleshoot the problem.
Date: Wed, 17 Sep 2008 10:13:43 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
Ive replicated the problem and i think the problem is that SWexplorer cant activate the scene. I was able to grab text as an htmlcontent then when i searched another patient it wouldnt let me select text anymore. It worked about 3 times then wouldnt work after that_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...
I seem to have another problem I forgot that this certain page has links that end in numbers that arent consistent. This one is called ms_id78 and then i clicked it again and it became ms_id94. In another program i was using i just added an asterisk after id and it would work
You have to update the Scene descriptor. It contains UrlPattern which is a regular expression. For example:
http://by19fd\.bay19\.hotmail\.msn\.com/cgi-bin/HoTMaiL\?curmbox=(.*) &a=(.*)&fti=yes
Date: Wed, 17 Sep 2008 15:30:39 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
I seem to have another problem I forgot that this certain page has links that end in numbers that arent consistent. This one is called ms_id78 and then i clicked it again and it became ms_id94. In another program i was using i just added an asterisk after id and it would work_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
Scenes allow automation program to be tolerant to UI changes. UI changes very often. Without scenes every change to UI will lead to code change. With scenes in most cases only control binding should be changed.
Date: Wed, 17 Sep 2008 15:21:39 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
May i ask why SWEA uses scenes in the first place?_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...
Your software is faster and cheaper then the software we were using. I do web automation all day on healthcare websites. I just want to make sure that i will be able to find a work around for whatever problems should occur. Things are looking good though, my company should be purchasing the $999 license if all goes well
SWEA is fastest IE automation framework. SWEA provides little overhead to IE (SWEA IE engine is C++ code). We added scenes because we needed automation to be predictable. You can’t simply click a button. You should be sure that the button is on a right page. The Web application can redirect to wrong page and a click on a button can lead to unpredictable errors. SWEA provides API (scenes and controls) to a Web application and takes care about the control binding. The scene binding is controled by SceneDescriptor. The control binding is controled by ControlDescriptor. The control can be bound by Html Id, Html Name and XPath. By default SWEA generates absolute XPATH expression. If a control position "floats" on a page it is possible to use "relative" XPATH expressions.
For example://A[contains(text(), 'some link text')] will bind HtmlAnchor to <A>some link text</A> tag.
Date: Wed, 17 Sep 2008 15:47:37 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
Your software is faster and cheaper then the software we were using. I do web automation all day on healthcare websites. I just want to make sure that i will be able to find a work around for whatever problems should occur. Things are looking good though, my company should be purchasing the $999 license if all goes well_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog...
Scene may not be activated if it failed to activate (ExplorerManager error event is fired) or IE doesn't fire the "complete" events.
Date: Thu, 18 Sep 2008 09:51:55 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
What would cause a scene a very long time to activate?_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
To monitor the actual scene activation you can subsribe to explorerManager.SceneActivated/SceneDeactivated events
Date: Thu, 18 Sep 2008 13:17:58 -0400From: klinena...@gmail.comTo: swexplorerautomat...@googlegroups.comSubject: Re: Web page text
It activates it just takes the entire wait time to do it_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/