c# - Search for certain string in InnerHtml file using webbrowser -


i beginner in c# , don't seem manage scrap innerhtml website. website ticket management system has tickets entered id. after entering id, information displayed in windows form application textboxes: ticket title, created at, , on..

untill now, used webbrowser in order log in on site , want enter ticket id textbox , after pressing generate button want display ticket title textbox.

here code: // log in button

this.webbrowser1.navigate("https://elvis.harman.com/");              while (this.webbrowser1.readystate != webbrowserreadystate.complete)             {                 thread.sleep(100);                 application.doevents();             }              //textbox1.text= this.webbrowser1.document.window.frames[2].document.getelementsbytagname("input").count.tostring();               this.webbrowser1.document.window.frames[2].document.getelementsbytagname("input")[0].innertext = textbox1.text;             this.webbrowser1.document.window.frames[2].document.getelementsbytagname("input")[1].innertext = textbox2.text;             this.webbrowser1.document.window.frames[2].document.getelementsbytagname("button")[0].invokemember("click"); 

// generate button

    this.webbrowser1.navigate("https://elvis.harman.com/cgi-bin/ticket?tid=" + txtid.text); this.webbrowser1.update(); this.webbrowser1.refresh(); var codes = this.webbrowser1.document.getelementbyid("field_100").innerhtml.split(environment.newline.tochararray(), stringsplitoptions.removeemptyentries).select(m => m.trim()).tolist();  // tried separate innerhtml lines  //and try start scrapping beggining following line:  var ticketlines = codes.where(m => m.startswith("<td style=\"width: 65px; height: 22px; left: 110px\" class=hb-table-cell>")); list<string> tickettitles = new list<string>();              foreach (string line in ticketlines)             {                    //select line want start scrapping                 int y = codes.indexof(line);                 //ticket title                 tickettitles.add(codes[y + 1].substring(codes[y + 1].indexof(">") + 1, codes[y + 1].length - codes[y + 1].indexof(">") - 6)); } 

my problem: when add watch on sequence

var codes = this.webbrowser1.document.getelementbyid("field_100").innerhtml.split(environment.newline.tochararray(), stringsplitoptions.removeemptyentries).select(m => m.trim()).tolist(); 

i want see innerhtml text this:

