Hi,
I have a scenario where I click on a link it opens a new browser which is not a child browser. I am not able to get hold of that new browser opened and webaii does not understands/learns the new browser opened.
I tired using "Manager.SetNewBrowserTracking(true);" but no luck.
sample code :
// to open the new browser
browser.Page.elements.AddLink.Click();
// Track the browser
Manager.SetNewBrowserTracking(true);
//Click on the Cancel button on new browser opened
browser.newpage.elements.Canclebutton.click();
Getting the below error:
"Test method SandBox.JDSection threw exception:
ErrorHandling.WrongPageException: Method/Property only valid on /admin/add_questions.aspx?
Currently on https://<<Domain>>/display_form.aspx?form_id=649&form_type=1&position_id=1&display_type=preview".
Please suggest some inputs. I am struck at this point.
Thanks & Regards,
Mahendra
I have a scenario where I click on a link it opens a new browser which is not a child browser. I am not able to get hold of that new browser opened and webaii does not understands/learns the new browser opened.
I tired using "Manager.SetNewBrowserTracking(true);" but no luck.
sample code :
// to open the new browser
browser.Page.elements.AddLink.Click();
// Track the browser
Manager.SetNewBrowserTracking(true);
//Click on the Cancel button on new browser opened
browser.newpage.elements.Canclebutton.click();
Getting the below error:
"Test method SandBox.JDSection threw exception:
ErrorHandling.WrongPageException: Method/Property only valid on /admin/add_questions.aspx?
Currently on https://<<Domain>>/display_form.aspx?form_id=649&form_type=1&position_id=1&display_type=preview".
Please suggest some inputs. I am struck at this point.
Thanks & Regards,
Mahendra