• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Automating accessing too many websites

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have some requirement and I would like to know how can I proceed with that.

Say some ten websites are there and I need to read the text box value from each website and upload it in excel.

reading the textbox value one by one and uploading it in excel can be done using Java., but my question is each time some new website is loaded.,
I dont know where the textbox is present nor the name of the text box, Is it possible to find the value present in the text box.
 
Ranch Hand
Posts: 43
Spring Tomcat Server Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If there is an assurance that there is always 1 and only 1 text box in all the pages concerned, you can use jquery to get the first textbox in the page.

Else, you can enforce a rule that all the pages include a specific css class on their text box concerned. You can the search by css class using jquery.
 
reply
    Bookmark Topic Watch Topic
  • New Topic