Hi,
I have been trying to input data to websites and click on buttons. The experiment has been fairly well with the use of looping through the objectcollections by tagnames,id,etc.
When trying to access into more complex websites, I noticed that the URL remains the same but the presentation or the options change in the IE contents due to javascripts running in the website. So when I looked at the object collections after the contents changed, it was same as the previous page. When I tried to look at the source codes, a page in the website gives different source codes when picked from different places from the same page (one relating to the URL and others relating to a particular section of the page). I am not able to modify or assign values to the source code of specific sections since I am not able to access it through the object collection. I will have to resort to sendkeys which is not a robust way.
How do we take care of above scenarios through VBA ?
I have been trying to input data to websites and click on buttons. The experiment has been fairly well with the use of looping through the objectcollections by tagnames,id,etc.
When trying to access into more complex websites, I noticed that the URL remains the same but the presentation or the options change in the IE contents due to javascripts running in the website. So when I looked at the object collections after the contents changed, it was same as the previous page. When I tried to look at the source codes, a page in the website gives different source codes when picked from different places from the same page (one relating to the URL and others relating to a particular section of the page). I am not able to modify or assign values to the source code of specific sections since I am not able to access it through the object collection. I will have to resort to sendkeys which is not a robust way.
How do we take care of above scenarios through VBA ?