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

Unable to launch Mobile web browser [in Perfecto] for IOS/Android #446

Open
5 tasks
CharithaL opened this issue Sep 4, 2023 · 3 comments
Open
5 tasks

Comments

@CharithaL
Copy link

CharithaL commented Sep 4, 2023

QAF Version

Note: only the latest version is supported

Steps To Reproduce

Used :
Selenium version : 4.11.0
QAF version : 4.0.0-RC2 [qaf,qaf-support,qaf-support-mobile]
java_client : 8.5.1
OpenJDK : 17

1.  Provided below in testNG.xml
     target.browser=safari
     target.cloud=perfecto
     target.os=iOS
     target.device=mobile
2. Provided below in perfecto.properties file under clouds folder : 
    remote.server = http://<cloudName>.perfectomobile.com/nexperiance/perfectomobile/wd/hub
    remote.port = 4732
    driver.name=appiumRemoteDriver
    appium.additional.capabilities={"perfecto:options":{"browserName":"Safari","securityToken":" ";"javascriptEnabled":true,"openDeviceTimeout":"5.0","platformName":"iOS"}}

Expected behavior

Should be able to create Driver Instance

Actual behavior

Unable to create driver instance Could not start a new session. Response code : 500 Message : Access denied - Bad Credentials. In the raw project the same credentials are working fine

Is the issue reproducible on runner?

  • QAS
  • Maven
  • Gradle
  • Ant
  • Eclipse

Test case sample

Please, share the test case (as small as possible) which shows the issue

@cjayswal
Copy link
Member

cjayswal commented Sep 5, 2023

According to the error message Access denied - Bad Credentials, check security token. If doesn't work with correct security token connect with perfecto team to get help on how to provide credentials to access perfecto cloud.

@CharithaL
Copy link
Author

Hi cjayswal,

Thanks for your quick turn around. Now we are able to connect to perfecto, but unable to launch the URL using QAFExtendedWebDriver. Can you please help us on this.

@cjayswal
Copy link
Member

cjayswal commented Sep 6, 2023

@CharithaL this is not right place for implementation help. It is recommended to post questions with details (your current configuration, relevant code, execution logs etc) in users group or in stack-overflow with qaf tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants