-2
아래의 문제로 나를 도와 줄 수 있습니까? Naukri.com에 로그인하여 작업 버튼 아이콘을 클릭하고 구직 검색 페이지를 얻을 수있는 웹 매크로를 개발하려고합니다. 나는 잡스를 클릭하는 방법을 잘 Naukri.com에 로그인 할 수 있지만 수 (페이지 상단에 현재 작업 아이콘) 아래VBA 코드를 사용하여 아이콘을 클릭하는 방법
Sub Naukari_Login()
'https://login.naukri.com/nLogin/Login.php
'Dim ie As SHDocVw.InternetExplorer
'Set ie = New SHDocVw.InternetExplorer
Set ie = CreateObject("InternetExplorer.application")
ie.Visible = True
'ie.navigate "https://www.linkedin.com/m/login/" '‘we are trying to login to askeygeek.com admin page
ie.navigate "https://login.naukri.com/nLogin/Login.php" '‘we are trying to login to askeygeek.com admin page
Do
DoEvents
Loop Until ie.readyState = 4
Call ie.document.getElementById("emailTxt").setAttribute("value", "EmailID")
'‘ EmailID – enter your ‘email ID
Call ie.document.getElementById("pwd1").setAttribute("value", "password")
'‘password - Enter your Naukri .com password
'Call ie.document.getElementById("user_pass").setAttribute("value", "Wankhade")
'''
Set AllInputs1 = ie.document.getElementsByTagName("input") '‘you can use any tagname as you wish For Each hyper_link In AllInputs
For Each hyper_link In AllInputs1
Debug.Print hyper_link.Name
If hyper_link.Name = "Login" Then '‘you can use .name, .id etc
hyper_link.Click
Exit For
End If
Next
'ie.Quit ' close the web page
'Set ie = Nothing
End Sub
그래, 그 제안을 받아 주셔서 감사합니다. 특정 아이콘을 클릭하는 방법을 원했습니다. 1. 일부 조직 웹 사이트에 로그인하고 같은 종류의 것을 클릭해야한다고 가정하십시오. 기술이 효과가 있을까요? (웹 페이지에 로그인 한 후 필요한 웹 페이지를 탐색하십시오) –