Jump to content

Web Sayfasına Veri Girmek


SAHINNNNNN
 Share

Recommended Posts

AMS'de web sayfasına veri girdirmek mümkün mü? Mesela ben inputtan bir kelime gireceğim benim girdiğim kelimeyi http://www.tdkterim.gov.tr/bts/ adresindeki kutuya yazacak ve arama sonucunda çıkan sayfayı web objecte yükleyecek. Bu tarz bir şey yapmak mümkün müdür? Forumda Autoit ile yapılmış ttnet kota sorgulama programı var. Sanırım o da benim istediğim mantıkla çalışıyor web sitesine veri gönderiyor. Fakat AMS ile yapılmış benzer bir çalışma bulamadım.

Anlaşılan konu hakkında fikri olan yok :(

Edited by SAHINNNNNN
Link to comment
Share on other sites

  • 5 years yıl...


-------------------------------------------------------------------------------------------------input ile site üzerindeki veriyi değiştir. ---------------------------------------------
IExplorer.ExecuteJS("Plugin1", "function noError () {return true;} window.onerror = noError;");

mail = Input.GetText("adres");
IExplorer.ExecuteJS("Plugin1", "javascript:void(document.getElementsByClassName(\"buraya o kutunun class kodu \")[0].value =\""..mail.."\");");

-----------------------------------------------------------------------------input ile site üzerindeki veriyi değiştir.---------------------------------------------------------

result = Input.GetText("Input1");
IExplorer.ExecuteJS("Plugin1", "javascript:void(document.getElementsByClassName('bb bc bd')[0].innerHTML =\""..result.."\");");

IExplorer.ExecuteJS("Plugin1", "function noError () {return true;} window.onerror = noError;");

-----------------------------------------------------------------------------Site Buton Tıklama.---------------------------------------------------------

IExplorer.ExecuteJS("Plugin1", "document.getElementsByClassName('_16gh').onclick");
IExplorer.ExecuteJS("Plugin1", "document.getElementsByClassName('_16gh')[0].click();");
-----------------------------------------------------------------------------radio buton  seçme---------------------------------------------------------

IExplorer.ExecuteJS("Plugin1", " document.getElementById('177682162373056.2').checked = true");
IExplorer.ExecuteJS("Plugin1", "document.getElementById('177682162373056.2').click();");

-----------------------------------------------------------------------------submit butonlara tıklar---------------------------------------------------------

 

IExplorer.ExecuteJS("Plugin1", "document.forms[0].submit();",sonu);
IExplorer.ExecuteJS("Plugin1", "document.forms[0].submit();");

 

kolay gelsin :)

  • Like 1
Link to comment
Share on other sites

  • 5 ay sonra...
coder_falcon, 30.08.2017 - 15:45 yazdı:


-------------------------------------------------------------------------------------------------input ile site üzerindeki veriyi değiştir. ---------------------------------------------
IExplorer.ExecuteJS("Plugin1", "function noError () {return true;} window.onerror = noError;");

mail = Input.GetText("adres");
IExplorer.ExecuteJS("Plugin1", "javascript:void(document.getElementsByClassName(\"buraya o kutunun class kodu \")[0].value =\""..mail.."\");");

-----------------------------------------------------------------------------input ile site üzerindeki veriyi değiştir.---------------------------------------------------------

result = Input.GetText("Input1");
IExplorer.ExecuteJS("Plugin1", "javascript:void(document.getElementsByClassName('bb bc bd')[0].innerHTML =\""..result.."\");");

IExplorer.ExecuteJS("Plugin1", "function noError () {return true;} window.onerror = noError;");

-----------------------------------------------------------------------------Site Buton Tıklama.---------------------------------------------------------

IExplorer.ExecuteJS("Plugin1", "document.getElementsByClassName('_16gh').onclick");
IExplorer.ExecuteJS("Plugin1", "document.getElementsByClassName('_16gh')[0].click();");
-----------------------------------------------------------------------------radio buton  seçme---------------------------------------------------------

IExplorer.ExecuteJS("Plugin1", " document.getElementById('177682162373056.2').checked = true");
IExplorer.ExecuteJS("Plugin1", "document.getElementById('177682162373056.2').click();");

-----------------------------------------------------------------------------submit butonlara tıklar---------------------------------------------------------

 

IExplorer.ExecuteJS("Plugin1", "document.forms[0].submit();",sonu);
IExplorer.ExecuteJS("Plugin1", "document.forms[0].submit();");

 

kolay gelsin :)

Kardeşim benimde uzun zamandır aradığım konu buydu, biraz daha açıklayıcı anlatır mısın amatörler için :) Veya örnek APZ paylaşabilirsen çok iyi olur.

Benim yapmaya çalıştığım:

Please register to see this content.

sitesinde direkt oturum açtırmak

Edited by PColik
Link to comment
Share on other sites

  • 4 hafta sonra ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...