why My inline form not working with iframe? - web-site-project

enter image description here
this is error inline form
my code here....
Embed Inline Form
response get a Quote button than click form and open

Related

robotframework- unable to click a button on a modal dialogue box

when I open a particular webpage it has a EULA form that appears on top of the home page in the form of a modal in HTML/CSS. I have tried the XPath of the accept button but it says element not found also tried using handle alert.
is there a unique way to handle a dialogue box in robotframework?
image of HTML in inspect view
SeleniumLibrary.Set Focus To Element ${button_on_popup_page}
SeleniumLibrary.Click Element ${button_on_popup_page}
I figured it out, shown in the above code. I first set focus to the button and then used the click element. This seemed to work.

How to use code for click to rgeister button

writing my first automation code for register button so after giving locator need to put .click , so that register button could be clicked.like driver.findElements(By.className("ico-register")).click();
but .click is giving error or coming in red color.enter image description here

unable to fetch text from the modal dialog using getText() method before accepting the alert

On clicking this link in the image shared, a modal pop up window opens which i am able to switch to click the OK button but cannot fetch the text present in it. The modal dialog is shared in the screenshot and has no html tags hence i cannot locate
the text in it using any locator.
I tried using driver.switchTo().alert().getText() to fetch the text present in it.

Hide a button in SSRS pdf view but show in online view

I have a button in the SSRS report Report1. This buttons opens other report called DetailReport. In online view of the report for faster rendering the button on report1 opens the DetailReport. But when on pdf view the Button appears on the report, which is of no use.
I have found way to hide and show the entire page by passing parameter.
Using code for visiblity as :
=IIF(Parameters!ShowDetaiReport.Value=true,false,true)
But the button is shown or hidden both online and in pdf.
Is there any way to show button in the online view but hide it when I download pdf or word. Can i replace the Button with report itself when I download it.
FYI: I am using SSRS 2012
You can check to see what type of report is being rendered using the Globals!RenderFormat Built-in Field. You can either use .Name to check for a specific render format - such as PDF or Excel - or you can simply use .IsInteractive to check if the user can actually click things.
You can apply this check in the Button's Visibility -> Show or hide based on an expression property value as follows: =iif(Globals!RenderFormat.IsInteractive, False, True)
If you want to test this without exporting your reports, you can preview in Print Layout, which isn't interactive.

PDF creation with page refresh

I have a page with a viewPanel and a dialog. When an item in the viewPanel is clicked, the dialog opens, prompting the user to make changes to that item, and offering them the option to generate a report of the item in PDF format.
At first, I tried putting the PDF creation onto a button, as described here: http://www.eknori.de/2011-10-25/xpages-to-pdf-with-itext/ However, whenever the button is pressed, I get a "NotFoundError: DOM Exception 8" which seems to stem from the dojo JS. So currently I have an alternative whereby the button simply sets some sessionScope variables and opens a pdf.xsp XPage, where the variables are read back and the PDF is created.
The PDF gets created correctly, but it also means that the page that the user is on won't be refreshed to display their new change in the viewPanel. I've tried adding page redirects at the bottom of the XPage which creates the PDF, but with no luck.
So, how can I create a PDF and prompt a user to download it, but also refresh the page that they are currently on?
Are you isseuing an partial refresh on the button to hide your dialog and to execute the code for pdf generation? If so you I think that there is your problem. What you could do is to do a partial refresh on the onClose() method of the dialog to refresh the viewpanel. In the clientside onunload method you could open a so called xAgent which renders the pdf for you in a new window (window.open(pdf.xsp?docid=xxx). Take a look here: NotesIn9: 039 Creating PDF’s with XPages Part 2
Of cours the problem with this approach is that when you have a button / image in yoru viewpanel row that displays if the report has been created is not shown because the xagent runs after the / during the time the viewpanel row is being refreshed.