Hidden Web objects
I have to check value of hidden web Objects.
I have the ID/Name of the hidden object but when I try to attach it, attach fails.
How should web objects of type 'Hidden' be handled?
Re: Hidden Web objects
To find the values of hidden objects, or anything else on a web page, I find it easier, albeit a bit more tedious to grab the source and just parse it.
Dim strViewSource As String
Dim strTarget As String
Dim int1 As Integer
Dim int2 As Integer
Window.MenuSelect "Edit~Select All"
strViewSource = SystemInfo.Clipboard
At this point, all the source HTML/Java is in string strViewSource. Use instr functions as well as lefts, rights & mids to search for the Hidden Tags and isolate the Hidden values that you are looking for.
int1 = InStr(1, strViewSource, "Hidden", vbTextCompare)
If int1 <> 0 Then
int2 = InStr(int1, strViewSource, etc, etc
your code here
Before you start the coding, it's a good idea to print out a copy of the Notepad, so that you will know what your looking for. There might be more than one Hidden data.