QAF 3.1.0-RC2 chrome driver running 88 version

88 views
Skip to first unread message

Ramana Murthy

unread,
Feb 4, 2022, 12:38:41 AM2/4/22
to qaf users
Hi Cjayswal,

QAF latest version working fine in  home laptop ( no restriction to download ). Under the VPN QAT latest version was opening chrome driver 88 and trying use that on current version chrome 98.

How to stop the  automatic driver executables (set manage.driver.executable =false).

After manage.driver.executable =false  the script failed due to useing old  chrome driver 88.

Please help to reslove the issue.

Regards,
Ramana

cjayswal

unread,
Feb 4, 2022, 1:13:36 PM2/4/22
to qaf users
If you are disabling driver manager by setting  manage.driver.executable =false you need to download driver executable compatible to your browser version and set  path using system property.

Webdriver required driver executable path to be provided using respective property specified by underlying driver. Most of the case the property is webdriver.<drivername>.driver. For chrome the property is webdriver.chrome.driver. It need to set as system property. When you are using qaf, it provides way to set that property through properties file. So the value will be path to chrome driver executable. For examaple:

webdriver.chrome.driver=c:/downloads/chromedriver.exe

if you have placed driver executable somewhere in your project directory you can provide relative path. For example driver executable is under <project_dir>/servers/chromedriver.exe then you can set relative path as below:

webdriver.chrome.driver=servers/chromedriver.exe

Note: for setting driver executable path for drivers other than chrome through property file, you need to add system prefix. For instance:

system.webdriver.gecko.driver=<gecko-driver-executable-path>
system.webdriver.ie.driver=<ie-driver-executable-path>
system.webdriver.edge.driver=<edge-driver-executable-path>
ગુરુવાર, 3 ફેબ્રુઆરી, 2022ના રોજ 09:38:41 PM UTC-8 વાગ્યે nelap...@gmail.com દ્વારા આમ લખવામાં આવ્યું હતું:

Ramana Murthy

unread,
Feb 4, 2022, 11:17:13 PM2/4/22
to qaf users
Thanks for the input. i had followed the same way.  Please find below  logs while  
set manage.driver.executable =false





failedscreenwithlogs.PNG

Ramana Murthy

unread,
Feb 4, 2022, 11:54:52 PM2/4/22
to qaf users
Adding 
pomfile.PNG

cjayswal

unread,
Feb 5, 2022, 11:55:38 AM2/5/22
to qaf users
 From the screenshot chromeDriver version is 88, which
Chrome version is 97


Driver executable version 88 may not be compatible with the browser version 97. Either downgrade browser or download compatible driver for that version of browser.
Find out  compatible version at https://chromedriver.chromium.org/downloads

શુક્રવાર, 4 ફેબ્રુઆરી, 2022ના રોજ 08:54:52 PM UTC-8 વાગ્યે nelap...@gmail.com દ્વારા આમ લખવામાં આવ્યું હતું:

Ramana Murthy

unread,
Feb 6, 2022, 5:32:12 AM2/6/22
to qaf users
Thank you for input. 
My chrome browser version 98 and chromedriver downloaded the same.  i had  tried in 3 system all showing chrome 88 as default. There is some issue while
manage.driver.executable =false and it is not taking local path of the chrome driver  webdriver.chrome.driver.

Chrome Browser -98
chromedriver - 98
QAF trying use  older  when  manage.driver.executable =false.

Ramana Murthy

unread,
Feb 6, 2022, 5:48:54 AM2/6/22
to qaf users
Thanks for your support. Logs will give more information about the issue (i thing there might code broken while picking local chrome driver)


workingwith_automatiDriverExecutable.PNG
Error_automaticDriverExecutable_false.PNG

cjayswal

unread,
Feb 6, 2022, 4:43:46 PM2/6/22
to qaf users
To set system property through properties file qaf expects "system" prefix. Try setting adding system prefix, for instance, system.webdriver.chrome.driver. Also when setting property value, either use \\ or / as path separator.

રવિવાર, 6 ફેબ્રુઆરી, 2022ના રોજ 02:48:54 AM UTC-8 વાગ્યે nelap...@gmail.com દ્વારા આમ લખવામાં આવ્યું હતું:

Ramana Murthy

unread,
Feb 7, 2022, 9:00:18 AM2/7/22
to qaf users
It is working  when you add system  prefix. Thank you so much

Abdi Teramu

unread,
Feb 9, 2022, 3:19:18 PM2/9/22
to qaf users
I am facing similar issue.  It only launches browser when i set manag.driver.executabel to "True" It is not working with my local driver executable. 

I have set the webdriver property correctly as you can see on the screenshot. 

did we find a solution for this yet ? 
driver.excutable.setup.png

cjayswal

unread,
Feb 9, 2022, 6:43:12 PM2/9/22
to qaf users
if you are not using driver manager, you need to set system property for driver executable. Refer post above.

બુધવાર, 9 ફેબ્રુઆરી, 2022ના રોજ 12:19:18 PM UTC-8 વાગ્યે abdi.t...@gmail.com દ્વારા આમ લખવામાં આવ્યું હતું:
Reply all
Reply to author
Forward
0 new messages