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

Openfin automation with selenium #1

Open
abhimohit88 opened this issue May 5, 2017 · 3 comments
Open

Openfin automation with selenium #1

abhimohit88 opened this issue May 5, 2017 · 3 comments

Comments

@abhimohit88
Copy link

I have one openfin application and I want to automate that application.
i m using below steps :
1- open chrome driver and open a chrome blank browser
2- launch the openfin application
3- use driver method to identify the objects in the application.

I want to know if I m doing anything wrong because I m not able to identify any objects

Do I need to change anything in the json file before running the 2nd step

@wenjunche
Copy link
Contributor

Hello

Please take a look at Guidelines in README of this project about calling ChromeOptions.setBinary with RunOpenFin.bat. By default, ChromeDriver starts Chrome browser. Your code needs to override the default behavior by calling ChromeOptions.setBinary. RunOpenFin.bat launches OpenFin RVM and Runtime, instead of Chrome browser.

This repo has examples for 3 different Javascript Selenium bindings. Please take a look at the one that matches your test case and let us know if you have any questions.

Thanks
Wenjun

@abhimohit88
Copy link
Author

Hi Wenjun,

Thanks for your quick reply.

I have couple of concerns:

1- I m using robot framework with python , is it possible to automate openfin with this framework

2- I checked with my developer and they are saying that they don't use openfinRVM in development of my application.

I have tried to refer the repo but I m getting an error as "" chrome not reachable"" which indicates that my debugging port is not set properly and my application is using no sand

@wenjunche
Copy link
Contributor

Hello

I don't have any experience with Robot. It looks like there is a Selenium2Library library for the framework. I think as long as you can pass remote_debuging_port to OpenFin Runtime properly, it should work.

Without using OpenFinRVM, how do your developers pass remote_debuging_port, generated by ChromeDriver, to OpenFin Runtime ?

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

No branches or pull requests

2 participants