Hi, does anyone have issues using WaitScreenText on Windows 10?
My macro does not find any text on the webpage loaded in the IE window.
Does anyone can point me to a working sample on windows 10, IE11?
Best regards,
Ivan Nobre Vereiski
WaitScreenText on Windows 10
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: WaitScreenText on Windows 10
WaitScreenText is working fine for me with IE11 on Windows 10. But make sure it is text and not an image?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: WaitScreenText on Windows 10
Hi there Marcus, thanks for the answer.
I'm still having troubles finding the text.
Bellow is a part of the web page I'm waiting to be found. I'm looking for the words "Bem-vindo" using WaitScreenText>Bem-vindo
MessageModal>Found!
The message "Found!" never comes.
webpage:
the file is a printScreen of the webpage loaded.
I'm still having troubles finding the text.
Bellow is a part of the web page I'm waiting to be found. I'm looking for the words "Bem-vindo" using WaitScreenText>Bem-vindo
MessageModal>Found!
The message "Found!" never comes.
webpage:
Code: Select all
<div id="WIN_0_536870913" arid=536870913 artype="Trim" arsubtype=3 ardbn="Bem-vindo ao xTTS" arcolor="transparent" class="arfid536870913 ardbnBem-vindoaoxTTS trimdiv" style="z-index:1001;top:133; left:381; width:234; height:38;background-color:transparent;">
<table style="top:0; left:0; width:234; height:38;" class="trimTable" cellpadding=0 cellspacing=0>
<tr>
<td valign="middle" artcolor="#fffbf0" style="color:#fffbf0;" class="f3 trimJustc">Bem-vindo ao xTTS</td>
</tr>
- Dorian (MJT support)
- Automation Wizard
- Posts: 1416
- Joined: Sun Nov 03, 2002 3:19 am
Re: WaitScreenText on Windows 10
If I'm looking for it in a page open in Internet Explorer, I like to use IEWaitForText.
Something like this :
I usually put a small wait after IEWaitForText, just to be safe.
The 20 represents a 20 second time-out.
Something like this :
Code: Select all
//If you use IECreate to create IE and navigate to your page.
IECreate>IE[0]
IENavigate>IE[0],http://www.mypage.com/page.htm,ie_res
IEWaitForText>IE[0],,{"Bem-vindo"},0,20,result
Wait>0.5
OR
//If you *don't* use IECreate to create IE and navigate to your page.
IEGetFromURL>http://www.mypage.com/page.htm,IE[0]
IEWaitForText>IE[0],,{"Bem-vindo"},0,20,result
Wait>0.5
The 20 represents a 20 second time-out.