05-20-2010, 12:52 AM
Hi,
I have been trying this but did not find a solution by myself nor i could find in google.
when you goto--> IE brower-->Tools-->Internet options-->Advanced Tab-->Java(Sun)
There is a subitem under this java and i want to check if that checkbox is clicked.
When recording, it unchecks and checks which i dont want to do it.
I only want to check if it is not checked and if checked do nothing.
i tried this codeSystemUtil.Run "iexplore.exe
I see that State has a value of empty no matter if that JRE 1.6.0.14 is checked or unchecked.
i tried using
nothing gives me a value all i get is empty.
Please help me as i tried a lot on this but i didnot get anything.
Thanks a lot
I have been trying this but did not find a solution by myself nor i could find in google.
when you goto--> IE brower-->Tools-->Internet options-->Advanced Tab-->Java(Sun)
There is a subitem under this java and i want to check if that checkbox is clicked.
When recording, it unchecks and checks which i dont want to do it.
I only want to check if it is not checked and if checked do nothing.
i tried this codeSystemUtil.Run "iexplore.exe
Code:
Browser("ie_Generic").WinToolbar("tb_ToolBar").Press "&Tools"
Browser("ie_Generic").WinMenu("wm_ContextMenu").Select "Internet Options..."
Browser("ie_Generic").Dialog("dlg_InternetOptions").WinTab("tb_SysTabCntrl").Select "Advanced"
Obj = "Java (Sun);Use JRE 1.6.0_06 for <applet> (requires restart)"
State = Browser("ie_Generic").Dialog("dlg_InternetOptions").WinTreeView("tv_Settings").GetItemProperty(Obj, "ImageIndex")
If State = 0 Then
Browser("ie_Generic").Dialog("dlg_InternetOptions").WinTreeView("tv_Settings").Select "Java (Sun);Use JRE 1.6.0_06 for <applet> (requires restart)"
Browser("ie_Generic").Dialog("dlg_InternetOptions").WinButton("btn_Apply").Click
End If
I see that State has a value of empty no matter if that JRE 1.6.0.14 is checked or unchecked.
i tried using
Code:
State = Browser("ie_Generic").Dialog("dlg_InternetOptions").WinTreeView("tv_Settings").CheckItemProperty(item1,"selected",True)
Code:
State = Browser("ie_Generic").Dialog("dlg_InternetOptions").WinTreeView("tv_Settings").GetRoProperty("Checked")
nothing gives me a value all i get is empty.
Please help me as i tried a lot on this but i didnot get anything.
Thanks a lot