No, They are not in iFrame. Please find the HTML from stating in the attachment.
Note: Sometimes only one Lightbox (Lightbox: Scan Quantity greater than expected for this Receipt Container.) comes where i am able to easily click on it with below xpath: //div[3]/div/div/div[3]/div/div/button
I have attached both my test case and base class.
Please find the code where i am trying to click on the Close icon.
if (getElement1("ScanQuantitygreater_xpath")){
click1("ScanQuantitygreater_xpath");}
if (getElement1("ScanPrintAlertbeforegreater_xpath"))
{
click1("ScanPrintAlertbeforegreater_xpath");
}
The old one had lot of unnecessary methods, removed them and attached the updated file
I am really sorry .. It is our customer's application, I should not share.
Is there any other way?
yes, I have it in my laptop. currently I am office. Morning or evening I can show the application from home.