Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Run not consider configured values at TestNG prop file #1804

Open
sarahelghayaty opened this issue Nov 11, 2024 · 0 comments
Open

[Bug]: Run not consider configured values at TestNG prop file #1804

sarahelghayaty opened this issue Nov 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage needs to be looked at

Comments

@sarahelghayaty
Copy link

Describe the bug
Run not consider configured values at my TestNG prop file and works on the default values
no parallel run at all , also at first test the value get correctly from suite xml and targetOperatingSystem=WINDOWS
then second test still see browser as edge not chrome and os as Linux not windows

Environment

  1. SHAFT_Engine version that exhibits the issue 8.3.20240829
  2. Desktop OS: Windows 10
  3. Desktop Browser (if applicable): [chrome, edge]

Expected behavior
Parallel run should be triggered for both Edge and Chrome

Screenshots
2024-11-11_10h14_35
2024-11-11_10h15_01
2024-11-11_10h15_46
2024-11-11_10h16_19

Log For Second Test
[INFO ] 2024-11-11 10:22:23.813 [main] ReportManager - ================= Open Browsers Method is Started ====================
[INFO ] 2024-11-11 10:22:23.814 [main] ReportManager - Run -> parallel
[INFO ] 2024-11-11 10:22:23.816 [main] ReportManager - Browser Name is MicrosoftEdge
[INFO ] 2024-11-11 10:22:23.816 [main] ReportManager - Execution Address is http://23.24.0.3:4444
[INFO ] 2024-11-11 10:22:23.817 [main] ReportManager - Set Edge Options
[INFO ] 2024-11-11 10:22:23.823 [main] ReportManager - Setting "targetOperatingSystem" property with "LINUX".
[INFO ] 2024-11-11 10:22:23.828 [main] ReportManager - Setting "autoMaximizeBrowserWindow" property with "false".
[INFO ] 2024-11-11 10:22:23.834 [main] ReportManager - Setting "screenshotParams_screenshotType" property with "VIEWPORT".
[INFO ] 2024-11-11 10:22:23.837 [main] ReportManager - Capabilities {acceptInsecureCerts: true, browserName: MicrosoftEdge, goog:loggingPrefs: org.openqa.selenium.logging..., ms:edgeOptions: {args: [--remote-debugging-pipe, --no-sandbox, --window-position=0,0, --window-size=1920,1080, --inprivate, --start-maximized], extensions: [], prefs: {download.default_directory: C:\Nemo_Drive\Projects\Q8\A..., download.prompt_for_download: false, profile.default_content_settings.popups: 0}}, pageLoadStrategy: normal, platformName: linux, timeouts: {pageLoad: 60000, script: 30000}, unhandledPromptBehavior: ignore, webSocketUrl: false}

@sarahelghayaty sarahelghayaty added bug Something isn't working triage needs to be looked at labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage needs to be looked at
Projects
None yet
Development

No branches or pull requests

2 participants