<td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1806338</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[di]unnecessary refinement when exact address entered</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-02-02</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-01-20</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>uchendu chibueze</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>2-very high</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1806339</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[rpl]unplausible route guidance - using exit , go on previous street</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-02-02</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-01-20</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>dumke marcus md</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>b(2)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>1-urgent</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1809964</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[guido]mismatch of exit signpost.</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-02-06</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-02-02</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>fritz michael</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>nbtevo_h16043a</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>imodoleev</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-08</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>&nbsp;</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1809503</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[db][rpl][comp] split screen stuck in e-branch</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-02-05</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-02-05</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>sungureanu</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.213</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>mlangfeldt</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>sw_submitpool</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-05</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>&nbsp;</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1795960</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[poi]missing second half of postal code [xmas15](bi8)</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-01-18</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2015-12-28</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>uchendu chibueze</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>2-very high</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1795961</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[db] [rpl][id5] unplausible route guidance guiding suggest use side street in fwy intersection</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-01-18</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-01-04</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>dumke marcus md</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>b(2)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>1-urgent</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1790333</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[db] rt icon missing route 3 [xmas15]</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-01-09</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2015-12-29</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>fritz michael</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>imodoleev</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-08</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>&nbsp;</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1783168</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[guida] system announced connecticut 111, roadbook listed main street.-[usdtsv_1534]</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2015-12-18</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2015-10-24</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>fritz michael</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111151.1.230</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>imodoleev</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-08</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>2-very high</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1790337</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[guido]realistic road sign missing text [xmas15]</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-01-09</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-01-05</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>uchendu chibueze</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.3.210</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>&nbsp;</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1772458</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>content exit 73 realistic road sign not grayed out [req_id5]</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2015-12-03</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2015-11-24</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>foerster felix f</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>111153.1.220</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>imodoleev</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>&nbsp;</td></tr> <tr style="line-height: 22px; width: 100%" class=hb-ui-grid-row> <td style="width: 25px; height: 22px; left: 0px" class=hb-table-cell> <div class=hb-ui-calendar></div></td> <td style="width: 25px; height: 22px; left: 25px" class=hb-table-cell> <div class=hb-ui-attachment></div></td> <td style="width: 60px; height: 22px; left: 50px" class=hb-table-cell>&nbsp;</td> <td style="width: 65px; height: 22px; left: 110px" class=hb-table-cell>1808873</td> <td style="width: 542px; height: 22px; left: 175px" class=hb-table-cell>[map] navi announced bear left, @ same time shows me exit right</td> <td style="width: 95px; height: 22px; left: 717px" class=hb-table-cell>2016-02-04</td> <td style="width: 84px; height: 22px; left: 812px" class=hb-table-cell>2016-02-02</td> <td style="width: 132px; height: 22px; left: 896px" class=hb-table-cell>bonk markus</td> <td style="width: 118px; height: 22px; left: 1028px" class=hb-table-cell>nbtevo_g15521b</td> <td style="width: 126px; height: 22px; left: 1146px" class=hb-table-cell>&nbsp;</td> <td style="width: 16px; height: 22px; left: 1272px" class=hb-table-cell>&nbsp;</td> <td style="width: 31px; height: 22px; left: 1288px" class=hb-table-cell>&nbsp;</td> <td style="width: 162px; height: 22px; left: 1319px" class=hb-table-cell>bmw_abgleich</td> <td style="width: 73px; height: 22px; left: 1481px" class=hb-table-cell>entered</td> <td style="width: 102px; height: 22px; left: 1554px" class=hb-table-cell>sw_submitpool</td> <td style="width: 99px; height: 22px; left: 1656px" class=hb-table-cell>categorizing</td> <td style="width: 86px; height: 22px; left: 1755px" class=hb-table-cell>2016-02-06</td> <td style="width: 64px; height: 22px; left: 1841px" class=hb-table-cell>c(3)</td> <td style="width: 95px; height: 22px; left: 1905px" class=hb-table-cell>3-high</td></tr></tbody></table></div> <div style="width: 18px; height: 236px; top: 0px; left: 1072px" class=hb-grid-scroll-vertical unselectable="on" closure_uid_seyus8="64"> <div style="width: 1px; height: 58765px; top: 0px; left: 0px" unselectable="on"></div></div> <div style="width: 1052px; height: 18px; top: 236px; left: 20px" class=hb-grid-scroll-horizontal unselectable="on" closure_uid_seyus8="65"> <div style="width: 2095px; height: 1px; top: 0px; left: 0px" unselectable="on"></div></div></div> <div hidefocus class="goog-toolbar goog-toolbar-horizontal" role=toolbar yh="toolbar" unselectable="on" closure_uid_seyus8="97"> <div id=:2d class="hb-toolbar-label goog-inline-block" tabindex=0 unselectable="on" closure_uid_seyus8="73">mode:</div> <div aria-haspopup=true id=:2i class="goog-inline-block goog-toolbar-menu-button" title="" role=button tabindex=0 yh="button" unselectable="on" closure_uid_seyus8="75"> <div class="goog-inline-block goog-toolbar-menu-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-menu-button-inner-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-menu-button-caption" unselectable="on">all</div> <div class="goog-inline-block goog-toolbar-menu-button-dropdown" unselectable="on">&nbsp;</div></div></div></div> <div style="display: none" id=:2j class="goog-toolbar-separator goog-inline-block" role=separator yh="separator" unselectable="on">&nbsp;</div> <div style="display: none" id=:2k class="goog-inline-block goog-toolbar-button" title="first page" role=button yh="button" unselectable="on" closure_uid_seyus8="78"> <div class="goog-inline-block goog-toolbar-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-button-inner-box" unselectable="on"> <div class="icon hb-grid-first" unselectable="on"></div></div></div></div> <div style="display: none" id=:2l class="goog-inline-block goog-toolbar-button" title="previous page" role=button yh="button" unselectable="on" closure_uid_seyus8="80"> <div class="goog-inline-block goog-toolbar-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-button-inner-box" unselectable="on"> <div class="icon hb-grid-left" unselectable="on"></div></div></div></div> <div style="display: none" id=:2m class="hb-toolbar-label goog-inline-block" unselectable="on" closure_uid_seyus8="82">page</div><input style="display: none" id=:2n class="hb-toolbar-editor goog-inline-block" value=1 maxlength=4 size=2 type=text closure_uid_seyus8="84"> <div style="display: none" id=:2o class="hb-toolbar-label goog-inline-block" unselectable="on" closure_uid_seyus8="86">of 16</div> <div style="display: none" id=:2p class="goog-inline-block goog-toolbar-button" title="next page" role=button yh="button" unselectable="on" closure_uid_seyus8="88"> <div class="goog-inline-block goog-toolbar-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-button-inner-box" unselectable="on"> <div class="icon hb-grid-right" unselectable="on"></div></div></div></div> <div style="display: none" id=:2q class="goog-inline-block goog-toolbar-button" title="last page" role=button yh="button" unselectable="on" closure_uid_seyus8="90"> <div class="goog-inline-block goog-toolbar-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-button-inner-box" unselectable="on"> <div class="icon hb-grid-last" unselectable="on"></div></div></div></div> <div id=:2r class="goog-toolbar-separator goog-inline-block" role=separator yh="separator" unselectable="on">&nbsp;</div> <div id=:2s class="goog-inline-block goog-toolbar-button" title=refresh role=button tabindex=0 yh="button" unselectable="on" closure_uid_seyus8="92"> <div class="goog-inline-block goog-toolbar-button-outer-box" unselectable="on"> <div class="goog-inline-block goog-toolbar-button-inner-box" unselectable="on"> <div class="icon icon hb-grid-refresh" unselectable="on"></div></div></div></div> <div id=:2t class="goog-toolbar-separator goog-inline-block" role=separator yh="separator" unselectable="on">&nbsp;</div> <div style="color: black" id=:2u class="hb-toolbar-label goog-inline-block" tabindex=0 unselectable="on" closure_uid_seyus8="94">2554 tickets found</div></div 

my problems:

  • after entering ticketid textbox , pressing button_2("generate") page isn't refreshing , showing main list of tickets instead specified ticket entry.
  • i trying scrap innerhtml file ticket id, can see in inner html file. example, trying @ ticket 1806338 , pull out information title, created at, posted in next lines in innerhtml file.

can give me hint or something? tried scrapping htmlagilitypack , selenium webbrowser managed until point. thank you!

i managed solve , post here post should have reason :)

foreach (string line in ticketlines)             {                    if (line.contains(searchkeys))                  {                     //daca se gaseste ce e in txtid se ia indexul liniei si il bag in txttitle.text                     int y = codes.indexof(line);                     txttitle.text = codes[y+1].substring(codes[y + 1].indexof(">") + 1, codes[y + 1].length - codes[y + 1].indexof(">") - 6);                     txtcreatedat.text = codes[y + 3].substring(codes[y + 3].indexof(">") + 1, codes[y + 3].length - codes[y + 3].indexof(">") - 6);                     txtcreatedby.text = codes[y + 4].substring(codes[y + 4].indexof(">") + 1, codes[y + 4].length - codes[y + 4].indexof(">") - 6);                      break;                 }               } 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -