How to handle multiple windows session in the same application?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 752
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 8
Description
I'm using Appium AndroidDriver with Selenium WebDriver (Java) to automate my Power BI windows application. In one scenario after the particular click event New window will get opening up.
I was able to locate the elements & automationID in it, but driver.switchTo().frame("XXXX"); does not switching to that particular window.
After dig into that, I found that the particular frame is not capturing in my current session. Now I have to switch to that frame.
Any inputs??
Environment
- Java client build version or git revision if you use some snapshot:
- Appium server version or git revision if you use some snapshot:
- Desktop OS/version used to run Appium if necessary:
- Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
- Mobile platform/version under test:
- Real device or emulator/simulator:
Details
Please provide more details, if necessary.
Code To Reproduce Issue [ Good To Have ]
Please remember: it's easier to reproduce and fix the bug with sample code.
You can git clone https://github.com/appium/appium/tree/master/sample-code or https://github.com/appium/appium/tree/master/sample-code/apps and reproduce an issue using Java and sample apps.
Also you can create a gist with pasted java code sample or put it here using markdown. About markdown please read Mastering markdown and
Writing on GitHub
Exception Stacktraces
Please create a gist with the pasted stacktrace of the exception thrown by java.
Link To Appium Logs
Please create a gist which is a paste of your full Appium logs, and link them here. Do not paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs as linked gists! It helps to define the problem correctly and clearly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test entry point is named. Start by collecting the omitted environment details, a minimal Java reproduction, Appium logs, and the exact Power BI window or frame behavior; done means the session-switching problem is reproducible and its supported handling is documented or identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- desktop, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100