How to get hidden values in robot framework - robotframework

I'm trying to get text in text-area. But not able get it from xpath. How can I get it from any other way?

You are actually not using the correct xpath. There should be a way to identify the content that is there on the screen. The screenshot shows you are using firepath, so click on the data , or check the source for the divs and ids of the data being displayed, if you inspect that page you can find these details.

Related

Accessing/Viewing table on a webpage

I am very new to web scraping and I am trying to scrape:
https://www.oddsportal.com/soccer/turkey/1-lig-2019-2020/results/
Browser: Chrome
I am trying to scrape the table and then use it in beautifulsoup.
When I click on the table, I am not able to highlight the html for the table and hence, unable to proceed further.
Am I doing it right? Or am I looking at the wrong place for the table?
You need to click "inspect element" at the place I want to inspect and not the general area

Xpath ,element wise conversion

From the following link, I need to express a xpath in terms of div, ul, li.
When I copy xpath with chrome, I get the following:
Example for one the xpath:
/html/body/div[1]/div[2]/div[2]/div[1]/div[2]/div/div/div[1]/div[2]/div[1]/div[1]/div[2]/ul/li[5]/ul/li[5]/span[2]
I tried to figure out the conversion solution, by looking at the details, once you see pressing on F12, but something went wrong.
Here is the link of the web site:
https://www.hurriyetemlak.com/istanbul-sisli-fulya-satilik/daire/7326-1354.
I need to express the xpath of "konut tipi","banyo sayısı" in the provided web link.
appreciate our support
You can use following expression to get the xpath by text values.
$x("//*[contains(text(),'Konut Tipi')]")
In you case it is bringing 2 values, so you need to know which one to choose from.

Absolutely-positioned div not displaying with print stylesheet applied

I am trying to add print functionality to one of our web maps, and am having trouble getting an absolutely-positioned div to display when I print. It displays correctly on my page, even when just the print stylesheet is applied to the page. But when I print it doesn't show up at all.
Rather than trying to add all the code here, I just put up a quick demo page to demonstrate the problem: http://maps.nps.gov/maps/rich/footstepsofhistory. To see the problem:
Load the page
Click on a point on the map
Try to print it
The print capability works exactly as expected, other than the fact that the InfoBox does not display.
Any help is much appreciated, and I can supply more information, if needed.

Showing PDF in a browser and getting the Text selected by the user (flash will do as well)

I want to show a PDF in browser, from which user can select text, showing pdf is very easy i have done this using "pdfviewer" control, now i want to get the selected text which the user selects in the PDF, is there any way to achieve this? i am using asp.net.
Edit: If there is a flash/ flex solution at the client end that will as well, does anyone know about it, i tried one API, but that dint seem to work
You can add a JavaScript PDF action to the page and have it post to an online form.
The PDF Viewer control from Winnovative doesn't offer any text selection APIs at all.
Acrobat's JavaScript engine doesn't either.
Sorry: No.

Can freetextbox display links that were not explicitly added?

I would like to display links that are pasted in as links rather than text but freetextbox does not seem to do this. For instance, if somebody pastes in http://www.stackoverflow.com it looks like a link but shows up only as text. Do I need to convert this myself or is there a setting in the editor to take care of this?
It depends. In most cases, you need to convert it yourself. Sometimes when you copy a link you are actually getting a link and not just the text. But yes, you'll have to get your hands dirty here.

Resources