New answers tagged

1

I can't say for sure yes but I do have a trick I have used in the past. So, you'll want to open the Appium Inspector session. If you can find the selector then you're off to a good start. If the element is "not intractable" you can use the selector to get the size and location. From that you can derive where to Tap(x,y).


1

I would probably find a element you can find and use an offset from that location. See this to get a Point from element: http://appium.io/docs/en/commands/element/attributes/location/ To click on some coordinates: TouchAction touchAction=new TouchAction(driver); touchAction.tap(xPoint, yPoint).perform(); Code from: https://discuss.appium.io/t/tapping-on-...


0

Why not use a simple existing framework like testRigor? You can not only use the same language interchangeably, but it is very easy to build cross-web-and-mobile test cases. The test would look like this: login generate email and enter into "Email" enter "Password123" into "Password" tap "Sign Up" validate that email had been received check that page ...


0

This is how we solved the exact same problem in Protractor(Selenium): browser.wait(EC.visibilityOf($('.toast-message')), Timeout_Short()).then(function () { $('.toast-message').getAttribute('innerText').then(function (innerText) { //Do your validations }) })


0

One way of implementing this can be creating a class, lets say Actor and let the object of this class hold both webdriver sessions/objects. So, your Actor class can have methods like getWebSession() getMobileSession() storeData(key, value) and getData(key). It will solve your problems of switching between sessions and sharing data between them. Plus it ...


0

No, currently there is no way to pause the application with Appium. I doubt this would help you, cause the pause command probably would also come to late. Maybe this is a functional issue, because if the message dissapears so fast how can the user observe it? I would expect the message to show for X seconds, this should be long enough for an automated test ...


-1

Open the page in Chromes Dev tools, switch to the sources tab, trigger your Toast and stop the page via F8 or the pause button in the left corner of the right section. You'll still be able to select elements in the Elements Tab but any JS on the page will be paused.


-1

You can use below steps to capture that kind of elements Install the selenium IDE in your browser and do the particular test manually and record it using selenium IDE. When the message appear in the page click on that message before disappear. Selenium IDE will capture that element and store it when you click on that element. (you will get notification) ...


0

Try using testRigor. It is as easy as: drag from "signaturePad" with offset "0,0" to "signaturePad" with offset "100,100" tap "Done" Disclaimer: I'm a co-founder of testRigor.


Top 50 recent answers are included