02-05-2018 10:41 AM
I am trying to login into a given website and retrieve three results. I can auto fill the Username and Password, but cannot submit the login information. I have tried from examples here, but cannot get over the hurdle. After, I do login I would like to read back from the embedded web browser three results into three separate strings. I am using LabView 2016. Any help would be appreciated.
02-05-2018 01:06 PM
Attached you will find the source of the website I am working. Also, the button I need to login with is coded as follows in the webpage form.
<button type="submit" class="btn btn-default">Login</button> |
02-06-2018 11:22 AM
Hey JDClark123!
I tried logging into your website using the [Peter, !@#123ASDasd] login info and got an error that the user doesn't exist. Can you confirm a working login to use for testing? I would expect that you can use the same method to search the HTML for "button" and then use an invoke mode to "click" the IHTMLelement. That should submit your login info and let you pull the data from the website.
-TyVo
02-06-2018 11:58 AM
TyVo,
Thanks for the response. There is a username and password setup in the VI as controls on the front panel. I tried your solution, but receive an error Unknown System Error in dev.vi. I have attached the updated VI. Thanks in advance for your help.