Automation Framework

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Automation Framework

Postby ppandian » Fri Feb 13, 2015 9:15 am

Hi,
The tutorial you have provided is good but it is for Cef based Web application.
I have CefSharp based wpf application using webView.
I have a sample code that I could upload it for your reference.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby magreenblatt » Fri Feb 13, 2015 11:37 am

ppandian wrote:Hi,
The tutorial you have provided is good but it is for Cef based Web application.
I have CefSharp based wpf application using webView.
I have a sample code that I could upload it for your reference.

Thanks
Pushpa

Provided you are seeking to automate browser content it should not matter what the wrapper language is. You just need to pass through the `--remote-debugging-port` command-line flag so that ChromeDriver can connect.

If you want to automate something outside of the browser then you can potentially add JavaScript bindings that expose access to those elements. For more information on JavaScript bindings: https://code.google.com/p/chromiumembed ... ntegration
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: Automation Framework

Postby ppandian » Fri Feb 13, 2015 2:09 pm

If I use Angular JS for the client what would be your recommendation.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby ppandian » Mon Feb 16, 2015 8:24 am

Hi,
Do you have a sample automation code to access the elements from outside of a browser.
Otherwise, I have a sample app, I can provide it to you. Do you have a server for me to place the code.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby ppandian » Tue Mar 03, 2015 8:23 am

Hi,
Wanted to check if you have an update on this issue.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby ppandian » Wed Mar 04, 2015 8:21 am

Hi,
I have a sample app with a simple html page that counts the number of times you click the button and mirrors the text input (using angularjs).

Could you please give your suggestions for automation.

I could not attach the sample code. Is there any server I could post it.

I am trying to automate an application that was written in similar way.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby amaitland » Wed Apr 01, 2015 5:30 am

What version of CefSharp are you using? You reference webView, which was the control name in CefSharp1. If your are still using CefSharp1 then you'll need to upgrade to use ChromeDriver.

Are you looking for automation for testing or automating application type features?
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am

Re: Automation Framework

Postby ppandian » Tue Apr 07, 2015 10:30 am

Hi
CefSharp3 is used. I am looking for to automate application type features.

We do not use chromedriver engine.

I have a small sample code to replicate the issue in automation. If you would like to see I could post it.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

Re: Automation Framework

Postby amaitland » Thu Apr 09, 2015 5:19 am

Better to post code examples as something like a https://gist.github.com/
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1291
Joined: Wed Jan 14, 2015 2:35 am

Re: Automation Framework

Postby ppandian » Fri Apr 10, 2015 12:53 pm

Hi,
Thanks for taking a look into this issue. Is there any other options. The sample project is about 10MB. A html page counts the number of times clicked the button and mirrors the text input (using angularjs) so that we could potentially use automation tools to test it.

Thanks
Pushpa
ppandian
Techie
 
Posts: 21
Joined: Wed Jan 14, 2015 12:56 pm

PreviousNext

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 35 guests