robotframework-appiumlibrary icon indicating copy to clipboard operation
robotframework-appiumlibrary copied to clipboard

Chrome browser on tablet : No application is open

Open ghost opened this issue 8 years ago • 1 comments

Hi, I'm leaving this question here hoping someone struggled in the past with the same issue. I am currently trying to automate tests on Chrome for tablet. What I want to do is :

  • Open chrome on a specific URL (works)
  • Analyse if elements are present and tap on them (struggling at the time I type this)

I already made the robot Framework/appium envirnoment work for automated testing of a similar application on mobile but it's a webview, this webview uses chromium. Based on my previous experience on the mobile, I assumed I could use the same system but for tablet.

Right now my problem is : I open chrome, try to perform actions but the infamous error " The last error was: No application is open" pops up.

I figured there might be a problem with the context so I tried to mess with "driver = self._get_current_application().switch_to.context('NATIVE_APP')" without success for now.

Can someone help me ? I can explain further if needed.

Regards, Martial

ghost avatar Sep 14 '17 13:09 ghost

Hi @marstial ,

I am not sure I understood but, can you use Get Contexts and validate that "HYBRID_VIEW" is there first

serhatbolsu avatar Sep 26 '17 20:09 serhatbolsu

Closing due to inactivity

serhatbolsu avatar Oct 27 '22 08:10 serhatbolsu