How to choose radiobutton in popup - popup

In my application , I have to choose radio button value (yes or no) after I click on some button in the popup. when I click on the button , user will be navigated to home page of the application, where the user will be displayed with some message in the popup with yes or no value.I have tried the below code " WebElement radioBtn = driver.findElement(By.id("notifyConfirm"));
radioBtn.click(); "..but since the user is navigate from the child page to parent page, I am not able to click on the value in the popup using id....when I execute the script I am getting below error...."Element is not currently visible and so may not be interacted with

Related

Flutter How to make the ready-made Stateless Widget call up things from a list and navigate by ID using the "next" button

I have a problem with the list in the Alert Dialog, the list calls up normally but I would like to change the content by going through the list ID and have it change dynamically when I click "Next" but it only changes when I exit the Dialog and enter it again.
//Button Custom Widget
enter image description here
//MainPage
enter image description here
enter image description here
I have tried calling the list as in the attached image and via Index + 1 pass through but this only works if we exit the alert dialogue

How to redirected to the main page using an elevated button on alert dialog without clicking on the button?

How to redirected to the main page using an elevated button on alert dialog without clicking on the button?
I just want to hover the mouse on the button and it will do the specific action and also redirected to the main page without clicking on the button that will appear on alert dialog box.
How to redirected to the main page using an elevated button on alert dialog without clicking on the button?
I just want to hover the mouse on the button and it will do the specific action and also redirected to the main page without clicking on the button that will appear on alert dialog box.
You can use onHover method of your Button class.
Check documentation example of ElevatedButton page
onHover → ValueChanged<bool>?
Called when a pointer enters or exits the button response area.
final, inherited

How to detect page removal and show confirmation dialog before page remove from the stack in flutter

I want to show confirmation dialog on page removal if user say yes then pop the page or else user stay in same page.
I have bottom navigation bar and on press on any icon it will take the user to respective page but I want to notify the user on leaving the page
Thank you.

how can I disable bootstrap modal on desktop and enable only for mobile/tablets?

enter image description here
We have two user interface, one for desktop and one for mobile, when user gonna login via desktop, then the username input and username password fields will show, and when it turns into mobile view, then both fields will be hidden and the screen shows look like below;
enter image description here
the issue is this, when I try to log in and click on login button, the login will appear ok, but when I click on login via desktop, the modal will appear too, I want to move or display hidden login popup on desktop screen. please answer.
You can handle click event on the button and check whether are input fields visible or not. If not, then show modal programmatically by calling $("#modal").modal('show')
So as default, use your login form as regular form (dont use bootstrap modal) and in JS:
$("#submitbutton").click(function() { //catch button click
if ( !$("#username").is(":visible") ) { //is mobile version?
event.preventDefault(); //dont send form
$("#modal").modal('show'); //but instead, show modal
}
});

How to use MKBANNER in Automic UC4 job scheduler

Here are the instructions:
Begin in the main screen of Applications Manager by clicking the green arrow/play button on the top menu. This displays the Requests screen.
In the Requests screen search box enter mkbanner then click the Request button. This displays the Submit screen.
In the Submit screen click the Select button for a list of available jobs.
Next screen has two columns or list boxes. Scroll through the Unassigned list or enter the Banner job name in the search box. Highlight the job in the Unassigned list to select and click the blue right arrow button to move the job to the Assigned list box. Click OK.
You return to the Submit screen. It's not obvious that you have selected anything because your job name doesn't appear anywhere. It just displays a "Ref= number" in the Prompts box. Just click the Submit button now and you will hopefully see a message, "Job was Successfully submitted: Run ID = 99999". Click the Close button.
Now you should be back in the main screen of Applications Manager. After waiting a while, select the Jobs icon on the top menu. In the search box enter the name of the job you made. It is displayed in the list.
The answer is posted in the above instructions