Can we automate PDF which is opening in browser

hi ,

i am clicking one link and that link opens new tab which is pdf and i have to click a button which is present in pdf. is there  any way to perform click operation on that particular button

Javed Default Asked on June 13, 2015 in Selenium WebDriver.
Add Comment
1 Answer(s)

Opening a PDF is third party tool.selenium webdriver could not recognize.better use virtual key to open/Close pdf.
using robot method
Robot testRobo = new Robot();
testRobo.keyPress(KeyEvent.VK_ENTER);
testRobo.keyRelease(KeyEvent.VK_ENTER);

Cheers,
Jagadishwar

Jagadishwar Default Answered on June 16, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.