Cyborg5000 Posted August 10, 2018 Share Posted August 10, 2018 Need to read the Text from a web:- <div id="results" style="display: block;"> <div id="results_status" class="clear" style="display: block;"> <div class="icon"><div class="validIcon"></div></div> <h1>CSR successfully checked</h1> </div> Also need to get the icon in GUI https://cryptoreport.thawte.com/checker/images/valid_icon_large.png And get all the info to GUI as per the screen shot So far tried all options as #include <Array.au3> #include <IE.au3> Local $oIE = _IECreate("https://www.random.org/passwords/?num=1&len=8&format=html&rnd=new") ; Read page content $sText = _IEDocReadHTML($oIE) ; Extract the password $aExtract = StringRegExp($sText, '(?U)"data">(?:\v*)<li>(.*)</li>', 3) ; And here it is _ArrayDisplay($aExtract, "", Default, 8) but none worked... Link to comment Share on other sites More sharing options...
Danp2 Posted August 10, 2018 Share Posted August 10, 2018 What does the code you posted have to do with finding "CSR successfully checked" on a web page? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Cyborg5000 Posted August 10, 2018 Author Share Posted August 10, 2018 13 minutes ago, Danp2 said: What does the code you posted have to do with finding "CSR successfully checked" on a web page? i am trying to get csr file validated on the THAWTE site, and then after verification, it should move to the CAS server... Link to comment Share on other sites More sharing options...
Danp2 Posted August 10, 2018 Share Posted August 10, 2018 Then wouldn't it have made more sense to post code that went to https://cryptoreport.thawte.com/checker/views/csrCheck.jsp, and submitted a sample CSR. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now