Capture innerText value and write to file
Posted: Wed Nov 12, 2014 6:14 pm
HI Guys,
We have a web based application at work that allows us to pull up records for individual customers. I've recorded the automation script that logs in, searches for the customer (passing variable from CSV file) then navigates to the page I need to capture information from. I just don't know how to capture the text I need and write the value to a file, so at the end of the day each customer has a line in a file with the value i need.
I have some basic VB understanding from courses way back in the college days. Any help?
Below is the xPath from Ranorex Spy.
/form[@title~'^Security\ Management\ Help\ ']/element[@class='Frame Tab' and @instance='0']/container/container/dom/body/div[@id='content']/div/iframe/body/div[@id='j_idt5']/div[@id='j_idt5_content']/table/tbody/tr/td[@innertext=' I_NEED_THIS_VALUE']
We have a web based application at work that allows us to pull up records for individual customers. I've recorded the automation script that logs in, searches for the customer (passing variable from CSV file) then navigates to the page I need to capture information from. I just don't know how to capture the text I need and write the value to a file, so at the end of the day each customer has a line in a file with the value i need.
I have some basic VB understanding from courses way back in the college days. Any help?
Below is the xPath from Ranorex Spy.
/form[@title~'^Security\ Management\ Help\ ']/element[@class='Frame Tab' and @instance='0']/container/container/dom/body/div[@id='content']/div/iframe/body/div[@id='j_idt5']/div[@id='j_idt5_content']/table/tbody/tr/td[@innertext=' I_NEED_THIS_VALUE']