取消
显示结果 
搜索替代 
您的意思是: 

ActiveX Web Browser - Problem finding the FormElement

Hello everybody

I'am trying to build a application that navigates through a website, filling some form and click in the buttons to access the information of an equipment. The objective is to fill the form "N. do CA", press the button "Consultar" and then press the button "Detalhar" automatically to see take to a page containing information's about an equipment. The second step is to get the theses infos and export to a text file. My problem is to find the "Detalhar" button, I'am not finding it even putting the id name. I attached a print screen of the website point the form and the buttons and the code in LV.

Forum NI.png

 

I need help to understand why I cannot find the button.

0 项奖励
1 条消息(共 6 条)
3,339 次查看

Have you looked at the source code of that particular webpage?

 

0 项奖励
2 条消息(共 6 条)
3,299 次查看

Hi, yes I have looked at the source code of this website. We on access in the first time the "Detalhar" button doesn't appear in the code, only after you do fill the form "N. do CA" and search using the "Consultar" button.

 

 

 

0 项奖励
3 条消息(共 6 条)
3,289 次查看

Then you have to duplicate the actions they want.

They have written their website that way.

0 项奖励
4 条消息(共 6 条)
3,287 次查看

Yep, I thought it would work that way but I couldn't implement this. Do you have an idea on how do that in the code? 

0 项奖励
5 条消息(共 6 条)
3,281 次查看

Sorry. I haven't used the ActiveX for Web browser for anything beyond simple web browsing.

0 项奖励
6 条消息(共 6 条)
3,267 次查看