i m testing a IOS Application where there is a scenario in which a button is in UICellView , so there is a hidden button which comes in existence when you click on that UICellView .
so i able to click on that but not able to get that button when the test suit is running and get an error that element is not found
also Appium inspector did’t detect the element untill i did’t start the new session.
help me out…
if you need screenshots then i can also share them with you guys.
@Akhilesh_Chauhan, yes please share the screenshots and if possible the test that you are trying.
@email2vimalraj
hey… Thnkew for replying
screenshots are
so the flow is
choose address then click on payment mode and then the button proceed securely comes up
m not able to get this button because the property of this is hidden
Did you try implementing some Thread.sleep to wait for the button to appear?
Yeah bro , i tried this all , infect inspector is not able to get the button during the Run , this only gets this button when i restart the inspector on that screen.
Try to get page source, it normally “forces” xml to refresh its content:
driver.getPageSource();
And then look for the button you want again.