by.aslan Posted October 29, 2015 Share Posted October 29, 2015 Merhaba, Ben iş yerimde bir sisteme windows'ta kullandığım kullanıcı adı ve şifremle giriş yapıyorum. Benim C# 'ta yapmak istediğim bu sisteme otomatik giriş yapmak ve orada bulunan textbox'lara bilgi ekleyip butona tıklatmak. İnternette web sayfasına veri göndermek ile alakalı yazıları okudum. Hepsinde kullanıcı adı ve şifrenin girileceği box'ların ID bilgileri ile yapılmış örnekler var. Benim giriş yaparken karşıma çıkan ekran windows'ta ki giriş ekranı gibi bir ekran olduğundan ben kullanıcı adı ve şifremi girecek ID leri bulamıyorum. Bununla ilgili bir çözüm öneriniz veya örnek uygulamanız varsa benimle paylaşırsanız mutlu olurum. İlginiz için teşekkür ederim. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 web sayfasının linkini verseniz olayı anlamak adına daha iyi olur Quote Link to comment Share on other sites More sharing options...
by.aslan Posted October 29, 2015 Author Share Posted October 29, 2015 Abi linki versemde dışarıdan erişimi yok. Dışarıdan girince karşınıza boş bir sayfa çıkıyor. ben oradan aldığım ekran görüntüsünü paylaşayım sizinle. Web sayfasına girerken buraya kullanıcı adı ve şifremi girip öyle giriyorum. Benim istediğim bu kullanıcı adı ve şifremi program üzerinden gönderebilmek. [spoiler][/spoiler] Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 bu bahsettiğin sanırım şifre korumalı web dizini. cPanel'de şöyle mesela: Google chrome kullanarak adres çubuğuna http://kullanici_adi:[email protected]/yol şeklinde bağlanabilirsiniz. Quote Link to comment Share on other sites More sharing options...
by.aslan Posted October 29, 2015 Author Share Posted October 29, 2015 Abi olmadı windows belirtilen yolu bulamıyor hatası veriyor. :( İnternet Explorer ve Firefox'ta denedim ikisi de aynı hatayı verdi. Kullanıcı adım ve şifremin doğru olduğundan eminim. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 google chrome ile denediniz mi? Quote Link to comment Share on other sites More sharing options...
by.aslan Posted October 29, 2015 Author Share Posted October 29, 2015 Google Chrome ile bir kere giriş yapmıştım şimdi ne yapsam silemiyorum oradan. Geçmişi şifreleri falan hepsini temizledim ona rağmen o adrese otomatik kullanıcı adı ve şifre sormadan giriyor. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 e tamam olmuş demek ki. ctrl+shift+n ile yeni gizli chrome penceresi açıp tekrar test edebilirsin. ya da chrome'u tamamen kapat (görev yöneticisinden arka planda çalışan chrome'ları da kapat), ondan sonra ilk açılışta şifre isteyecektir. Quote Link to comment Share on other sites More sharing options...
by.aslan Posted October 29, 2015 Author Share Posted October 29, 2015 Abi chrome'da çalıştı dediğin yöntem teşekkür ederim. Fakat ben C# ile bunu yapmak istesem C# arka planda İnternet Explorer'ın altyapısını kullanmayacak mı ? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 kendi web kontrolü evet iexplorer ama chromium için de framework var, tabi hiç denemedim. yani sırf user pass girişi için c# yapacaksan bence gerek yok? Quote Link to comment Share on other sites More sharing options...
by.aslan Posted October 29, 2015 Author Share Posted October 29, 2015 Abi şöyle diyeyim giriş yaptıktan sonra yönlendirdiği sayfaya veri göndermek ve almak istiyorum. İlk mesajda da bahsettiğim gibi o sayfada textbox'lar checkbox'lar falan var niyetim onlara işlem yaptırmak. Bununla ilgili tavsiye edebileceğin bir link varsa benimle paylaşırsan sevinirim. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 29, 2015 Share Posted October 29, 2015 google'da c# webbrowser control html element input şeklinde arama yaparsan ilgili bir çok sonuç alırsın. yalnız o ilk çıkan pencereye nasıl veri gönderirsin ve buttona tıklatırsın bilmiyorum. Quote Link to comment Share on other sites More sharing options...
artal73 Posted October 31, 2015 Share Posted October 31, 2015 "WinAutomation" ile web ve windows kontrollerini manipüle edebilirsiniz. Forumda son sürüm paylaşımı mevcut. http://www.winautomation.com/features/ Quote Link to comment Share on other sites More sharing options...
korasoglu Posted November 6, 2015 Share Posted November 6, 2015 hocam peki facebook da konu açabilirmiyiz tarayıcıyı açmadan program içerisinden. Ben örnek buldum kullanıcı adıyla şifreyi yazıp faceye giriyor ama konu açmayı yapamadım örnekte bulamadım. gerçi c# ci sevgili ali onun yorumunuda merak ediyorum Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.