How to Automate if PDF is a part of a webpage (iframe) using Selenium? -


i trying automate 1 of functionality through selenium.

i have field, report number.

if report number entered operator, bring out patient name , id , below pdf getting loaded part of iframe..

looks pdf embedded iframe.

 <iframe id="pdfframe" width="100%" height="800px" src="pdf.aspx?template=&amp;actionid=1"></iframe> 

i wanted enter few fields doctor whom want meet, alloted time etc in embedded pdf , once details filled if click send.. go doctor email , patient email..

i can able enter report number in webpage.. swithcto option can enter values in pdf??? because need xpath enter it. no clue find xpath pdf field.. possible or not??

to enter iframe need driver.switchto().frame("iframe"); , can interact dom in iframe. in case want interact pdf. pdf content not part of dom. browser rendering pdf it's own inbuilt tools , not attached actual dom not able interact pdf using selenium.

there option of when need interact pdf can use microsoft's coded ui or autoit


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -